Searched refs:ConstantOffset (Results 1 – 7 of 7) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 576 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 D | Operator.cpp | 149 APInt &ConstantOffset) const { in collectOffset() 156 ConstantOffset += Index * IndexedSize; in collectOffset()
|
| H A D | Instructions.cpp | 1804 APInt &ConstantOffset) const { in collectOffset() 1807 ConstantOffset); in collectOffset()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Operator.h | 584 APInt &ConstantOffset) const;
|
| H A D | Instructions.h | 1139 APInt &ConstantOffset) const;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 4565 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 D | Local.cpp | 1779 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()
|