Home
last modified time | relevance | path

Searched refs:getGetElementPtr (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1210 static Constant *getGetElementPtr(Type *Ty, Constant *C,
1215 return getGetElementPtr(
1219 static Constant *getGetElementPtr(Type *Ty, Constant *C, Constant *Idx,
1226 return getGetElementPtr(Ty, C, cast<Value>(Idx), InBounds, InRangeIndex,
1229 static Constant *getGetElementPtr(Type *Ty, Constant *C,
1239 return getGetElementPtr(Ty, C, IdxList, true);
1246 return getGetElementPtr(Ty, C, Idx, true);
1250 return getGetElementPtr(Ty, C, IdxList, true);
H A DConstantFolder.h150 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
158 return ConstantExpr::getGetElementPtr(Ty, C, Idx); in CreateGetElementPtr()
163 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
H A DNoFolder.h184 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
192 return ConstantExpr::getGetElementPtr(Ty, C, Idx); in CreateGetElementPtr()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h142 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); in CreateGetElementPtr()
149 return Fold(ConstantExpr::getGetElementPtr(Ty, C, Idx)); in CreateGetElementPtr()
153 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); in CreateGetElementPtr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp62 auto InitAddr = ConstantExpr::getGetElementPtr( in create()
H A DVNCoercion.cpp414 Src = ConstantExpr::getGetElementPtr(Type::getInt8Ty(Src->getContext()), in analyzeLoadFromClobberingMemInst()
595 Src = ConstantExpr::getGetElementPtr(Type::getInt8Ty(Src->getContext()), in getMemInstValueForLoadHelper()
H A DEvaluator.cpp198 Ptr = ConstantExpr::getGetElementPtr(Ty, Ptr, IdxList); in evaluateBitcastFromPtr()
446 ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), P, GEPOps, in EvaluateBlock()
H A DSCCPSolver.cpp1075 ConstantExpr::getGetElementPtr(I.getSourceElementType(), Ptr, Indices); in visitGetElementPtrInst()
H A DScalarEvolutionExpander.cpp577 return ConstantExpr::getGetElementPtr(Type::getInt8Ty(Ty->getContext()), in expandAddToGEP()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp130 auto *NewGEP = ConstantExpr::getGetElementPtr( in splitGlobal()
H A DLowerTypeTests.cpp890 Constant *CombinedGlobalElemPtr = ConstantExpr::getGetElementPtr( in buildBitSetsFromGlobalVariables()
1144 TIL.OffsetedGlobal = ConstantExpr::getGetElementPtr( in lowerTypeTestCalls()
H A DWholeProgramDevirt.cpp1545 return ConstantExpr::getGetElementPtr(Int8Ty, C, in getMemberAddr()
1757 ConstantExpr::getGetElementPtr( in rebuildGlobal()
H A DGlobalOpt.cpp619 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs); in SRAGlobal()
794 GEPI, ConstantExpr::getGetElementPtr(GEPI->getSourceElementType(), in OptimizeAwayTrappingUsesOfValue()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTT.cpp80 llvm::Constant *Init = llvm::ConstantExpr::getGetElementPtr( in EmitVTTDefinition()
H A DCGObjCGNU.cpp198 return llvm::ConstantExpr::getGetElementPtr(Array.getElementType(), in MakeConstantString()
220 return llvm::ConstantExpr::getGetElementPtr(ConstStr->getValueType(), in ExportUniqueString()
1458 return llvm::ConstantExpr::getGetElementPtr(TypesGlobal->getValueType(), in GetTypeString()
2452 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two), in GetEHType()
3569 llvm::Constant *offsetValue = llvm::ConstantExpr::getGetElementPtr( in GenerateClass()
3731 llvm::Constant *selPtr = llvm::ConstantExpr::getGetElementPtr( in ModuleInitFunction()
H A DCGCUDANV.cpp106 return llvm::ConstantExpr::getGetElementPtr(ConstStr.getElementType(), in makeConstantString()
H A DCGExprConstant.cpp1810 C = llvm::ConstantExpr::getGetElementPtr(CGM.Int8Ty, C, getOffset()); in applyOffset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp158 return ConstantExpr::getGetElementPtr(FrameMap->getType(), GV, GEPIndices); in GetFrameMap()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp291 Constant *GEP = ConstantExpr::getGetElementPtr(LDSTy, SGV, GEPIdx); in processUsedLDS()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp2121 return ConstantExpr::getGetElementPtr( in foldGEPOfGEP()
2192 return ConstantExpr::getGetElementPtr( in foldGEPOfGEP()
2280 return ConstantExpr::getGetElementPtr(SrcArrayTy, in ConstantFoldGetElementPtr()
2417 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBounds, in ConstantFoldGetElementPtr()
2426 return ConstantExpr::getGetElementPtr(PointeeTy, C, Idxs, in ConstantFoldGetElementPtr()
H A DConstants.cpp1571 return ConstantExpr::getGetElementPtr( in getWithOperands()
2351 Constant *GEP = getGetElementPtr( in getSizeOf()
2365 Constant *GEP = getGetElementPtr(AligningTy, NullPtr, Indices); in getAlignOf()
2382 Constant *GEP = getGetElementPtr( in getOffsetOf()
2427 Constant *ConstantExpr::getGetElementPtr(Type *Ty, Constant *C, in getGetElementPtr() function in ConstantExpr
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp864 Constant *C = ConstantExpr::getGetElementPtr( in CastGEPIndices()
1068 Constant *C = ConstantExpr::getGetElementPtr(SrcElemTy, Ptr, NewIdxs, in SymbolicallyEvaluateGEP()
1106 return ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), Ops[0], in ConstantFoldInstOperandsImpl()
H A DInstructionSimplify.cpp3655 Constant *NewLHS = ConstantExpr::getGetElementPtr( in SimplifyICmpInst()
3659 Constant *NewRHS = ConstantExpr::getGetElementPtr( in SimplifyICmpInst()
4433 auto *CE = ConstantExpr::getGetElementPtr(SrcTy, cast<Constant>(Ops[0]), in SimplifyGEPInst()
5359 Constant *C = ConstantExpr::getGetElementPtr( in SimplifyRelativeLoad()
6049 NewOp = ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), NewOp, in ConstructLoadOperandConstant()
H A DInlineCost.cpp1434 return ConstantExpr::getGetElementPtr( in visitGetElementPtr()
/freebsd-13.1/contrib/llvm-project/llvm/tools/bugpoint/
H A DMiscompilation.cpp858 Value *GEP = ConstantExpr::getGetElementPtr(InitArray->getType(), in CleanupAndPrepareModules()

12