Lines Matching refs:getVMContext
194 llvm::LLVMContext &ABIInfo::getVMContext() const { in getVMContext() function in ABIInfo
1397 llvm::Type::getInt64Ty(getVMContext()), 2)); in classifyReturnType()
1403 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), in classifyReturnType()
1444 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(),Size)); in classifyReturnType()
1670 llvm::LLVMContext &LLVMContext = getVMContext(); in classifyArgumentType()
1709 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), in classifyArgumentType()
1714 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), 64)); in classifyArgumentType()
1855 llvm::Type *Ty = llvm::Type::getInt8Ty(getVMContext()); in addFieldToArgStruct()
1925 FI.setArgStruct(llvm::StructType::get(getVMContext(), FrameFields, in rewriteWithInAlloca()
2965 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), in getIndirectResult()
2990 return llvm::VectorType::get(llvm::Type::getDoubleTy(getVMContext()), in GetByteVectorType()
3118 return llvm::Type::getFloatTy(getVMContext()); in GetSSETypeAtOffset()
3125 return llvm::VectorType::get(llvm::Type::getFloatTy(getVMContext()), 2); in GetSSETypeAtOffset()
3127 return llvm::Type::getDoubleTy(getVMContext()); in GetSSETypeAtOffset()
3203 return llvm::IntegerType::get(getVMContext(), in GetINTEGERTypeAtOffset()
3310 ResType = llvm::Type::getX86_FP80Ty(getVMContext()); in classifyReturnType()
3318 ResType = llvm::StructType::get(llvm::Type::getX86_FP80Ty(getVMContext()), in classifyReturnType()
3319 llvm::Type::getX86_FP80Ty(getVMContext())); in classifyReturnType()
3971 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), Width)); in classify()
4002 llvm::VectorType::get(llvm::Type::getInt64Ty(getVMContext()), 2)); in classify()
4713 llvm::Type *CoerceTy = llvm::IntegerType::get(getVMContext(), Size); in classifyArgumentType()
4747 llvm::IntegerType::get(getVMContext(), llvm::alignTo(Bits, 8)); in classifyArgumentType()
4753 llvm::Type *RegTy = llvm::IntegerType::get(getVMContext(), RegBits); in classifyArgumentType()
4785 llvm::Type *CoerceTy = llvm::IntegerType::get(getVMContext(), Size); in classifyReturnType()
4809 CoerceTy = llvm::IntegerType::get(getVMContext(), GPRBits); in classifyReturnType()
4813 llvm::IntegerType::get(getVMContext(), llvm::alignTo(Bits, 8)); in classifyReturnType()
5083 llvm::Type *ResType = llvm::Type::getInt16Ty(getVMContext()); in classifyArgumentType()
5087 llvm::Type *ResType = llvm::Type::getInt32Ty(getVMContext()); in classifyArgumentType()
5092 llvm::VectorType::get(llvm::Type::getInt32Ty(getVMContext()), 2); in classifyArgumentType()
5097 llvm::VectorType::get(llvm::Type::getInt32Ty(getVMContext()), 4); in classifyArgumentType()
5132 return ABIArgInfo::getDirect(llvm::Type::getInt8Ty(getVMContext())); in classifyArgumentType()
5148 return coerceToIntArray(Ty, getContext(), getVMContext()); in classifyArgumentType()
5162 llvm::Type *BaseTy = llvm::Type::getInt64Ty(getVMContext()); in classifyArgumentType()
5165 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), Size)); in classifyArgumentType()
5204 return coerceToIntArray(RetTy, getContext(), getVMContext()); in classifyReturnType()
5212 llvm::Type *BaseTy = llvm::Type::getInt64Ty(getVMContext()); in classifyReturnType()
5215 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), Size)); in classifyReturnType()
5800 llvm::Type::getInt32Ty(getVMContext()); in coerceIllegalVector()
5805 llvm::Type::getInt32Ty(getVMContext()), Size / 32); in coerceIllegalVector()
5823 llvm::Type::getInt32Ty(getVMContext()), Size / 32); in classifyHomogeneousAggregate()
5854 llvm::Type::getFloatTy(getVMContext()) : in classifyArgumentType()
5855 llvm::Type::getInt32Ty(getVMContext()); in classifyArgumentType()
5930 return coerceToIntArray(Ty, getContext(), getVMContext()); in classifyArgumentType()
5939 ElemTy = llvm::Type::getInt32Ty(getVMContext()); in classifyArgumentType()
5942 ElemTy = llvm::Type::getInt64Ty(getVMContext()); in classifyArgumentType()
6059 llvm::Type::getFloatTy(getVMContext()) : in classifyReturnType()
6060 llvm::Type::getInt32Ty(getVMContext()); in classifyReturnType()
6084 getVMContext(), getContext().getTypeSize(RetTy))); in classifyReturnType()
6087 if (isIntegerLikeType(RetTy, getContext(), getVMContext())) { in classifyReturnType()
6091 return ABIArgInfo::getDirect(llvm::Type::getInt8Ty(getVMContext())); in classifyReturnType()
6093 return ABIArgInfo::getDirect(llvm::Type::getInt16Ty(getVMContext())); in classifyReturnType()
6094 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyReturnType()
6121 return coerceToIntArray(RetTy, getContext(), getVMContext()); in classifyReturnType()
6125 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyReturnType()
6129 return ABIArgInfo::getDirect(llvm::Type::getInt8Ty(getVMContext())); in classifyReturnType()
6131 return ABIArgInfo::getDirect(llvm::Type::getInt16Ty(getVMContext())); in classifyReturnType()
6132 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyReturnType()
6134 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(getVMContext()); in classifyReturnType()
6757 PassTy = llvm::Type::getFloatTy(getVMContext()); in classifyArgumentType()
6759 PassTy = llvm::Type::getDoubleTy(getVMContext()); in classifyArgumentType()
6761 PassTy = llvm::IntegerType::get(getVMContext(), Size); in classifyArgumentType()
6907 llvm::IntegerType::get(getVMContext(), MinABIStackAlignInBytes * 8); in CoerceToIntArgs()
6917 ArgList.push_back(llvm::IntegerType::get(getVMContext(), R)); in CoerceToIntArgs()
6927 return llvm::StructType::get(getVMContext(), ArgList); in HandleAggregates()
6938 return llvm::StructType::get(getVMContext(), ArgList); in HandleAggregates()
6947 llvm::IntegerType *I64 = llvm::IntegerType::get(getVMContext(), 64); in HandleAggregates()
6968 ArgList.push_back(llvm::Type::getDoubleTy(getVMContext())); in HandleAggregates()
6975 return llvm::StructType::get(getVMContext(), ArgList); in HandleAggregates()
6983 return llvm::IntegerType::get(getVMContext(), (Offset - OrigOffset) * 8); in getPaddingType()
7062 return llvm::StructType::get(getVMContext(), RTList, in returnAggregateInRegs()
7070 return llvm::StructType::get(getVMContext(), RTList); in returnAggregateInRegs()
7373 return ABIArgInfo::getDirect(llvm::Type::getInt64Ty(getVMContext())); in classifyArgumentType()
7375 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyArgumentType()
7377 return ABIArgInfo::getDirect(llvm::Type::getInt16Ty(getVMContext())); in classifyArgumentType()
7379 return ABIArgInfo::getDirect(llvm::Type::getInt8Ty(getVMContext())); in classifyArgumentType()
7408 return ABIArgInfo::getDirect(llvm::Type::getInt8Ty(getVMContext())); in classifyReturnType()
7410 return ABIArgInfo::getDirect(llvm::Type::getInt16Ty(getVMContext())); in classifyReturnType()
7412 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyReturnType()
7413 return ABIArgInfo::getDirect(llvm::Type::getInt64Ty(getVMContext())); in classifyReturnType()
7517 llvm::LLVMContext &LLVMContext = getVMContext(); in classifyArgumentType()
7664 return ABIArgInfo::getDirect(llvm::Type::getInt16Ty(getVMContext())); in classifyReturnType()
7667 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyReturnType()
7670 llvm::Type *I32Ty = llvm::Type::getInt32Ty(getVMContext()); in classifyReturnType()
7735 return ABIArgInfo::getDirect(llvm::Type::getInt16Ty(getVMContext())); in classifyArgumentType()
7738 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyArgumentType()
7741 llvm::Type *I32Ty = llvm::Type::getInt32Ty(getVMContext()); in classifyArgumentType()
8153 CoerceBuilder CB(getVMContext(), getDataLayout()); in classifyType()
8377 llvm::LLVMContext &LLVMContext = getVMContext(); in classifyArgumentType()
9173 llvm::IntegerType::get(getVMContext(), XLen)); in classifyArgumentType()
9176 llvm::IntegerType::get(getVMContext(), 2 * XLen)); in classifyArgumentType()
9179 llvm::IntegerType::get(getVMContext(), XLen), 2)); in classifyArgumentType()