Home
last modified time | relevance | path

Searched refs:IdxList (Results 1 – 10 of 10) sorted by relevance

/external/llvm/include/llvm/Support/
DNoFolder.h180 Constant *CreateGetElementPtr(Constant *C, Constant* const *IdxList, in CreateGetElementPtr() argument
182 return ConstantExpr::getGetElementPtr(C, IdxList, NumIdx); in CreateGetElementPtr()
184 Instruction *CreateGetElementPtr(Constant *C, Value* const *IdxList, in CreateGetElementPtr() argument
186 return GetElementPtrInst::Create(C, IdxList, IdxList+NumIdx); in CreateGetElementPtr()
189 Constant *CreateInBoundsGetElementPtr(Constant *C, Constant* const *IdxList, in CreateInBoundsGetElementPtr() argument
191 return ConstantExpr::getInBoundsGetElementPtr(C, IdxList, NumIdx); in CreateInBoundsGetElementPtr()
193 Instruction *CreateInBoundsGetElementPtr(Constant *C, Value* const *IdxList, in CreateInBoundsGetElementPtr() argument
195 return GetElementPtrInst::CreateInBounds(C, IdxList, IdxList+NumIdx); in CreateInBoundsGetElementPtr()
274 ArrayRef<unsigned> IdxList) const { in CreateExtractValue() argument
275 return ExtractValueInst::Create(Agg, IdxList); in CreateExtractValue()
[all …]
DConstantFolder.h121 Constant *CreateGetElementPtr(Constant *C, Constant* const *IdxList, in CreateGetElementPtr() argument
123 return ConstantExpr::getGetElementPtr(C, IdxList, NumIdx); in CreateGetElementPtr()
125 Constant *CreateGetElementPtr(Constant *C, Value* const *IdxList, in CreateGetElementPtr() argument
127 return ConstantExpr::getGetElementPtr(C, IdxList, NumIdx); in CreateGetElementPtr()
130 Constant *CreateInBoundsGetElementPtr(Constant *C, Constant* const *IdxList, in CreateInBoundsGetElementPtr() argument
132 return ConstantExpr::getInBoundsGetElementPtr(C, IdxList, NumIdx); in CreateInBoundsGetElementPtr()
134 Constant *CreateInBoundsGetElementPtr(Constant *C, Value* const *IdxList, in CreateInBoundsGetElementPtr() argument
136 return ConstantExpr::getInBoundsGetElementPtr(C, IdxList, NumIdx); in CreateInBoundsGetElementPtr()
214 ArrayRef<unsigned> IdxList) const { in CreateExtractValue() argument
215 return ConstantExpr::getExtractValue(Agg, IdxList); in CreateExtractValue()
[all …]
DTargetFolder.h133 Constant *CreateGetElementPtr(Constant *C, Constant* const *IdxList, in CreateGetElementPtr() argument
135 return Fold(ConstantExpr::getGetElementPtr(C, IdxList, NumIdx)); in CreateGetElementPtr()
137 Constant *CreateGetElementPtr(Constant *C, Value* const *IdxList, in CreateGetElementPtr() argument
139 return Fold(ConstantExpr::getGetElementPtr(C, IdxList, NumIdx)); in CreateGetElementPtr()
142 Constant *CreateInBoundsGetElementPtr(Constant *C, Constant* const *IdxList, in CreateInBoundsGetElementPtr() argument
144 return Fold(ConstantExpr::getInBoundsGetElementPtr(C, IdxList, NumIdx)); in CreateInBoundsGetElementPtr()
146 Constant *CreateInBoundsGetElementPtr(Constant *C, Value* const *IdxList, in CreateInBoundsGetElementPtr() argument
148 return Fold(ConstantExpr::getInBoundsGetElementPtr(C, IdxList, NumIdx)); in CreateInBoundsGetElementPtr()
231 ArrayRef<unsigned> IdxList) const { in CreateExtractValue() argument
232 return Fold(ConstantExpr::getExtractValue(Agg, IdxList)); in CreateExtractValue()
[all …]
/external/llvm/lib/VMCore/
DConstantsContext.h161 const SmallVector<unsigned, 4> &IdxList, in ExtractValueConstantExpr() argument
164 Indices(IdxList) { in ExtractValueConstantExpr()
186 const SmallVector<unsigned, 4> &IdxList, in InsertValueConstantExpr() argument
189 Indices(IdxList) { in InsertValueConstantExpr()
205 GetElementPtrConstantExpr(Constant *C, const std::vector<Constant*> &IdxList,
209 const std::vector<Constant*>&IdxList, in Create() argument
213 new(IdxList.size() + 1) GetElementPtrConstantExpr(C, IdxList, DestTy); in Create()
435 std::vector<Constant*> IdxList(V.operands.begin()+1, V.operands.end());
436 return GetElementPtrConstantExpr::Create(V.operands[0], IdxList, Ty,
DConstantFold.cpp108 SmallVector<Value*, 8> IdxList; in FoldBitCast() local
111 IdxList.push_back(Zero); in FoldBitCast()
117 IdxList.push_back(Zero); in FoldBitCast()
122 IdxList.push_back(Zero); in FoldBitCast()
130 return ConstantExpr::getInBoundsGetElementPtr(V, &IdxList[0], in FoldBitCast()
131 IdxList.size()); in FoldBitCast()
DConstants.cpp1881 GetElementPtrConstantExpr(Constant *C, const std::vector<Constant*> &IdxList, in GetElementPtrConstantExpr() argument
1885 - (IdxList.size()+1), IdxList.size()+1) { in GetElementPtrConstantExpr()
1887 for (unsigned i = 0, E = IdxList.size(); i != E; ++i) in GetElementPtrConstantExpr()
1888 OperandList[i+1] = IdxList[i]; in GetElementPtrConstantExpr()
DCore.cpp934 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList, in LLVMConstExtractValue() argument
937 makeArrayRef(IdxList, NumIdx))); in LLVMConstExtractValue()
942 unsigned *IdxList, unsigned NumIdx) { in LLVMConstInsertValue() argument
945 makeArrayRef(IdxList, NumIdx))); in LLVMConstInsertValue()
/external/llvm/include/llvm/
DConstants.h791 Constant *const *IdxList, unsigned NumIdx,
793 return getGetElementPtr(C, (Value**)IdxList, NumIdx, InBounds);
796 Value *const *IdxList, unsigned NumIdx,
802 Constant *const *IdxList,
804 return getGetElementPtr(C, IdxList, NumIdx, true);
807 Value* const *IdxList,
809 return getGetElementPtr(C, IdxList, NumIdx, true);
/external/llvm/include/llvm-c/
DCore.h650 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList,
654 unsigned *IdxList, unsigned NumIdx);
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2375 Constant * const IdxList[] = {IdxZero, IdxZero}; in EvaluateFunction() local
2377 Ptr = ConstantExpr::getGetElementPtr(Ptr, IdxList, 2); in EvaluateFunction()