/freebsd-src/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFPreserveStaticOffset.cpp | 209 fillCommonArgs(LLVMContext & C,SmallVector<Value * > & Args,GEPChainInfo & GEP,T * Insn) fillCommonArgs() argument 223 makeGEPAndLoad(Module * M,GEPChainInfo & GEP,LoadInst * Load) makeGEPAndLoad() argument 243 makeGEPAndStore(Module * M,GEPChainInfo & GEP,StoreInst * Store) makeGEPAndStore() argument 282 auto *GEP = reconstructGEP() local 290 reconstructCommon(CallInst * Call,GetElementPtrInst * GEP,T * Insn,int Delta) reconstructCommon() argument 304 GetElementPtrInst *GEP = reconstructGEP(Call, 0); reconstructLoad() local 315 GetElementPtrInst *GEP = reconstructGEP(Call, 1); reconstructStore() local 336 __anon72b935920202(GetElementPtrInst *GEP) foldGEPChainAsStructAccess() argument 349 GetElementPtrInst *GEP = *Iter; foldGEPChainAsStructAccess() local 408 __anon72b935920302(GetElementPtrInst *GEP) allZeroIndices() argument 440 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) isPointerOperand() local 544 } else if (auto *GEP = dyn_cast<GetElementPtrInst>(Insn)) { rewriteAccessChain() local 615 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) removePAICalls() local [all...] |
H A D | BPFAbstractMemberAccess.cpp | 429 auto *GEP = GetElementPtrInst::CreateInBounds(getBaseElementType(Call), in replaceWithGEP() local 604 traceGEP(GetElementPtrInst * GEP,CallInst * Parent,CallInfo & ParentInfo) traceGEP() argument 1124 auto *GEP = GetElementPtrInst::Create(Type::getInt8Ty(BB->getContext()), transformGEPChain() local [all...] |
/freebsd-src/contrib/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()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalSplit.cpp | 58 GEPOperator *GEP; in splitGlobal() local 118 auto *GEP = cast<GEPOperator>(U); splitGlobal() local [all...] |
/freebsd-src/contrib/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 730 if (auto *GEP = dyn_cast<GEPOperator>(V)) { stripAndAccumulateConstantOffsets() local 995 getOffsetFromIndex(const GEPOperator * GEP,unsigned Idx,const DataLayout & DL) getOffsetFromIndex() argument [all...] |
H A D | Operator.cpp | 38 auto *GEP = cast<GEPOperator>(this); hasPoisonGeneratingFlags() local
|
H A D | ConstantFold.cpp | 438 if (auto *GEP = dyn_cast<GEPOperator>(CE)) { ConstantFoldExtractElementInstruction() local 1467 foldGEPOfGEP(GEPOperator * GEP,Type * PointeeTy,bool InBounds,ArrayRef<Value * > Idxs) foldGEPOfGEP() argument 1575 if (auto *GEP = dyn_cast<GEPOperator>(CE)) ConstantFoldGetElementPtr() local
|
/freebsd-src/contrib/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 | StraightLineStrengthReduce.cpp | 138 GEP, // &B[..][i * S][..] enumerator 281 static bool isGEPFoldable(GetElementPtrInst *GEP, in 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 | SeparateConstOffsetFromGEP.cpp | 780 Extract(Value * Idx,GetElementPtrInst * GEP,User * & UserChainTail,const DominatorTree * DT) Extract() argument 798 Find(Value * Idx,GetElementPtrInst * GEP,const DominatorTree * DT) Find() argument 808 canonicalizeArrayIndicesToIndexSize(GetElementPtrInst * GEP) canonicalizeArrayIndicesToIndexSize() argument 826 accumulateByteOffset(GetElementPtrInst * GEP,bool & NeedsExtraction) accumulateByteOffset() argument 973 splitGEP(GetElementPtrInst * GEP) splitGEP() argument 1143 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I)) run() local [all...] |
H A D | LoopFlatten.cpp | 655 __anon8c27cd0d0502(GetElementPtrInst *GEP, Value *GEPOperand) checkOverflow() argument 682 if (auto *GEP = dyn_cast<GetElementPtrInst>(V)) checkOverflow() local 686 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) checkOverflow() local 794 if (auto *GEP = dyn_cast<GetElementPtrInst>(V)) { DoFlattenLoopPair() local [all...] |
/freebsd-src/contrib/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 | 1028 GetElementPtrInst *GEP = GetElementPtrInst::Create( constructFunction() local 1212 GetElementPtrInst *GEP = GetElementPtrInst::Create( emitCallAndSwitchStatement() local 1250 GetElementPtrInst *GEP = GetElementPtrInst::Create( emitCallAndSwitchStatement() local 1372 GetElementPtrInst *GEP = GetElementPtrInst::Create( emitCallAndSwitchStatement() local [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Local.cpp | 23 User *GEP, bool NoAssumptions) { in emitGEPOffset() argument
|
H A D | PHITransAddr.cpp | 200 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { translateSubExpr() local 379 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { insertTranslatedSubExpr() local [all...] |
H A D | TypeMetadataUtils.cpp | 61 } else if (auto GEP = dyn_cast<GetElementPtrInst>(User)) { in findLoadCallsAtConstantOffset() local
|
/freebsd-src/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() argument 744 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr); tryCreateIncrementingGatScat() local 1182 foldGEP(GetElementPtrInst * GEP,Value * & Offsets,unsigned & Scale,IRBuilder<> & Builder) foldGEP() argument 1210 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Address); optimiseAddress() local [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 291 auto *GEP = dyn_cast<GetElementPtrInst>(Ptr->stripPointerCasts()); calculateVectorIndex() local 300 GEPToVectorIndex(GetElementPtrInst * GEP,AllocaInst * Alloca,Type * VecElemTy,const DataLayout & DL) GEPToVectorIndex() argument 731 if (auto *GEP = dyn_cast<GetElementPtrInst>(Inst)) { tryPromoteAllocaToVector() local 767 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr); tryPromoteAllocaToVector() local 1133 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) { collectUsesWithPtrTypes() local [all...] |
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 | AMDGPULowerModuleLDSPass.cpp | 1104 auto GEP = ConstantExpr::getGetElementPtr( lowerDynamicLDSVariables() local 1455 Constant *GEP = ConstantExpr::getGetElementPtr(LDSTy, SGV, GEPIdx, true); createLDSVariableReplacement() local 1500 Constant *GEP = Replacement.LDSVarsToConstantGEP.at(GV); replaceLDSVariablesWithStruct() local 1563 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) { refineUsesAlignmentAndAA() local [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILPrepare.cpp | 154 if (auto GEP = dyn_cast<GetElementPtrInst>(&I)) { runOnModule() local
|
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuilder.h | 283 auto *GEP = cast<llvm::GetElementPtrInst>(CreateConstInBoundsGEP2_32( global() variable
|
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | SanitizerCoverage.cpp | 332 auto GEP = CreateSecStartEnd() local 669 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&Inst)) instrumentFunction() local 865 for (auto *GEP : GepTraceTargets) { InjectTraceForGep() local
|
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 94 if (auto *GEP = dyn_cast<GetElementPtrInst>(I)) { in isOnlyCopiedFromConstantMemory() local 382 } else if (auto *GEP = dyn_cast<GetElementPtrInst>(I)) { replace() local 1389 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)) { visitStoreInst() local [all...] |