Home
last modified time | relevance | path

Searched refs:ConstantOffset (Results 1 – 2 of 2) sorted by relevance

/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDSeparateConstOffsetFromGEP.cpp474 APInt ConstantOffset = find(BO->getOperand(0), SignExtended, ZeroExtended, in findInEitherOperand() local
481 if (ConstantOffset != 0) return ConstantOffset; in findInEitherOperand()
482 ConstantOffset = find(BO->getOperand(1), SignExtended, ZeroExtended, in findInEitherOperand()
487 ConstantOffset = -ConstantOffset; in findInEitherOperand()
488 return ConstantOffset; in findInEitherOperand()
502 APInt ConstantOffset(BitWidth, 0); in find() local
505 ConstantOffset = CI->getValue(); in find()
509 ConstantOffset = findInEitherOperand(BO, SignExtended, ZeroExtended); in find()
511 ConstantOffset = find(U->getOperand(0), /* SignExtended */ true, in find()
518 ConstantOffset = in find()
[all …]
/NextBSD/contrib/llvm/lib/CodeGen/
HDCodeGenPrepare.cpp2763 int64_t ConstantOffset = 0; in MatchOperationAddr() local
2770 ConstantOffset += SL->getElementOffset(Idx); in MatchOperationAddr()
2774 ConstantOffset += CI->getSExtValue()*TypeSize; in MatchOperationAddr()
2790 AddrMode.BaseOffs += ConstantOffset; in MatchOperationAddr()
2791 if (ConstantOffset == 0 || in MatchOperationAddr()
2797 AddrMode.BaseOffs -= ConstantOffset; in MatchOperationAddr()
2806 AddrMode.BaseOffs += ConstantOffset; in MatchOperationAddr()
2831 AddrMode.BaseOffs += ConstantOffset; in MatchOperationAddr()