Home
last modified time | relevance | path

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

12345

/freebsd-src/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp209 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 DBPFAbstractMemberAccess.cpp429 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 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()
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp58 GEPOperator *GEP; in splitGlobal() local
118 auto *GEP = cast<GEPOperator>(U); splitGlobal() local
[all...]
/freebsd-src/contrib/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
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 DOperator.cpp38 auto *GEP = cast<GEPOperator>(this); hasPoisonGeneratingFlags() local
H A DConstantFold.cpp438 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 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 DStraightLineStrengthReduce.cpp138 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 DSeparateConstOffsetFromGEP.cpp780 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 DLoopFlatten.cpp655 __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 DRelLookupTableConverter.cpp36 GetElementPtrInst *GEP = in shouldConvertToRelLookupTable() local
131 GetElementPtrInst *GEP = in convertToRelLookupTable() local
[all...]
H A DCodeExtractor.cpp1028 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 DLocal.cpp23 User *GEP, bool NoAssumptions) { in emitGEPOffset() argument
H A DPHITransAddr.cpp200 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { translateSubExpr() local
379 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { insertTranslatedSubExpr() local
[all...]
H A DTypeMetadataUtils.cpp61 } else if (auto GEP = dyn_cast<GetElementPtrInst>(User)) { in findLoadCallsAtConstantOffset() local
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp231 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 DAMDGPUPromoteAlloca.cpp291 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 DAMDGPUPerfHintAnalysis.cpp163 if (auto GEP = dyn_cast<GetElementPtrInst>(V)) { in isIndirectAccess() local
258 } else if (auto *GEP = dyn_cast<GetElementPtrInst>(&I)) { in visit() local
H A DAMDGPULowerModuleLDSPass.cpp1104 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 DDXILPrepare.cpp154 if (auto GEP = dyn_cast<GetElementPtrInst>(&I)) { runOnModule() local
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h283 auto *GEP = cast<llvm::GetElementPtrInst>(CreateConstInBoundsGEP2_32( global() variable
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp332 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 DInstCombineLoadStoreAlloca.cpp94 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...]

12345