Home
last modified time | relevance | path

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

123

/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h103 inline gep_type_iterator gep_type_begin(const User *GEP) { in gep_type_begin()
111 inline gep_type_iterator gep_type_end(const User *GEP) { in gep_type_end()
114 inline gep_type_iterator gep_type_begin(const User &GEP) { in gep_type_begin()
122 inline gep_type_iterator gep_type_end(const User &GEP) { in gep_type_end()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp303 static bool isGEPFoldable(GetElementPtrInst *GEP, in isGEPFoldable()
342 Instruction *NaryReassociate::tryReassociateGEP(GetElementPtrInst *GEP) { in tryReassociateGEP()
359 GetElementPtrInst *GEP) { in requiresSignExtension()
366 NaryReassociate::tryReassociateGEPAtIndex(GetElementPtrInst *GEP, unsigned I, in tryReassociateGEPAtIndex()
401 GetElementPtrInst *GEP, unsigned I, Value *LHS, Value *RHS, in tryReassociateGEPAtIndex()
DSeparateConstOffsetFromGEP.cpp690 Value *ConstantOffsetExtractor::Extract(Value *Idx, GetElementPtrInst *GEP, in Extract()
708 int64_t ConstantOffsetExtractor::Find(Value *Idx, GetElementPtrInst *GEP, in Find()
718 GetElementPtrInst *GEP) { in canonicalizeArrayIndicesToPointerSize()
736 SeparateConstOffsetFromGEP::accumulateByteOffset(GetElementPtrInst *GEP, in accumulateByteOffset()
885 bool SeparateConstOffsetFromGEP::splitGEP(GetElementPtrInst *GEP) { in splitGEP()
1080 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I++)) in runOnFunction() local
DStraightLineStrengthReduce.cpp88 GEP, // &B[..][i * S][..] enumerator
238 static bool isGEPFoldable(GetElementPtrInst *GEP, in isGEPFoldable()
295 static bool hasOnlyOneNonZeroIndex(GetElementPtrInst *GEP) { in hasOnlyOneNonZeroIndex()
479 GetElementPtrInst *GEP) { in factorArrayIndex()
512 GetElementPtrInst *GEP) { in allocateCandidatesAndFindBasisForGEP()
DLoadCombine.cpp94 if (auto *GEP = dyn_cast<GetElementPtrInst>(POP.Pointer)) { in getPointerOffsetPair() local
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp146 GEPOperator *GEP, int Depth) { in hoistAddrSpaceCastFromGEP()
234 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in hoistAddrSpaceCastFrom() local
DNVVMReflect.cpp177 const ConstantExpr *GEP = cast<ConstantExpr>(Str); in handleFunction() local
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp115 GetElementPtrInst *GEP = cast<GetElementPtrInst>(Ptr); in calculateVectorIndex() local
121 static Value* GEPToVectorIndex(GetElementPtrInst *GEP) { in GEPToVectorIndex()
171 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(AllocaUser); in tryPromoteAllocaToVector() local
DAMDGPUTargetTransformInfo.cpp42 const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I); in getUnrollingPreferences() local
/external/llvm/lib/Analysis/
DPHITransAddr.cpp217 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in PHITranslateSubExpr() local
399 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in InsertPHITranslatedSubExpr() local
DMemoryBuiltins.cpp417 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) in compute() local
536 SizeOffsetType ObjectSizeOffsetVisitor::visitGEPOperator(GEPOperator &GEP) { in visitGEPOperator()
651 } else if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in compute_() local
728 ObjectSizeOffsetEvaluator::visitGEPOperator(GEPOperator &GEP) { in visitGEPOperator()
DInlineCost.cpp250 bool CallAnalyzer::isGEPOffsetConstant(GetElementPtrInst &GEP) { in isGEPOffsetConstant()
262 bool CallAnalyzer::accumulateGEPOffset(GEPOperator &GEP, APInt &Offset) { in accumulateGEPOffset()
1040 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripAndComputeInBoundsConstantOffsets() local
DVectorUtils.cpp257 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr); in stripGetElementPtr() local
/external/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp368 GetElementPtrInst *GEP = GetElementPtrInst::Create( in constructFunction() local
469 GetElementPtrInst *GEP = GetElementPtrInst::Create( in emitCallAndSwitchStatement() local
494 GetElementPtrInst *GEP = GetElementPtrInst::Create( in emitCallAndSwitchStatement() local
612 GetElementPtrInst *GEP = GetElementPtrInst::Create( in emitCallAndSwitchStatement() local
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp476 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(V)) { in isSafeToPromoteArgument() local
513 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UR)) { in isSafeToPromoteArgument() local
961 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back()); in DoPromotion() local
/external/llvm/lib/IR/
DValue.cpp434 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripPointerCastsAndOffsets() local
495 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) { in stripAndAccumulateInBoundsConstantOffsets() local
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp80 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I)) { in isOnlyCopiedFromConstantGlobal() local
200 Instruction *GEP = in simplifyAllocaArraySize() local
1050 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)) { in visitStoreInst() local
DInstCombineCompares.cpp228 FoldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP, GlobalVariable *GV, in FoldCmpLoadFromIndexedGlobal()
505 static Value *EvaluateGEPOffsetExpression(User *GEP, InstCombiner &IC, in EvaluateGEPOffsetExpression()
1511 if (GetElementPtrInst *GEP = in visitICmpInstWithInstAndIntCst() local
3267 if (GetElementPtrInst *GEP = in visitICmpInst() local
3280 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op0)) in visitICmpInst() local
3283 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op1)) in visitICmpInst() local
4197 if (GetElementPtrInst *GEP = in visitFCmpInst() local
DInstCombinePHI.cpp149 GetElementPtrInst *GEP= dyn_cast<GetElementPtrInst>(PN.getIncomingValue(i)); in FoldPHIArgGEPIntoPHI() local
278 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(L->getOperand(0))) in isSafeAndProfitableToSinkLoad() local
/external/llvm/unittests/IR/
DConstantsTest.cpp288 Constant *GEP = ConstantExpr::getGetElementPtr( in TEST() local
356 auto *GEP = ConstantExpr::getGetElementPtr(IntTy, Placeholder, C1); in TEST() local
/external/llvm/lib/CodeGen/
DStackProtector.cpp176 } else if (const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) { in HasAddressTaken() local
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp387 if (auto *GEP = dyn_cast<GetElementPtrInst>(Link)) { in unlinkExceptionRegistration() local
/external/mesa3d/src/gallium/drivers/radeon/
DR600KernelParameters.cpp247 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(V); in Propagate() local
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp127 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(StrippedBasePtr)) in IsPtrInBounds() local
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp86 Value *GEP = Builder.CreateGEP(AT, GV, GEPIndices, "switch.gep"); in TEST_F() local

123