Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp576 APInt ConstantOffset = find(BO->getOperand(0), SignExtended, ZeroExtended, in findInEitherOperand() local
583 if (ConstantOffset != 0) return ConstantOffset; in findInEitherOperand()
589 ConstantOffset = find(BO->getOperand(1), SignExtended, ZeroExtended, in findInEitherOperand()
594 ConstantOffset = -ConstantOffset; in findInEitherOperand()
597 if (ConstantOffset == 0) in findInEitherOperand()
600 return ConstantOffset; in findInEitherOperand()
614 APInt ConstantOffset(BitWidth, 0); in find() local
617 ConstantOffset = CI->getValue(); in find()
621 ConstantOffset = findInEitherOperand(BO, SignExtended, ZeroExtended); in find()
623 ConstantOffset = in find()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DOperator.cpp149 APInt &ConstantOffset) const { in collectOffset()
156 ConstantOffset += Index * IndexedSize; in collectOffset()
H A DInstructions.cpp1804 APInt &ConstantOffset) const { in collectOffset()
1807 ConstantOffset); in collectOffset()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DOperator.h584 APInt &ConstantOffset) const;
H A DInstructions.h1139 APInt &ConstantOffset) const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4565 int64_t ConstantOffset = 0; in matchOperationAddr() local
4572 ConstantOffset += SL->getElementOffset(Idx); in matchOperationAddr()
4584 ConstantOffset += CVal.getSExtValue() * TypeSize; in matchOperationAddr()
4602 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr()
4603 if (ConstantOffset == 0 || in matchOperationAddr()
4613 ConstantOffset > 0) { in matchOperationAddr()
4629 LargeOffsetGEP = std::make_pair(GEP, ConstantOffset); in matchOperationAddr()
4632 AddrMode.BaseOffs -= ConstantOffset; in matchOperationAddr()
4641 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr()
4668 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLocal.cpp1779 APInt ConstantOffset(BitWidth, 0); in getSalvageOpsForGEP() local
1780 if (!GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) in getSalvageOpsForGEP()
1794 DIExpression::appendOffset(Opcodes, ConstantOffset.getSExtValue()); in getSalvageOpsForGEP()