/llvm-project/llvm/include/llvm/IR/ |
H A D | GetElementPtrTypeIterator.h | 173 inline gep_type_iterator gep_type_begin(const User *GEP) { in gep_type_begin() 180 inline gep_type_iterator gep_type_end(const User *GEP) { in gep_type_end() 184 inline gep_type_iterator gep_type_begin(const User &GEP) { in gep_type_begin() 191 inline gep_type_iterator gep_type_end(const User &GEP) { in gep_type_end()
|
/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFPreserveStaticOffset.cpp | 210 fillCommonArgs(LLVMContext & C,SmallVector<Value * > & Args,GEPChainInfo & GEP,T * Insn) fillCommonArgs() argument 224 makeGEPAndLoad(Module * M,GEPChainInfo & GEP,LoadInst * Load) makeGEPAndLoad() argument 244 makeGEPAndStore(Module * M,GEPChainInfo & GEP,StoreInst * Store) makeGEPAndStore() argument 283 auto *GEP = reconstructGEP() local 291 reconstructCommon(CallInst * Call,GetElementPtrInst * GEP,T * Insn,int Delta) reconstructCommon() argument 305 GetElementPtrInst *GEP = reconstructGEP(Call, 0); reconstructLoad() local 316 GetElementPtrInst *GEP = reconstructGEP(Call, 1); reconstructStore() local 337 __anoncd4470330202(GetElementPtrInst *GEP) foldGEPChainAsStructAccess() argument 350 GetElementPtrInst *GEP = *Iter; foldGEPChainAsStructAccess() local 409 __anoncd4470330302(GetElementPtrInst *GEP) allZeroIndices() argument 441 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) isPointerOperand() local 545 } else if (auto *GEP = dyn_cast<GetElementPtrInst>(Insn)) { rewriteAccessChain() local 616 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) removePAICalls() local [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 [all...] |
H A D | BPFAbstractMemberAccess.cpp | 429 auto *GEP = GetElementPtrInst::CreateInBounds(getBaseElementType(Call), replaceWithGEP() local 605 traceGEP(GetElementPtrInst * GEP,CallInst * Parent,CallInfo & ParentInfo) traceGEP() argument 1128 auto *GEP = GetElementPtrInst::Create(Type::getInt8Ty(BB->getContext()), transformGEPChain() local [all...] |
/llvm-project/llvm/lib/IR/ |
H A D | TypeFinder.cpp | 79 if (auto *GEP = dyn_cast<GetElementPtrInst>(&I)) in run() local 160 if (auto *GEP = dyn_cast<GEPOperator>(V)) 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) getOffsetFromIndex() argument [all...] |
H A D | Operator.cpp | 43 auto *GEP = cast<GEPOperator>(this); in hasPoisonGeneratingFlags() local
|
/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalSplit.cpp | 68 if (!GEP) in splitGlobal() local 58 GEPOperator *GEP; splitGlobal() member [all...] |
/llvm-project/llvm/tools/llvm-reduce/deltas/ |
H A D | ReduceInstructionFlags.cpp | 44 } else if (auto *GEP = dyn_cast<GetElementPtrInst>(&I)) { reduceFlagsInModule() local
|
/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | NaryReassociate.cpp | 328 static bool isGEPFoldable(GetElementPtrInst *GEP, in isGEPFoldable() argument 335 Instruction *NaryReassociatePass::tryReassociateGEP(GetElementPtrInst *GEP) { in tryReassociateGEP() argument 353 requiresSignExtension(Value * Index,GetElementPtrInst * GEP) requiresSignExtension() argument 360 tryReassociateGEPAtIndex(GetElementPtrInst * GEP,unsigned I,Type * IndexedType) tryReassociateGEPAtIndex() argument 395 tryReassociateGEPAtIndex(GetElementPtrInst * GEP,unsigned I,Value * LHS,Value * RHS,Type * IndexedType) tryReassociateGEPAtIndex() argument [all...] |
H A D | SeparateConstOffsetFromGEP.cpp | 781 Extract(Value * Idx,GetElementPtrInst * GEP,User * & UserChainTail) Extract() argument 798 Find(Value * Idx,GetElementPtrInst * GEP) Find() argument 807 canonicalizeArrayIndicesToIndexSize(GetElementPtrInst * GEP) canonicalizeArrayIndicesToIndexSize() argument 826 accumulateByteOffset(GetElementPtrInst * GEP,bool & NeedsExtraction) accumulateByteOffset() argument 973 reorderGEP(GetElementPtrInst * GEP,TargetTransformInfo & TTI) reorderGEP() argument 1016 splitGEP(GetElementPtrInst * GEP) splitGEP() argument 1189 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I)) run() local [all...] |
H A D | JumpTableToSwitch.cpp | 45 static std::optional<JumpTableTy> parseJumpTable(GetElementPtrInst *GEP, in parseJumpTable() argument 165 auto *GEP = dyn_cast<GetElementPtrInst>(L->getPointerOperand()); in run() local
|
H A D | StraightLineStrengthReduce.cpp | 138 GEP, // &B[..][i * S][..] global() enumerator 281 isGEPFoldable(GetElementPtrInst * GEP,const TargetTransformInfo * TTI) isGEPFoldable() argument 308 hasOnlyOneNonZeroIndex(GetElementPtrInst * GEP) hasOnlyOneNonZeroIndex() argument 492 factorArrayIndex(Value * ArrayIdx,const SCEV * Base,uint64_t ElementSize,GetElementPtrInst * GEP) factorArrayIndex() argument 525 allocateCandidatesAndFindBasisForGEP(GetElementPtrInst * GEP) allocateCandidatesAndFindBasisForGEP() argument [all...] |
H A D | LoopFlatten.cpp | 662 auto CheckGEP = [&](GetElementPtrInst *GEP, Value *GEPOperand) { in checkOverflow() argument 689 if (auto *GEP = dyn_cast<GetElementPtrInst>(V)) checkOverflow() local 693 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) checkOverflow() local 805 if (auto *GEP = dyn_cast<GetElementPtrInst>(V)) { DoFlattenLoopPair() local [all...] |
/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | RelLookupTableConverter.cpp | 36 GetElementPtrInst *GEP = in shouldConvertToRelLookupTable() local 131 GetElementPtrInst *GEP = in convertToRelLookupTable() local [all...] |
H A D | CodeExtractor.cpp | 1043 GetElementPtrInst *GEP = GetElementPtrInst::Create( constructFunction() local 1227 GetElementPtrInst *GEP = GetElementPtrInst::Create( emitCallAndSwitchStatement() local 1265 GetElementPtrInst *GEP = GetElementPtrInst::Create( emitCallAndSwitchStatement() local 1386 GetElementPtrInst *GEP = GetElementPtrInst::Create( emitCallAndSwitchStatement() local [all...] |
/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)) { findLoadCallsAtConstantOffset() local
|
/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 231 if (Value *V = decomposeGEP(Offsets, Ty, GEP, Builder)) { in decomposePtr() local 256 decomposeGEP(Value * & Offsets,FixedVectorType * Ty,GetElementPtrInst * GEP,IRBuilder<> & Builder) decomposeGEP() argument 744 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr); tryCreateIncrementingGatScat() local 1188 foldGEP(GetElementPtrInst * GEP,Value * & Offsets,unsigned & Scale,IRBuilder<> & Builder) foldGEP() argument 1216 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Address); optimiseAddress() local [all...] |
/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPerfHintAnalysis.cpp | 163 for (unsigned I = 1, E = GEP->getNumIndices() + 1; I != E; ++I) in isIndirectAccess() local 258 } else if (auto *GEP = dyn_cast<GetElementPtrInst>(&I)) { 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() argument 815 if (auto *GEP = dyn_cast<GetElementPtrInst>(Inst)) { tryPromoteAllocaToVector() local 849 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr); tryPromoteAllocaToVector() local 1215 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) { collectUsesWithPtrTypes() local [all...] |
H A D | AMDGPULowerModuleLDSPass.cpp | 895 auto GEP = ConstantExpr::getGetElementPtr( lowerDynamicLDSVariables() local 1246 Constant *GEP = ConstantExpr::getGetElementPtr(LDSTy, SGV, GEPIdx, true); createLDSVariableReplacement() local 1291 Constant *GEP = Replacement.LDSVarsToConstantGEP.at(GV); replaceLDSVariablesWithStruct() local 1354 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) { refineUsesAlignmentAndAA() local [all...] |
/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILPrepare.cpp | 199 if (auto GEP = dyn_cast<GetElementPtrInst>(&I)) { runOnModule() local
|
/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOCtxProfLowering.cpp | 301 auto *GEP = Builder.CreateGEP( lowerFunction() local
|