Searched refs:ConstantOffset (Results 1 – 6 of 6) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 554 APInt ConstantOffset = find(BO->getOperand(0), SignExtended, ZeroExtended, in findInEitherOperand() local 561 if (ConstantOffset != 0) return ConstantOffset; in findInEitherOperand() 562 ConstantOffset = find(BO->getOperand(1), SignExtended, ZeroExtended, in findInEitherOperand() 567 ConstantOffset = -ConstantOffset; in findInEitherOperand() 568 return ConstantOffset; in findInEitherOperand() 582 APInt ConstantOffset(BitWidth, 0); in find() local 585 ConstantOffset = CI->getValue(); in find() 589 ConstantOffset = findInEitherOperand(BO, SignExtended, ZeroExtended); in find() 591 ConstantOffset = in find() 595 ConstantOffset = find(U->getOperand(0), /* SignExtended */ true, in find() [all …]
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 3835 int64_t ConstantOffset = 0; in matchOperationAddr() local 3842 ConstantOffset += SL->getElementOffset(Idx); in matchOperationAddr() 3846 ConstantOffset += CI->getSExtValue() * TypeSize; in matchOperationAddr() 3862 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr() 3863 if (ConstantOffset == 0 || in matchOperationAddr() 3870 ConstantOffset > 0) { in matchOperationAddr() 3890 LargeOffsetGEP = std::make_pair(GEP, ConstantOffset); in matchOperationAddr() 3893 AddrMode.BaseOffs -= ConstantOffset; in matchOperationAddr() 3902 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr() 3927 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);
|