Searched refs:ConstantOffset (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 513 APInt ConstantOffset = find(BO->getOperand(0), SignExtended, ZeroExtended, in findInEitherOperand() local 520 if (ConstantOffset != 0) return ConstantOffset; in findInEitherOperand() 521 ConstantOffset = find(BO->getOperand(1), SignExtended, ZeroExtended, in findInEitherOperand() 526 ConstantOffset = -ConstantOffset; in findInEitherOperand() 527 return ConstantOffset; in findInEitherOperand() 541 APInt ConstantOffset(BitWidth, 0); in find() local 544 ConstantOffset = CI->getValue(); in find() 548 ConstantOffset = findInEitherOperand(BO, SignExtended, ZeroExtended); in find() 550 ConstantOffset = find(U->getOperand(0), /* SignExtended */ true, in find() 557 ConstantOffset = in find() [all …]
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 3179 int64_t ConstantOffset = 0; in matchOperationAddr() local 3186 ConstantOffset += SL->getElementOffset(Idx); in matchOperationAddr() 3190 ConstantOffset += CI->getSExtValue()*TypeSize; in matchOperationAddr() 3206 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr() 3207 if (ConstantOffset == 0 || in matchOperationAddr() 3213 AddrMode.BaseOffs -= ConstantOffset; in matchOperationAddr() 3222 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr() 3247 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr()
|