/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFPreserveStaticOffset.cpp | 210 GEPChainInfo &GEP, T *Insn) { in fillCommonArgs() 224 static Instruction *makeGEPAndLoad(Module *M, GEPChainInfo &GEP, in makeGEPAndLoad() 244 static Instruction *makeGEPAndStore(Module *M, GEPChainInfo &GEP, in makeGEPAndStore() 283 auto *GEP = in reconstructGEP() local 291 static void reconstructCommon(CallInst *Call, GetElementPtrInst *GEP, T *Insn, in reconstructCommon() 305 GetElementPtrInst *GEP = reconstructGEP(Call, 0); in reconstructLoad() local 316 GetElementPtrInst *GEP = reconstructGEP(Call, 1); in reconstructStore() local 337 if (!all_of(GEPs, [=](GetElementPtrInst *GEP) { in foldGEPChainAsStructAccess() 350 GetElementPtrInst *GEP = *Iter; in foldGEPChainAsStructAccess() local 409 return GEPs.empty() || all_of(GEPs, [=](GetElementPtrInst *GEP) { in allZeroIndices() [all …]
|
H A D | BPFASpaceCastSimplifyPass.cpp | 30 auto *GEP = dyn_cast<GetElementPtrInst>(OuterCast->getPointerOperand()); in match() local 52 auto *GEP = cast<GetElementPtrInst>(OuterCast->getPointerOperand()); in rewrite() local
|
H A D | BPFAbstractMemberAccess.cpp | 429 auto *GEP = GetElementPtrInst::CreateInBounds(getBaseElementType(Call), in replaceWithGEP() local 605 void BPFAbstractMemberAccess::traceGEP(GetElementPtrInst *GEP, CallInst *Parent, in traceGEP() 1128 auto *GEP = GetElementPtrInst::Create(Type::getInt8Ty(BB->getContext()), in transformGEPChain() local
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GetElementPtrTypeIterator.h | 123 gep_type_begin(const User * GEP) gep_type_begin() argument 130 gep_type_end(const User * GEP) gep_type_end() argument 134 gep_type_begin(const User & GEP) gep_type_begin() argument 141 gep_type_end(const User & GEP) gep_type_end() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalSplit.cpp | 58 GEPOperator *GEP; in splitGlobal() member 68 auto *GEP = dyn_cast<GEPOperator>(U); in splitGlobal() local
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | TypeFinder.cpp | 79 if (auto *GEP = dyn_cast<GetElementPtrInst>(&I)) in run() local 174 if (auto *GEP = dyn_cast<GEPOperator>(V)) in incorporateValue() local
|
H A D | Value.cpp | 635 if (auto *GEP = dyn_cast<GEPOperator>(V)) { in stripPointerCastsAndOffsets() local 731 if (auto *GEP = dyn_cast<GEPOperator>(V)) { in stripAndAccumulateConstantOffsets() local 996 getOffsetFromIndex(const GEPOperator *GEP, unsigned Idx, const DataLayout &DL) { in getOffsetFromIndex()
|
H A D | Operator.cpp | 43 auto *GEP = cast<GEPOperator>(this); in hasPoisonGeneratingFlags() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | NaryReassociate.cpp | 328 static bool isGEPFoldable(GetElementPtrInst *GEP, in isGEPFoldable() 335 Instruction *NaryReassociatePass::tryReassociateGEP(GetElementPtrInst *GEP) { in tryReassociateGEP() 353 GetElementPtrInst *GEP) { in requiresSignExtension() 360 NaryReassociatePass::tryReassociateGEPAtIndex(GetElementPtrInst *GEP, in tryReassociateGEPAtIndex() 395 NaryReassociatePass::tryReassociateGEPAtIndex(GetElementPtrInst *GEP, in tryReassociateGEPAtIndex()
|
H A D | SeparateConstOffsetFromGEP.cpp | 781 Value *ConstantOffsetExtractor::Extract(Value *Idx, GetElementPtrInst *GEP, in Extract() 798 int64_t ConstantOffsetExtractor::Find(Value *Idx, GetElementPtrInst *GEP) { in Find() 807 GetElementPtrInst *GEP) { in canonicalizeArrayIndicesToIndexSize() 826 SeparateConstOffsetFromGEP::accumulateByteOffset(GetElementPtrInst *GEP, in accumulateByteOffset() 973 bool SeparateConstOffsetFromGEP::reorderGEP(GetElementPtrInst *GEP, in reorderGEP() 1016 bool SeparateConstOffsetFromGEP::splitGEP(GetElementPtrInst *GEP) { in splitGEP() 1189 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I)) in run() local
|
H A D | StraightLineStrengthReduce.cpp | 138 GEP, // &B[..][i * S][..] enumerator 281 static bool isGEPFoldable(GetElementPtrInst *GEP, in isGEPFoldable() 308 static bool hasOnlyOneNonZeroIndex(GetElementPtrInst *GEP) { in hasOnlyOneNonZeroIndex() 490 GetElementPtrInst *GEP) { in factorArrayIndex() 523 GetElementPtrInst *GEP) { in allocateCandidatesAndFindBasisForGEP()
|
H A D | JumpTableToSwitch.cpp | 45 static std::optional<JumpTableTy> parseJumpTable(GetElementPtrInst *GEP, in parseJumpTable() 165 auto *GEP = dyn_cast<GetElementPtrInst>(L->getPointerOperand()); in run() local
|
H A D | LoopFlatten.cpp | 662 auto CheckGEP = [&](GetElementPtrInst *GEP, Value *GEPOperand) { in checkOverflow() 689 if (auto *GEP = dyn_cast<GetElementPtrInst>(V)) in checkOverflow() local 693 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) in checkOverflow() local 805 if (auto *GEP = dyn_cast<GetElementPtrInst>(V)) { in DoFlattenLoopPair() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | RelLookupTableConverter.cpp | 36 GetElementPtrInst *GEP = in shouldConvertToRelLookupTable() local 131 GetElementPtrInst *GEP = in convertToRelLookupTable() local
|
H A D | CodeExtractor.cpp | 1044 GetElementPtrInst *GEP = GetElementPtrInst::Create( in constructFunction() local 1228 GetElementPtrInst *GEP = GetElementPtrInst::Create( in emitCallAndSwitchStatement() local 1266 GetElementPtrInst *GEP = GetElementPtrInst::Create( in emitCallAndSwitchStatement() local 1387 GetElementPtrInst *GEP = GetElementPtrInst::Create( in emitCallAndSwitchStatement() local
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Local.cpp | 23 User *GEP, bool NoAssumptions) { in emitGEPOffset()
|
H A D | PHITransAddr.cpp | 201 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in translateSubExpr() local 380 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in insertTranslatedSubExpr() local
|
H A D | TypeMetadataUtils.cpp | 61 } else if (auto GEP = dyn_cast<GetElementPtrInst>(User)) { in findLoadCallsAtConstantOffset() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 231 if (auto *GEP = dyn_cast<GetElementPtrInst>(Ptr)) { in decomposePtr() local 256 GetElementPtrInst *GEP, in decomposeGEP() 744 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr); in tryCreateIncrementingGatScat() local 1188 Value *MVEGatherScatterLowering::foldGEP(GetElementPtrInst *GEP, in foldGEP() 1216 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Address); in optimiseAddress() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPerfHintAnalysis.cpp | 163 if (auto GEP = dyn_cast<GetElementPtrInst>(V)) { in isIndirectAccess() local 258 } else if (auto *GEP = dyn_cast<GetElementPtrInst>(&I)) { in visit() local
|
H A D | AMDGPUPromoteAlloca.cpp | 391 auto *GEP = dyn_cast<GetElementPtrInst>(Ptr->stripPointerCasts()); in calculateVectorIndex() local 400 static Value *GEPToVectorIndex(GetElementPtrInst *GEP, AllocaInst *Alloca, in GEPToVectorIndex() 815 if (auto *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in tryPromoteAllocaToVector() local 849 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr); in tryPromoteAllocaToVector() local 1215 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) { in collectUsesWithPtrTypes() local
|
H A D | AMDGPULowerModuleLDSPass.cpp | 894 auto GEP = ConstantExpr::getGetElementPtr( in lowerDynamicLDSVariables() local 1245 Constant *GEP = ConstantExpr::getGetElementPtr(LDSTy, SGV, GEPIdx, true); in createLDSVariableReplacement() local 1290 Constant *GEP = Replacement.LDSVarsToConstantGEP.at(GV); in replaceLDSVariablesWithStruct() local 1353 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) { in refineUsesAlignmentAndAA() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILPrepare.cpp | 224 if (auto GEP = dyn_cast<GetElementPtrInst>(&I)) { in runOnModule() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOCtxProfLowering.cpp | 301 auto *GEP = Builder.CreateGEP( in lowerFunction() local
|
H A D | SanitizerCoverage.cpp | 337 auto GEP = in CreateSecStartEnd() local 675 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&Inst)) in instrumentFunction() local 871 for (auto *GEP : GepTraceTargets) { in InjectTraceForGep() local
|