Home
last modified time | relevance | path

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

12

/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DConstantFolder.h123 return ConstantExpr::getGetElementPtr(C, IdxList); in CreateGetElementPtr()
129 return ConstantExpr::getGetElementPtr(C, Idx); in CreateGetElementPtr()
133 return ConstantExpr::getGetElementPtr(C, IdxList); in CreateGetElementPtr()
H A DConstants.h1042 static Constant *getGetElementPtr(Constant *C, ArrayRef<Constant *> IdxList,
1045 return getGetElementPtr(
1049 static Constant *getGetElementPtr(Constant *C, Constant *Idx,
1055 return getGetElementPtr(C, cast<Value>(Idx), InBounds, OnlyIfReducedTy);
1057 static Constant *getGetElementPtr(Constant *C, ArrayRef<Value *> IdxList,
1065 return getGetElementPtr(C, IdxList, true);
1072 return getGetElementPtr(C, Idx, true);
1076 return getGetElementPtr(C, IdxList, true);
H A DNoFolder.h182 return ConstantExpr::getGetElementPtr(C, IdxList); in CreateGetElementPtr()
188 return ConstantExpr::getGetElementPtr(C, Idx); in CreateGetElementPtr()
/minix/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetFolder.h135 return Fold(ConstantExpr::getGetElementPtr(C, IdxList)); in CreateGetElementPtr()
141 return Fold(ConstantExpr::getGetElementPtr(C, Idx)); in CreateGetElementPtr()
145 return Fold(ConstantExpr::getGetElementPtr(C, IdxList)); in CreateGetElementPtr()
/minix/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXFavorNonGenericAddrSpaces.cpp135 Constant *NewGEPCE = ConstantExpr::getGetElementPtr( in hoistAddrSpaceCastFromGEP()
/minix/external/bsd/llvm/dist/llvm/unittests/IR/
H A DConstantsTest.cpp267 Constant *GEP = ConstantExpr::getGetElementPtr(Global, One); in TEST()
334 auto *GEP = ConstantExpr::getGetElementPtr(Placeholder, C1); in TEST()
/minix/external/bsd/llvm/dist/llvm/examples/BrainF/
H A DBrainF.cpp166 getGetElementPtr(aberrormsg, gep_params); in header()
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DShadowStackGC.cpp256 return ConstantExpr::getGetElementPtr(GV, GEPIndices); in GetFrameMap()
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGObjCGNU.cpp175 return llvm::ConstantExpr::getGetElementPtr(ConstStr, Zeros); in MakeConstantString()
190 return llvm::ConstantExpr::getGetElementPtr(ConstStr, Zeros); in ExportUniqueString()
240 return llvm::ConstantExpr::getGetElementPtr( in MakePropertyEncodingString()
1153 Vtable = llvm::ConstantExpr::getGetElementPtr(Vtable, Two); in GetEHType()
2296 llvm::Constant *offsetValue = llvm::ConstantExpr::getGetElementPtr( in GenerateClass()
2453 llvm::Constant *SelPtr = llvm::ConstantExpr::getGetElementPtr(SelectorList, in ModuleInitFunction()
H A DCodeGenModule.cpp2569 V = llvm::ConstantExpr::getGetElementPtr(GV, Zeros); in GetAddrOfConstantCFString()
2622 Fields[2] = llvm::ConstantExpr::getGetElementPtr(GV, Zeros); in GetAddrOfConstantCFString()
2676 V = llvm::ConstantExpr::getGetElementPtr(GV, Zeros); in GetAddrOfConstantString()
2736 Fields[1] = llvm::ConstantExpr::getGetElementPtr(GV, Zeros); in GetAddrOfConstantString()
H A DCGExprConstant.cpp1113 Casted = llvm::ConstantExpr::getGetElementPtr(Casted, Offset); in EmitConstantValue()
H A DCGObjCMac.cpp1688 return llvm::ConstantExpr::getGetElementPtr(C, Idxs); in getConstantGEP()
6995 llvm::ConstantExpr::getGetElementPtr(VTableGV, VTableIdx), in GetInterfaceEHType()
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp709 Constant *C = ConstantExpr::getGetElementPtr(Ops[0], NewIdxs); in CastGEPIndices()
878 Constant *C = ConstantExpr::getGetElementPtr(Ptr, NewIdxs); in SymbolicallyEvaluateGEP()
1107 return ConstantExpr::getGetElementPtr(Ops[0], Ops.slice(1)); in ConstantFoldInstOperands()
H A DInstructionSimplify.cpp2969 Constant *NewLHS = ConstantExpr::getGetElementPtr(Null, IndicesLHS); in SimplifyICmpInst()
2972 Constant *NewRHS = ConstantExpr::getGetElementPtr(Null, IndicesRHS); in SimplifyICmpInst()
3291 return ConstantExpr::getGetElementPtr(cast<Constant>(Ops[0]), Ops.slice(1)); in SimplifyGEPInst()
H A DScalarEvolutionExpander.cpp529 return ConstantExpr::getGetElementPtr(CLHS, CRHS); in expandAddToGEP()
/minix/minix/llvm/passes/include/common/
H A Dpass_common.h462 return ConstantExpr::getGetElementPtr(constant, ref); in getGetElementPtrConstant()
464 return ConstantExpr::getGetElementPtr(constant, &indexes[0], indexes.size()); in getGetElementPtrConstant()
/minix/external/bsd/llvm/dist/llvm/lib/IR/
H A DConstants.cpp1253 return ConstantExpr::getGetElementPtr(Ops[0], Ops.slice(1), in getWithOperands()
1925 Constant *GEP = getGetElementPtr( in getSizeOf()
1940 Constant *GEP = getGetElementPtr(NullPtr, Indices); in getAlignOf()
1957 Constant *GEP = getGetElementPtr( in getOffsetOf()
2002 Constant *ConstantExpr::getGetElementPtr(Constant *C, ArrayRef<Value *> Idxs, in getGetElementPtr() function in ConstantExpr
H A DConstantFold.cpp2095 ConstantExpr::getGetElementPtr(CE->getOperand(0), NewIndices, in ConstantFoldGetElementPtrImpl()
2122 return ConstantExpr::getGetElementPtr((Constant*)CE->getOperand(0), in ConstantFoldGetElementPtrImpl()
2183 return ConstantExpr::getGetElementPtr(C, NewIdxs, inBounds); in ConstantFoldGetElementPtrImpl()
H A DCore.cpp1156 return wrap(ConstantExpr::getGetElementPtr(unwrap<Constant>(ConstantVal), in LLVMConstGEP()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp576 NewPtr = ConstantExpr::getGetElementPtr(cast<Constant>(NewPtr), Idxs); in SRAGlobal()
725 ConstantExpr::getGetElementPtr(NewV, Idxs)); in OptimizeAwayTrappingUsesOfValue()
2348 Ptr = ConstantExpr::getGetElementPtr(Ptr, IdxList); in EvaluateBlock()
2412 ConstantExpr::getGetElementPtr(P, GEPOps, in EvaluateBlock()
/minix/external/bsd/llvm/dist/llvm/tools/bugpoint/
H A DMiscompilation.cpp855 Value *GEP = ConstantExpr::getGetElementPtr(funcName, GEPargs); in CleanupAndPrepareModules()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DGVN.cpp1105 Src = ConstantExpr::getGetElementPtr(Src, OffsetCst); in AnalyzeLoadFromClobberingMemInst()
1266 Src = ConstantExpr::getGetElementPtr(Src, OffsetCst); in GetMemInstValueForLoad()
H A DSCCP.cpp1015 markConstant(&I, ConstantExpr::getGetElementPtr(Ptr, Indices)); in visitGetElementPtrInst()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp1232 ConstantExpr::getGetElementPtr(NewGlobal, Indices2, true)); in InstrumentGlobals()
/minix/external/bsd/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp311 Constant *GAI = ConstantExpr::getGetElementPtr(GA, Idx); in LowerGlobalAddress()

12