Home
last modified time | relevance | path

Searched defs:GEP (Results 1 – 25 of 137) sorted by relevance

123456

/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h173 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 DBPFPreserveStaticOffset.cpp210 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 DBPFASpaceCastSimplifyPass.cpp30 auto *GEP = dyn_cast<GetElementPtrInst>(OuterCast->getPointerOperand()); in match() local
52 auto *GEP = cast<GetElementPtrInst>(OuterCast->getPointerOperand()); in rewrite() local
[all...]
H A DBPFAbstractMemberAccess.cpp429 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 DTypeFinder.cpp79 if (auto *GEP = dyn_cast<GetElementPtrInst>(&I)) in run() local
160 if (auto *GEP = dyn_cast<GEPOperator>(V)) incorporateValue() local
H A DValue.cpp635 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 DOperator.cpp43 auto *GEP = cast<GEPOperator>(this); in hasPoisonGeneratingFlags() local
/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp68 if (!GEP) in splitGlobal() local
58 GEPOperator *GEP; splitGlobal() member
[all...]
/llvm-project/llvm/tools/llvm-reduce/deltas/
H A DReduceInstructionFlags.cpp44 } else if (auto *GEP = dyn_cast<GetElementPtrInst>(&I)) { reduceFlagsInModule() local
/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp328 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 DSeparateConstOffsetFromGEP.cpp781 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 DJumpTableToSwitch.cpp45 static std::optional<JumpTableTy> parseJumpTable(GetElementPtrInst *GEP, in parseJumpTable() argument
165 auto *GEP = dyn_cast<GetElementPtrInst>(L->getPointerOperand()); in run() local
H A DStraightLineStrengthReduce.cpp138 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 DLoopFlatten.cpp662 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 DRelLookupTableConverter.cpp36 GetElementPtrInst *GEP = in shouldConvertToRelLookupTable() local
131 GetElementPtrInst *GEP = in convertToRelLookupTable() local
[all...]
H A DCodeExtractor.cpp1043 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 DLocal.cpp23 User *GEP, bool NoAssumptions) { in emitGEPOffset()
H A DPHITransAddr.cpp201 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in translateSubExpr() local
380 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in insertTranslatedSubExpr() local
H A DTypeMetadataUtils.cpp61 } else if (auto GEP = dyn_cast<GetElementPtrInst>(User)) { findLoadCallsAtConstantOffset() local
/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp231 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 DAMDGPUPerfHintAnalysis.cpp163 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 DAMDGPUPromoteAlloca.cpp391 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 DAMDGPULowerModuleLDSPass.cpp895 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 DDXILPrepare.cpp199 if (auto GEP = dyn_cast<GetElementPtrInst>(&I)) { runOnModule() local
/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOCtxProfLowering.cpp301 auto *GEP = Builder.CreateGEP( lowerFunction() local

123456