Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DConstantFolder.h123 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
129 return ConstantExpr::getGetElementPtr(Ty, C, Idx); in CreateGetElementPtr()
133 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
DConstants.h1117 static Constant *getGetElementPtr(Type *Ty, Constant *C,
1121 return getGetElementPtr(
1125 static Constant *getGetElementPtr(Type *Ty, Constant *C, Constant *Idx,
1131 return getGetElementPtr(Ty, C, cast<Value>(Idx), InBounds, OnlyIfReducedTy);
1133 static Constant *getGetElementPtr(Type *Ty, Constant *C,
1142 return getGetElementPtr(Ty, C, IdxList, true);
1149 return getGetElementPtr(Ty, C, Idx, true);
1153 return getGetElementPtr(Ty, C, IdxList, true);
DNoFolder.h182 return ConstantExpr::getGetElementPtr(Ty, C, IdxList); in CreateGetElementPtr()
188 return ConstantExpr::getGetElementPtr(Ty, C, Idx); in CreateGetElementPtr()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h135 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); in CreateGetElementPtr()
141 return Fold(ConstantExpr::getGetElementPtr(Ty, C, Idx)); in CreateGetElementPtr()
145 return Fold(ConstantExpr::getGetElementPtr(Ty, C, IdxList)); in CreateGetElementPtr()
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp175 Constant *NewGEP = ConstantExpr::getGetElementPtr( in hoistAddrSpaceCastFromGEP()
/external/llvm/unittests/IR/
DConstantsTest.cpp288 Constant *GEP = ConstantExpr::getGetElementPtr( in TEST()
356 auto *GEP = ConstantExpr::getGetElementPtr(IntTy, Placeholder, C1); in TEST()
/external/llvm/examples/BrainF/
DBrainF.cpp162 getGetElementPtr(aberrormsg->getValueType(), aberrormsg, gep_params); in header()
/external/clang/lib/CodeGen/
DCGCUDANV.cpp61 return llvm::ConstantExpr::getGetElementPtr(ConstStr.getElementType(), in makeConstantString()
DCGObjCGNU.cpp170 return llvm::ConstantExpr::getGetElementPtr(Array.getElementType(), in MakeConstantString()
186 return llvm::ConstantExpr::getGetElementPtr(ConstStr->getValueType(), in ExportUniqueString()
1168 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two), in GetEHType()
2326 llvm::Constant *offsetValue = llvm::ConstantExpr::getGetElementPtr( in GenerateClass()
2487 llvm::Constant *SelPtr = llvm::ConstantExpr::getGetElementPtr( in ModuleInitFunction()
DCodeGenModule.cpp2877 V = llvm::ConstantExpr::getGetElementPtr(Ty, GV, Zeros); in GetAddrOfConstantCFString()
2931 llvm::ConstantExpr::getGetElementPtr(GV->getValueType(), GV, Zeros); in GetAddrOfConstantCFString()
2988 V = llvm::ConstantExpr::getGetElementPtr(PTy, GV, Zeros); in GetAddrOfConstantString()
3048 llvm::ConstantExpr::getGetElementPtr(GV->getValueType(), GV, Zeros); in GetAddrOfConstantString()
DCGExprConstant.cpp1288 Casted = llvm::ConstantExpr::getGetElementPtr(Int8Ty, Casted, Offset); in EmitConstantValue()
/external/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp246 return ConstantExpr::getGetElementPtr(FrameMap->getType(), GV, GEPIndices); in GetFrameMap()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp577 Constant *CombinedGlobalElemPtr = ConstantExpr::getGetElementPtr( in buildBitSetsFromGlobalVariables()
812 ConstantExpr::getGetElementPtr( in buildBitSetsFromFunctions()
DGlobalOpt.cpp581 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs); in SRAGlobal()
730 GEPI, ConstantExpr::getGetElementPtr(nullptr, NewV, Idxs)); in OptimizeAwayTrappingUsesOfValue()
2476 Ptr = ConstantExpr::getGetElementPtr(nullptr, Ptr, IdxList); in EvaluateBlock()
2540 ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), P, GEPOps, in EvaluateBlock()
/external/llvm/lib/Analysis/
DConstantFolding.cpp704 Constant *C = ConstantExpr::getGetElementPtr(SrcTy, Ops[0], NewIdxs); in CastGEPIndices()
872 Constant *C = ConstantExpr::getGetElementPtr(SrcTy, Ptr, NewIdxs); in SymbolicallyEvaluateGEP()
1098 return ConstantExpr::getGetElementPtr(SrcTy, Ops[0], Ops.slice(1)); in ConstantFoldInstOperands()
DInstructionSimplify.cpp3053 Constant *NewLHS = ConstantExpr::getGetElementPtr( in SimplifyICmpInst()
3057 Constant *NewRHS = ConstantExpr::getGetElementPtr( in SimplifyICmpInst()
3532 return ConstantExpr::getGetElementPtr(SrcTy, cast<Constant>(Ops[0]), in SimplifyGEPInst()
DScalarEvolutionExpander.cpp505 return ConstantExpr::getGetElementPtr(Type::getInt8Ty(Ty->getContext()), in expandAddToGEP()
/external/llvm/lib/IR/
DConstants.cpp1221 return ConstantExpr::getGetElementPtr( in getWithOperands()
1887 Constant *GEP = getGetElementPtr( in getSizeOf()
1902 Constant *GEP = getGetElementPtr(AligningTy, NullPtr, Indices); in getAlignOf()
1919 Constant *GEP = getGetElementPtr( in getOffsetOf()
1964 Constant *ConstantExpr::getGetElementPtr(Type *Ty, Constant *C, in getGetElementPtr() function in ConstantExpr
DConstantFold.cpp2133 return ConstantExpr::getGetElementPtr( in ConstantFoldGetElementPtrImpl()
2160 return ConstantExpr::getGetElementPtr( in ConstantFoldGetElementPtrImpl()
2227 return ConstantExpr::getGetElementPtr(PointeeTy, C, NewIdxs, inBounds); in ConstantFoldGetElementPtrImpl()
/external/llvm/tools/bugpoint/
DMiscompilation.cpp838 Value *GEP = ConstantExpr::getGetElementPtr(InitArray->getType(), in CleanupAndPrepareModules()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1117 Src = ConstantExpr::getGetElementPtr(Type::getInt8Ty(Src->getContext()), Src, in AnalyzeLoadFromClobberingMemInst()
1279 Src = ConstantExpr::getGetElementPtr(Type::getInt8Ty(Src->getContext()), Src, in GetMemInstValueForLoad()
DSCCP.cpp1023 markConstant(&I, ConstantExpr::getGetElementPtr(I.getSourceElementType(), Ptr, in visitGetElementPtrInst()
/external/lldb/source/Expression/
DIRForTarget.cpp2513 …llvm::Constant *reloc_getelementptr = ConstantExpr::getGetElementPtr(m_reloc_placeholder, offsets); in BuildRelocation()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp1375 ConstantExpr::getGetElementPtr(NewTy, NewGlobal, Indices2, true)); in InstrumentGlobals()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp308 Constant *GAI = ConstantExpr::getGetElementPtr( in LowerGlobalAddress()

12