Searched refs:ConstantOffset (Results 1 – 4 of 4) 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/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | AddrModeMatcher.cpp | 221 int64_t ConstantOffset = 0; in MatchOperationAddr() local 229 ConstantOffset += SL->getElementOffset(Idx); in MatchOperationAddr() 233 ConstantOffset += CI->getSExtValue()*TypeSize; in MatchOperationAddr() 249 AddrMode.BaseOffs += ConstantOffset; in MatchOperationAddr() 250 if (ConstantOffset == 0 || TLI.isLegalAddressingMode(AddrMode, AccessTy)){ in MatchOperationAddr() 255 AddrMode.BaseOffs -= ConstantOffset; in MatchOperationAddr() 264 AddrMode.BaseOffs += ConstantOffset; in MatchOperationAddr() 289 AddrMode.BaseOffs += ConstantOffset; in MatchOperationAddr()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 3237 int64_t ConstantOffset = 0; in matchOperationAddr() local 3244 ConstantOffset += SL->getElementOffset(Idx); in matchOperationAddr() 3248 ConstantOffset += CI->getSExtValue()*TypeSize; in matchOperationAddr() 3264 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr() 3265 if (ConstantOffset == 0 || in matchOperationAddr() 3271 AddrMode.BaseOffs -= ConstantOffset; in matchOperationAddr() 3280 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr() 3305 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringX86BaseImpl.h | 7768 Constant *ConstantOffset = Ctx->getConstantInt32(Offset); 7769 return X86OperandMem::create(Func, Ty, Loc, ConstantOffset);
|