Lines Matching refs:CGT
167 return CGT.getCXXABI(); in getCXXABI()
171 return CGT.getContext(); in getContext()
175 return CGT.getLLVMContext(); in getVMContext()
179 return CGT.getDataLayout(); in getDataLayout()
183 return CGT.getTarget(); in getTarget()
593 DefaultABIInfo(CodeGen::CodeGenTypes &CGT) : ABIInfo(CGT) {} in DefaultABIInfo() argument
613 DefaultTargetCodeGenInfo(CodeGen::CodeGenTypes &CGT) in DefaultTargetCodeGenInfo() argument
614 : TargetCodeGenInfo(new DefaultABIInfo(CGT)) {} in DefaultTargetCodeGenInfo()
660 explicit WebAssemblyABIInfo(CodeGen::CodeGenTypes &CGT) in WebAssemblyABIInfo() argument
661 : DefaultABIInfo(CGT) {} in WebAssemblyABIInfo()
683 explicit WebAssemblyTargetCodeGenInfo(CodeGen::CodeGenTypes &CGT) in WebAssemblyTargetCodeGenInfo() argument
684 : TargetCodeGenInfo(new WebAssemblyABIInfo(CGT)) {} in WebAssemblyTargetCodeGenInfo()
703 return ABIArgInfo::getDirect(CGT.ConvertType(QualType(SeltTy, 0))); in classifyArgumentType()
722 return ABIArgInfo::getDirect(CGT.ConvertType(QualType(SeltTy, 0))); in classifyReturnType()
747 PNaClABIInfo(CodeGen::CodeGenTypes &CGT) : ABIInfo(CGT) {} in PNaClABIInfo() argument
759 PNaClTargetCodeGenInfo(CodeGen::CodeGenTypes &CGT) in PNaClTargetCodeGenInfo() argument
760 : TargetCodeGenInfo(new PNaClABIInfo(CGT)) {} in PNaClTargetCodeGenInfo()
944 X86_32ABIInfo(CodeGen::CodeGenTypes &CGT, bool DarwinVectorABI, in X86_32ABIInfo() argument
947 : SwiftABIInfo(CGT), IsDarwinVectorABI(DarwinVectorABI), in X86_32ABIInfo()
951 IsMCUABI(CGT.getTarget().getTriple().isOSIAMCU()), in X86_32ABIInfo()
961 return occupiesMoreThan(CGT, scalars, /*total*/ 3); in shouldPassIndirectlyForSwift()
967 X86_32TargetCodeGenInfo(CodeGen::CodeGenTypes &CGT, bool DarwinVectorABI, in X86_32TargetCodeGenInfo() argument
971 CGT, DarwinVectorABI, RetSmallStructInRegABI, Win32StructABI, in X86_32TargetCodeGenInfo()
1293 return ABIArgInfo::getDirect(CGT.ConvertType(QualType(SeltTy, 0))); in classifyReturnType()
1562 if (IsX86_MMXType(CGT.ConvertType(Ty))) in classifyArgumentType()
1636 FrameFields.push_back(CGT.ConvertTypeForMem(Type)); in addFieldToArgStruct()
1971 X86_64ABIInfo(CodeGen::CodeGenTypes &CGT, X86AVXABILevel AVXLevel) : in X86_64ABIInfo() argument
1972 SwiftABIInfo(CGT), AVXLevel(AVXLevel), in X86_64ABIInfo()
1973 Has64BitPointers(CGT.getDataLayout().getPointerSize(0) == 8) { in X86_64ABIInfo()
2003 return occupiesMoreThan(CGT, scalars, /*total*/ 4); in shouldPassIndirectlyForSwift()
2010 WinX86_64ABIInfo(CodeGen::CodeGenTypes &CGT) in WinX86_64ABIInfo() argument
2011 : ABIInfo(CGT), in WinX86_64ABIInfo()
2039 X86_64TargetCodeGenInfo(CodeGen::CodeGenTypes &CGT, X86AVXABILevel AVXLevel) in X86_64TargetCodeGenInfo() argument
2040 : TargetCodeGenInfo(new X86_64ABIInfo(CGT, AVXLevel)) {} in X86_64TargetCodeGenInfo()
2120 PS4TargetCodeGenInfo(CodeGen::CodeGenTypes &CGT, X86AVXABILevel AVXLevel) in PS4TargetCodeGenInfo() argument
2121 : X86_64TargetCodeGenInfo(CGT, AVXLevel) {} in PS4TargetCodeGenInfo()
2149 WinX86_32TargetCodeGenInfo(CodeGen::CodeGenTypes &CGT, in WinX86_32TargetCodeGenInfo() argument
2152 : X86_32TargetCodeGenInfo(CGT, DarwinVectorABI, RetSmallStructInRegABI, in WinX86_32TargetCodeGenInfo()
2194 WinX86_64TargetCodeGenInfo(CodeGen::CodeGenTypes &CGT, in WinX86_64TargetCodeGenInfo() argument
2196 : TargetCodeGenInfo(new WinX86_64ABIInfo(CGT)) {} in WinX86_64TargetCodeGenInfo()
2747 llvm::Type *IRType = CGT.ConvertType(Ty); in GetByteVectorType()
3054 ResType = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType()
3072 ResType = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType()
3105 HighPart = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8); in classifyReturnType()
3110 HighPart = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8); in classifyReturnType()
3133 HighPart = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8); in classifyReturnType()
3200 ResType = GetINTEGERTypeAtOffset(CGT.ConvertType(Ty), 0, Ty, 0); in classifyArgumentType()
3220 llvm::Type *IRType = CGT.ConvertType(Ty); in classifyArgumentType()
3242 HighPart = GetINTEGERTypeAtOffset(CGT.ConvertType(Ty), 8, Ty, 8); in classifyArgumentType()
3252 HighPart = GetSSETypeAtOffset(CGT.ConvertType(Ty), 8, Ty, 8); in classifyArgumentType()
3603 llvm::Type *LLTy = CGT.ConvertType(Ty); in classify()
3664 PPC32_SVR4_ABIInfo(CodeGen::CodeGenTypes &CGT, bool SoftFloatABI) in PPC32_SVR4_ABIInfo() argument
3665 : DefaultABIInfo(CGT), IsSoftFloatABI(SoftFloatABI) {} in PPC32_SVR4_ABIInfo()
3673 PPC32TargetCodeGenInfo(CodeGenTypes &CGT, bool SoftFloatABI) in PPC32TargetCodeGenInfo() argument
3674 : TargetCodeGenInfo(new PPC32_SVR4_ABIInfo(CGT, SoftFloatABI)) {} in PPC32TargetCodeGenInfo()
3920 PPC64_SVR4_ABIInfo(CodeGen::CodeGenTypes &CGT, ABIKind Kind, bool HasQPX) in PPC64_SVR4_ABIInfo() argument
3921 : ABIInfo(CGT), Kind(Kind), HasQPX(HasQPX) {} in PPC64_SVR4_ABIInfo()
3953 I.info = ABIArgInfo::getDirectInReg(CGT.ConvertType(QT)); in computeInfo()
3968 PPC64_SVR4_TargetCodeGenInfo(CodeGenTypes &CGT, in PPC64_SVR4_TargetCodeGenInfo() argument
3970 : TargetCodeGenInfo(new PPC64_SVR4_ABIInfo(CGT, Kind, HasQPX)) {} in PPC64_SVR4_TargetCodeGenInfo()
3983 PPC64TargetCodeGenInfo(CodeGenTypes &CGT) : DefaultTargetCodeGenInfo(CGT) {} in PPC64TargetCodeGenInfo() argument
4240 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyArgumentType()
4306 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyReturnType()
4458 AArch64ABIInfo(CodeGenTypes &CGT, ABIKind Kind) in AArch64ABIInfo() argument
4459 : SwiftABIInfo(CGT), Kind(Kind) {} in AArch64ABIInfo()
4496 return occupiesMoreThan(CGT, scalars, /*total*/ 4); in shouldPassIndirectlyForSwift()
4502 AArch64TargetCodeGenInfo(CodeGenTypes &CGT, AArch64ABIInfo::ABIKind Kind) in AArch64TargetCodeGenInfo() argument
4503 : TargetCodeGenInfo(new AArch64ABIInfo(CGT, Kind)) {} in AArch64TargetCodeGenInfo()
4576 llvm::ArrayType::get(CGT.ConvertType(QualType(Base, 0)), Members)); in classifyArgumentType()
4995 ARMABIInfo(CodeGenTypes &CGT, ABIKind _Kind) in ARMABIInfo() argument
4996 : SwiftABIInfo(CGT), Kind(_Kind) { in ARMABIInfo()
5049 return occupiesMoreThan(CGT, scalars, /*total*/ 4); in shouldPassIndirectlyForSwift()
5055 ARMTargetCodeGenInfo(CodeGenTypes &CGT, ARMABIInfo::ABIKind K) in ARMTargetCodeGenInfo() argument
5056 :TargetCodeGenInfo(new ARMABIInfo(CGT, K)) {} in ARMTargetCodeGenInfo()
5126 WindowsARMTargetCodeGenInfo(CodeGenTypes &CGT, ARMABIInfo::ABIKind K) in WindowsARMTargetCodeGenInfo() argument
5127 : ARMTargetCodeGenInfo(CGT, K) {} in WindowsARMTargetCodeGenInfo()
5296 llvm::ArrayType::get(CGT.ConvertType(QualType(Base, 0)), Members); in classifyArgumentType()
5644 NVPTXABIInfo(CodeGenTypes &CGT) : ABIInfo(CGT) {} in NVPTXABIInfo() argument
5656 NVPTXTargetCodeGenInfo(CodeGenTypes &CGT) in NVPTXTargetCodeGenInfo() argument
5657 : TargetCodeGenInfo(new NVPTXABIInfo(CGT)) {} in NVPTXTargetCodeGenInfo()
5792 SystemZABIInfo(CodeGenTypes &CGT, bool HV) in SystemZABIInfo() argument
5793 : SwiftABIInfo(CGT), HasVector(HV) {} in SystemZABIInfo()
5817 return occupiesMoreThan(CGT, scalars, /*total*/ 4); in shouldPassIndirectlyForSwift()
5823 SystemZTargetCodeGenInfo(CodeGenTypes &CGT, bool HasVector) in SystemZTargetCodeGenInfo() argument
5824 : TargetCodeGenInfo(new SystemZABIInfo(CGT, HasVector)) {} in SystemZTargetCodeGenInfo()
6104 return ABIArgInfo::getDirect(CGT.ConvertType(SingleElementTy)); in classifyArgumentType()
6146 MSP430TargetCodeGenInfo(CodeGenTypes &CGT) in MSP430TargetCodeGenInfo() argument
6147 : TargetCodeGenInfo(new DefaultABIInfo(CGT)) {} in MSP430TargetCodeGenInfo()
6191 MipsABIInfo(CodeGenTypes &CGT, bool _IsO32) : in MipsABIInfo() argument
6192 ABIInfo(CGT), IsO32(_IsO32), MinABIStackAlignInBytes(IsO32 ? 4 : 8), in MipsABIInfo()
6206 MIPSTargetCodeGenInfo(CodeGenTypes &CGT, bool IsO32) in MIPSTargetCodeGenInfo() argument
6207 : TargetCodeGenInfo(new MipsABIInfo(CGT, IsO32)), in MIPSTargetCodeGenInfo()
6283 return CGT.ConvertType(Ty); in HandleAggregates()
6410 RTList.push_back(CGT.ConvertType(b->getType())); in returnAggregateInRegs()
6574 TCETargetCodeGenInfo(CodeGenTypes &CGT) in TCETargetCodeGenInfo() argument
6575 : DefaultTargetCodeGenInfo(CGT) {} in TCETargetCodeGenInfo()
6636 HexagonABIInfo(CodeGenTypes &CGT) : ABIInfo(CGT) {} in HexagonABIInfo() argument
6651 HexagonTargetCodeGenInfo(CodeGenTypes &CGT) in HexagonTargetCodeGenInfo() argument
6652 :TargetCodeGenInfo(new HexagonABIInfo(CGT)) {} in HexagonTargetCodeGenInfo()
6752 LanaiABIInfo(CodeGen::CodeGenTypes &CGT) : DefaultABIInfo(CGT) {} in LanaiABIInfo() argument
6866 LanaiTargetCodeGenInfo(CodeGen::CodeGenTypes &CGT) in LanaiTargetCodeGenInfo() argument
6867 : TargetCodeGenInfo(new LanaiABIInfo(CGT)) {} in LanaiTargetCodeGenInfo()
6879 AMDGPUTargetCodeGenInfo(CodeGenTypes &CGT) in AMDGPUTargetCodeGenInfo() argument
6880 : TargetCodeGenInfo(new DefaultABIInfo(CGT)) {} in AMDGPUTargetCodeGenInfo()
6925 SparcV8ABIInfo(CodeGenTypes &CGT) : DefaultABIInfo(CGT) {} in SparcV8ABIInfo() argument
6954 SparcV8TargetCodeGenInfo(CodeGenTypes &CGT) in SparcV8TargetCodeGenInfo() argument
6955 : TargetCodeGenInfo(new SparcV8ABIInfo(CGT)) {} in SparcV8TargetCodeGenInfo()
6988 SparcV9ABIInfo(CodeGenTypes &CGT) : ABIInfo(CGT) {} in SparcV9ABIInfo() argument
7135 llvm::StructType *StrTy = dyn_cast<llvm::StructType>(CGT.ConvertType(Ty)); in classifyType()
7155 llvm::Type *ArgTy = CGT.ConvertType(Ty); in EmitVAArg()
7217 SparcV9TargetCodeGenInfo(CodeGenTypes &CGT) in SparcV9TargetCodeGenInfo() argument
7218 : TargetCodeGenInfo(new SparcV9ABIInfo(CGT)) {} in SparcV9TargetCodeGenInfo()
7364 XCoreABIInfo(CodeGen::CodeGenTypes &CGT) : DefaultABIInfo(CGT) {} in XCoreABIInfo() argument
7372 XCoreTargetCodeGenInfo(CodeGenTypes &CGT) in XCoreTargetCodeGenInfo() argument
7373 :TargetCodeGenInfo(new XCoreABIInfo(CGT)) {} in XCoreTargetCodeGenInfo()
7393 llvm::Type *ArgTy = CGT.ConvertType(Ty); in EmitVAArg()
7560 SPIRTargetCodeGenInfo(CodeGen::CodeGenTypes &CGT) in SPIRTargetCodeGenInfo() argument
7561 : TargetCodeGenInfo(new DefaultABIInfo(CGT)) {} in SPIRTargetCodeGenInfo()