/external/llvm/include/llvm/Support/ |
D | NoFolder.h | 180 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 …]
|
D | ConstantFolder.h | 121 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 …]
|
D | TargetFolder.h | 133 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/ |
D | ConstantsContext.h | 161 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,
|
D | ConstantFold.cpp | 108 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()
|
D | Constants.cpp | 1881 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()
|
D | Core.cpp | 934 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/ |
D | Constants.h | 791 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/ |
D | Core.h | 650 LLVMValueRef LLVMConstExtractValue(LLVMValueRef AggConstant, unsigned *IdxList, 654 unsigned *IdxList, unsigned NumIdx);
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 2375 Constant * const IdxList[] = {IdxZero, IdxZero}; in EvaluateFunction() local 2377 Ptr = ConstantExpr::getGetElementPtr(Ptr, IdxList, 2); in EvaluateFunction()
|