Searched refs:ConstantOffset (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 582 if (ConstantOffset != 0) return ConstantOffset; in findInEitherOperand() 593 ConstantOffset = -ConstantOffset; in findInEitherOperand() 596 if (ConstantOffset == 0) in findInEitherOperand() 599 return ConstantOffset; in findInEitherOperand() 622 ConstantOffset = in find() 633 ConstantOffset = in find() 641 if (ConstantOffset != 0) in find() 643 return ConstantOffset; in find() 772 APInt ConstantOffset = in Extract() local 775 if (ConstantOffset == 0) { in Extract() [all …]
|
| H A D | GVN.cpp | 407 APInt ConstantOffset(BitWidth, 0); in createGEPExpr() local 409 GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) { in createGEPExpr() 420 if (!ConstantOffset.isZero()) in createGEPExpr() 422 lookupOrAdd(ConstantInt::get(Context, ConstantOffset))); in createGEPExpr()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Operator.cpp | 174 APInt &ConstantOffset) const { in collectOffset() 181 ConstantOffset += Index * IndexedSize; in collectOffset()
|
| H A D | Instructions.cpp | 1848 APInt &ConstantOffset) const { in collectOffset() 1851 ConstantOffset); in collectOffset()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Operator.h | 510 APInt &ConstantOffset) const;
|
| H A D | Instructions.h | 1133 APInt &ConstantOffset) const;
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 4589 int64_t ConstantOffset = 0; in matchOperationAddr() local 4596 ConstantOffset += SL->getElementOffset(Idx); in matchOperationAddr() 4608 ConstantOffset += CVal.getSExtValue() * TypeSize; in matchOperationAddr() 4626 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr() 4627 if (ConstantOffset == 0 || in matchOperationAddr() 4637 ConstantOffset > 0) { in matchOperationAddr() 4653 LargeOffsetGEP = std::make_pair(GEP, ConstantOffset); in matchOperationAddr() 4656 AddrMode.BaseOffs -= ConstantOffset; in matchOperationAddr() 4665 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr() 4692 AddrMode.BaseOffs += ConstantOffset; in matchOperationAddr()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 210 if (auto *ConstantOffset = in simplifyAMDGCNImageIntrinsic() local 212 if (ConstantOffset->isZero()) { in simplifyAMDGCNImageIntrinsic()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 1824 APInt ConstantOffset(BitWidth, 0); in getSalvageOpsForGEP() local 1825 if (!GEP->collectOffset(DL, BitWidth, VariableOffsets, ConstantOffset)) in getSalvageOpsForGEP() 1839 DIExpression::appendOffset(Opcodes, ConstantOffset.getSExtValue()); in getSalvageOpsForGEP()
|