Lines Matching refs:getVMContext
208 llvm::LLVMContext &ABIInfo::getVMContext() const { in getVMContext() function in ABIInfo
1499 llvm::Type::getInt64Ty(getVMContext()), 2)); in classifyReturnType()
1505 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), in classifyReturnType()
1546 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(),Size)); in classifyReturnType()
1811 llvm::LLVMContext &LLVMContext = getVMContext(); in classifyArgumentType()
1863 llvm::IntegerType::get(getVMContext(), TI.Width)); in classifyArgumentType()
1867 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), 64)); in classifyArgumentType()
1985 llvm::Type *Ty = llvm::Type::getInt8Ty(getVMContext()); in addFieldToArgStruct()
2051 FI.setArgStruct(llvm::StructType::get(getVMContext(), FrameFields, in rewriteWithInAlloca()
3228 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), in getIndirectResult()
3251 return llvm::FixedVectorType::get(llvm::Type::getInt64Ty(getVMContext()), in GetByteVectorType()
3267 return llvm::FixedVectorType::get(llvm::Type::getDoubleTy(getVMContext()), in GetByteVectorType()
3395 return llvm::Type::getFloatTy(getVMContext()); in GetSSETypeAtOffset()
3402 return llvm::FixedVectorType::get(llvm::Type::getFloatTy(getVMContext()), in GetSSETypeAtOffset()
3405 return llvm::Type::getDoubleTy(getVMContext()); in GetSSETypeAtOffset()
3481 return llvm::IntegerType::get(getVMContext(), in GetINTEGERTypeAtOffset()
3588 ResType = llvm::Type::getX86_FP80Ty(getVMContext()); in classifyReturnType()
3596 ResType = llvm::StructType::get(llvm::Type::getX86_FP80Ty(getVMContext()), in classifyReturnType()
3597 llvm::Type::getX86_FP80Ty(getVMContext())); in classifyReturnType()
4239 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), Width)); in classify()
4270 llvm::Type::getInt64Ty(getVMContext()), 2)); in classify()
4685 llvm::Type *CoerceTy = llvm::Type::getIntNTy(getVMContext(), Size); in classifyReturnType()
5211 llvm::Type *CoerceTy = llvm::IntegerType::get(getVMContext(), Size); in classifyArgumentType()
5249 llvm::IntegerType::get(getVMContext(), llvm::alignTo(Bits, 8)); in classifyArgumentType()
5255 llvm::Type *RegTy = llvm::IntegerType::get(getVMContext(), RegBits); in classifyArgumentType()
5287 llvm::Type *CoerceTy = llvm::IntegerType::get(getVMContext(), Size); in classifyReturnType()
5315 CoerceTy = llvm::IntegerType::get(getVMContext(), GPRBits); in classifyReturnType()
5319 llvm::IntegerType::get(getVMContext(), llvm::alignTo(Bits, 8)); in classifyReturnType()
5565 llvm::Type::getInt1Ty(getVMContext()), 16)); in coerceIllegalVector()
5579 llvm::Type::getInt8Ty(getVMContext()), 16); in coerceIllegalVector()
5584 llvm::Type::getInt16Ty(getVMContext()), 8); in coerceIllegalVector()
5589 llvm::Type::getInt32Ty(getVMContext()), 4); in coerceIllegalVector()
5594 llvm::Type::getInt64Ty(getVMContext()), 2); in coerceIllegalVector()
5598 llvm::Type::getHalfTy(getVMContext()), 8); in coerceIllegalVector()
5602 llvm::Type::getFloatTy(getVMContext()), 4); in coerceIllegalVector()
5606 llvm::Type::getDoubleTy(getVMContext()), 2); in coerceIllegalVector()
5610 llvm::Type::getBFloatTy(getVMContext()), 8); in coerceIllegalVector()
5619 llvm::Type *ResType = llvm::Type::getInt16Ty(getVMContext()); in coerceIllegalVector()
5623 llvm::Type *ResType = llvm::Type::getInt32Ty(getVMContext()); in coerceIllegalVector()
5628 llvm::FixedVectorType::get(llvm::Type::getInt32Ty(getVMContext()), 2); in coerceIllegalVector()
5633 llvm::FixedVectorType::get(llvm::Type::getInt32Ty(getVMContext()), 4); in coerceIllegalVector()
5679 return ABIArgInfo::getDirect(llvm::Type::getInt8Ty(getVMContext())); in classifyArgumentType()
5695 return coerceToIntArray(Ty, getContext(), getVMContext()); in classifyArgumentType()
5709 llvm::Type *BaseTy = llvm::Type::getIntNTy(getVMContext(), Alignment); in classifyArgumentType()
5764 return coerceToIntArray(RetTy, getContext(), getVMContext()); in classifyReturnType()
5772 llvm::Type *BaseTy = llvm::Type::getInt64Ty(getVMContext()); in classifyReturnType()
5775 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), Size)); in classifyReturnType()
6381 llvm::Type::getInt32Ty(getVMContext()); in coerceIllegalVector()
6386 llvm::Type::getInt32Ty(getVMContext()), Size / 32); in coerceIllegalVector()
6402 llvm::Type::getInt32Ty(getVMContext()), Size / 32); in classifyHomogeneousAggregate()
6504 return coerceToIntArray(Ty, getContext(), getVMContext()); in classifyArgumentType()
6513 ElemTy = llvm::Type::getInt32Ty(getVMContext()); in classifyArgumentType()
6516 ElemTy = llvm::Type::getInt64Ty(getVMContext()); in classifyArgumentType()
6656 getVMContext(), getContext().getTypeSize(RetTy))); in classifyReturnType()
6659 if (isIntegerLikeType(RetTy, getContext(), getVMContext())) { in classifyReturnType()
6663 return ABIArgInfo::getDirect(llvm::Type::getInt8Ty(getVMContext())); in classifyReturnType()
6665 return ABIArgInfo::getDirect(llvm::Type::getInt16Ty(getVMContext())); in classifyReturnType()
6666 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyReturnType()
6693 return coerceToIntArray(RetTy, getContext(), getVMContext()); in classifyReturnType()
6697 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyReturnType()
6701 return ABIArgInfo::getDirect(llvm::Type::getInt8Ty(getVMContext())); in classifyReturnType()
6703 return ABIArgInfo::getDirect(llvm::Type::getInt16Ty(getVMContext())); in classifyReturnType()
6704 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyReturnType()
6706 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(getVMContext()); in classifyReturnType()
6917 return llvm::Type::getInt64Ty(getABIInfo().getVMContext()); in getCUDADeviceBuiltinSurfaceDeviceType()
6923 return llvm::Type::getInt64Ty(getABIInfo().getVMContext()); in getCUDADeviceBuiltinTextureDeviceType()
7006 llvm::Type *IntType = llvm::Type::getIntNTy(getVMContext(), Div); in coerceToIntArrayWithLimit()
7519 PassTy = llvm::Type::getFloatTy(getVMContext()); in classifyArgumentType()
7521 PassTy = llvm::Type::getDoubleTy(getVMContext()); in classifyArgumentType()
7523 PassTy = llvm::IntegerType::get(getVMContext(), Size); in classifyArgumentType()
7708 llvm::IntegerType::get(getVMContext(), MinABIStackAlignInBytes * 8); in CoerceToIntArgs()
7718 ArgList.push_back(llvm::IntegerType::get(getVMContext(), R)); in CoerceToIntArgs()
7728 return llvm::StructType::get(getVMContext(), ArgList); in HandleAggregates()
7739 return llvm::StructType::get(getVMContext(), ArgList); in HandleAggregates()
7748 llvm::IntegerType *I64 = llvm::IntegerType::get(getVMContext(), 64); in HandleAggregates()
7769 ArgList.push_back(llvm::Type::getDoubleTy(getVMContext())); in HandleAggregates()
7776 return llvm::StructType::get(getVMContext(), ArgList); in HandleAggregates()
7784 return llvm::IntegerType::get(getVMContext(), (Offset - OrigOffset) * 8); in getPaddingType()
7870 return llvm::StructType::get(getVMContext(), RTList, in returnAggregateInRegs()
7878 return llvm::StructType::get(getVMContext(), RTList); in returnAggregateInRegs()
8242 return ABIArgInfo::getDirect(llvm::Type::getIntNTy(getVMContext(), Size)); in classifyArgumentType()
8288 return ABIArgInfo::getDirect(llvm::Type::getIntNTy(getVMContext(), Size)); in classifyReturnType()
8620 llvm::LLVMContext &LLVMContext = getVMContext(); in classifyArgumentType()
8790 return ABIArgInfo::getDirect(llvm::Type::getInt16Ty(getVMContext())); in classifyReturnType()
8793 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyReturnType()
8796 llvm::Type *I32Ty = llvm::Type::getInt32Ty(getVMContext()); in classifyReturnType()
8882 return ABIArgInfo::getDirect(llvm::Type::getInt16Ty(getVMContext())); in classifyArgumentType()
8885 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyArgumentType()
8888 llvm::Type *I32Ty = llvm::Type::getInt32Ty(getVMContext()); in classifyArgumentType()
9364 CoerceBuilder CB(getVMContext(), getDataLayout()); in classifyType()
9588 llvm::LLVMContext &LLVMContext = getVMContext(); in classifyArgumentType()
10535 llvm::Type::getInt8Ty(getVMContext()), Field1Off.getQuantity())); in coerceAndExpandFPCCEligibleStruct()
10542 llvm::StructType::get(getVMContext(), CoerceElts, !Field1Off.isZero()), in coerceAndExpandFPCCEligibleStruct()
10562 llvm::Type::getInt8Ty(getVMContext()), Padding.getQuantity())); in coerceAndExpandFPCCEligibleStruct()
10568 llvm::StructType::get(getVMContext(), CoerceElts, IsPacked); in coerceAndExpandFPCCEligibleStruct()
10570 llvm::StructType::get(getVMContext(), UnpaddedCoerceElts, IsPacked); in coerceAndExpandFPCCEligibleStruct()
10682 llvm::IntegerType::get(getVMContext(), XLen)); in classifyArgumentType()
10685 llvm::IntegerType::get(getVMContext(), 2 * XLen)); in classifyArgumentType()
10688 llvm::IntegerType::get(getVMContext(), XLen), 2)); in classifyArgumentType()