Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstants.h1226 static Constant *getGetElementPtr(Type *Ty, Constant *C,
1231 return getGetElementPtr(
1235 static Constant *getGetElementPtr(Type *Ty, Constant *C, Constant *Idx,
1242 return getGetElementPtr(Ty, C, cast<Value>(Idx), InBounds, InRangeIndex,
1245 static Constant *getGetElementPtr(Type *Ty, Constant *C,
1255 return getGetElementPtr(Ty, C, IdxList, true);
1262 return getGetElementPtr(Ty, C, Idx, true);
1266 return getGetElementPtr(Ty, C, IdxList, true);
H A DConstantFolder.h116 return ConstantExpr::getGetElementPtr(Ty, PC, IdxList);
/llvm-project-15.0.7/clang/tools/clang-offload-wrapper/
H A DClangOffloadWrapper.cpp244 auto *ImageB = ConstantExpr::getGetElementPtr(Image->getValueType(), in createBinDesc()
246 auto *ImageE = ConstantExpr::getGetElementPtr(Image->getValueType(), in createBinDesc()
263 auto *ImagesB = ConstantExpr::getGetElementPtr(Images->getValueType(), in createBinDesc()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp61 auto InitAddr = ConstantExpr::getGetElementPtr( in create()
H A DSCCPSolver.cpp1085 ConstantExpr::getGetElementPtr(I.getSourceElementType(), Ptr, Indices); in visitGetElementPtrInst()
H A DScalarEvolutionExpander.cpp578 return ConstantExpr::getGetElementPtr(Type::getInt8Ty(Ty->getContext()), in expandAddToGEP()
/llvm-project-15.0.7/clang/tools/clang-linker-wrapper/
H A DOffloadWrapper.cpp195 ConstantExpr::getGetElementPtr(Image->getValueType(), Image, ZeroZero); in createBinDesc()
197 ConstantExpr::getGetElementPtr(Image->getValueType(), Image, ZeroSize); in createBinDesc()
214 ConstantExpr::getGetElementPtr(Images->getValueType(), Images, ZeroZero); in createBinDesc()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp130 auto *NewGEP = ConstantExpr::getGetElementPtr( in splitGlobal()
H A DWholeProgramDevirt.cpp1610 return ConstantExpr::getGetElementPtr(Int8Ty, C, in getMemberAddr()
1824 ConstantExpr::getGetElementPtr( in rebuildGlobal()
H A DLowerTypeTests.cpp860 Constant *CombinedGlobalElemPtr = ConstantExpr::getGetElementPtr( in buildBitSetsFromGlobalVariables()
1114 TIL.OffsetedGlobal = ConstantExpr::getGetElementPtr( in lowerTypeTestCalls()
H A DGlobalOpt.cpp754 GEPI, ConstantExpr::getGetElementPtr(GEPI->getSourceElementType(), in OptimizeAwayTrappingUsesOfValue()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGVTT.cpp80 llvm::Constant *Init = llvm::ConstantExpr::getGetElementPtr( in EmitVTTDefinition()
H A DCGObjCGNU.cpp202 return llvm::ConstantExpr::getGetElementPtr(Array.getElementType(), in MakeConstantString()
224 return llvm::ConstantExpr::getGetElementPtr(ConstStr->getValueType(), in ExportUniqueString()
1461 return llvm::ConstantExpr::getGetElementPtr(TypesGlobal->getValueType(), in GetTypeString()
2461 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two), in GetEHType()
3651 llvm::Constant *offsetValue = llvm::ConstantExpr::getGetElementPtr( in GenerateClass()
3812 llvm::Constant *selPtr = llvm::ConstantExpr::getGetElementPtr( in ModuleInitFunction()
H A DCGCUDANV.cpp106 return llvm::ConstantExpr::getGetElementPtr(ConstStr.getElementType(), in makeConstantString()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetFolder.h126 return Fold(ConstantExpr::getGetElementPtr(Ty, PC, IdxList));
/llvm-project-15.0.7/llvm/examples/BrainF/
H A DBrainF.cpp170 getGetElementPtr(aberrormsg->getValueType(), aberrormsg, gep_params); in header()
/llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/
H A Dgep.ll193 ; Check ConstantExpr::getGetElementPtr() using ElementCount for size queries - begin.
274 ; Check ConstantExpr::getGetElementPtr() using ElementCount for size queries - end.
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp157 return ConstantExpr::getGetElementPtr(FrameMap->getType(), GV, GEPIndices); in GetFrameMap()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantFold.cpp1973 return ConstantExpr::getGetElementPtr( in foldGEPOfGEP()
2026 return ConstantExpr::getGetElementPtr( in foldGEPOfGEP()
2125 return ConstantExpr::getGetElementPtr(SrcArrayTy, in ConstantFoldGetElementPtr()
2268 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, InBounds, in ConstantFoldGetElementPtr()
2277 return ConstantExpr::getGetElementPtr(PointeeTy, C, Idxs, in ConstantFoldGetElementPtr()
H A DConstants.cpp1495 return ConstantExpr::getGetElementPtr( in getWithOperands()
2383 Constant *GEP = getGetElementPtr( in getSizeOf()
2397 Constant *GEP = getGetElementPtr(AligningTy, NullPtr, Indices); in getAlignOf()
2414 Constant *GEP = getGetElementPtr( in getOffsetOf()
2459 Constant *ConstantExpr::getGetElementPtr(Type *Ty, Constant *C, in getGetElementPtr() function in ConstantExpr
H A DCore.cpp1661 return wrap(ConstantExpr::getGetElementPtr(Ty, Val, IdxList)); in LLVMConstGEP()
1669 return wrap(ConstantExpr::getGetElementPtr(unwrap(Ty), Val, IdxList)); in LLVMConstGEP2()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantsTest.cpp316 Constant *GEP = ConstantExpr::getGetElementPtr( in TEST()
384 auto *GEP = ConstantExpr::getGetElementPtr(IntTy, Placeholder, C1); in TEST()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp375 Constant *GEP = ConstantExpr::getGetElementPtr(LDSTy, SGV, GEPIdx, true); in createLDSVariableReplacement()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DConstantFolding.cpp856 Constant *C = ConstantExpr::getGetElementPtr( in CastGEPIndices()
1006 Constant *C = ConstantExpr::getGetElementPtr(SrcElemTy, Ptr, NewIdxs, in SymbolicallyEvaluateGEP()
1060 return ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), Ops[0], in ConstantFoldInstOperandsImpl()
/llvm-project-15.0.7/llvm/tools/bugpoint/
H A DMiscompilation.cpp858 Value *GEP = ConstantExpr::getGetElementPtr(InitArray->getType(), in CleanupAndPrepareModules()

12