Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp210 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 DBPFASpaceCastSimplifyPass.cpp30 auto *GEP = dyn_cast<GetElementPtrInst>(OuterCast->getPointerOperand()); in match() local
52 auto *GEP = cast<GetElementPtrInst>(OuterCast->getPointerOperand()); in rewrite() local
H A DBPFAbstractMemberAccess.cpp429 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 DGetElementPtrTypeIterator.h123 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 DGlobalSplit.cpp58 GEPOperator *GEP; in splitGlobal() member
68 auto *GEP = dyn_cast<GEPOperator>(U); in splitGlobal() local
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DTypeFinder.cpp79 if (auto *GEP = dyn_cast<GetElementPtrInst>(&I)) in run() local
174 if (auto *GEP = dyn_cast<GEPOperator>(V)) in 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) { in getOffsetFromIndex()
H A DOperator.cpp43 auto *GEP = cast<GEPOperator>(this); in hasPoisonGeneratingFlags() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp328 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 DSeparateConstOffsetFromGEP.cpp781 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 DStraightLineStrengthReduce.cpp138 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 DJumpTableToSwitch.cpp45 static std::optional<JumpTableTy> parseJumpTable(GetElementPtrInst *GEP, in parseJumpTable()
165 auto *GEP = dyn_cast<GetElementPtrInst>(L->getPointerOperand()); in run() local
H A DLoopFlatten.cpp662 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 DRelLookupTableConverter.cpp36 GetElementPtrInst *GEP = in shouldConvertToRelLookupTable() local
131 GetElementPtrInst *GEP = in convertToRelLookupTable() local
H A DCodeExtractor.cpp1044 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 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)) { in findLoadCallsAtConstantOffset() local
/freebsd/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()
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 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 DAMDGPUPromoteAlloca.cpp391 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 DAMDGPULowerModuleLDSPass.cpp894 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 DDXILPrepare.cpp224 if (auto GEP = dyn_cast<GetElementPtrInst>(&I)) { in runOnModule() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOCtxProfLowering.cpp301 auto *GEP = Builder.CreateGEP( in lowerFunction() local
H A DSanitizerCoverage.cpp337 auto GEP = in CreateSecStartEnd() local
675 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&Inst)) in instrumentFunction() local
871 for (auto *GEP : GepTraceTargets) { in InjectTraceForGep() local

12345