Home
last modified time | relevance | path

Searched refs:CGT (Results 1 – 9 of 9) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDTargetInfo.cpp188 return CGT.getCXXABI(); in getCXXABI()
192 return CGT.getContext(); in getContext()
196 return CGT.getLLVMContext(); in getVMContext()
200 return CGT.getDataLayout(); in getDataLayout()
204 return CGT.getTarget(); in getTarget()
208 return CGT.getCodeGenOpts(); in getCodeGenOpts()
663 DefaultABIInfo(CodeGen::CodeGenTypes &CGT) : ABIInfo(CGT) {} in DefaultABIInfo() argument
683 DefaultTargetCodeGenInfo(CodeGen::CodeGenTypes &CGT) in DefaultTargetCodeGenInfo() argument
684 : TargetCodeGenInfo(new DefaultABIInfo(CGT)) {} in DefaultTargetCodeGenInfo()
732 explicit WebAssemblyABIInfo(CodeGen::CodeGenTypes &CGT) in WebAssemblyABIInfo() argument
[all …]
HDCodeGenTypes.cpp108 isSafeToConvert(QualType T, CodeGenTypes &CGT,
116 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT, in isSafeToConvert() argument
123 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert()
126 if (CGT.isRecordLayoutComplete(Key)) return true; in isSafeToConvert()
129 if (CGT.isRecordBeingLaidOut(Key)) in isSafeToConvert()
138 if (!isSafeToConvert(I.getType()->castAs<RecordType>()->getDecl(), CGT, in isSafeToConvert()
146 if (!isSafeToConvert(I->getType(), CGT, AlreadyChecked)) in isSafeToConvert()
157 isSafeToConvert(QualType T, CodeGenTypes &CGT, in isSafeToConvert() argument
165 return isSafeToConvert(RT->getDecl(), CGT, AlreadyChecked); in isSafeToConvert()
168 if (const auto *AT = CGT.getContext().getAsArrayType(T)) in isSafeToConvert()
[all …]
HDABIInfo.h52 CodeGen::CodeGenTypes &CGT;
57 : CGT(cgt), RuntimeCC(llvm::CallingConv::C) {} in ABIInfo()
HDCGCall.cpp143 static void appendParameterTypes(const CodeGenTypes &CGT, in appendParameterTypes() argument
166 prefix.push_back(CGT.getContext().getSizeType()); in appendParameterTypes()
176 arrangeLLVMFunctionInfo(CodeGenTypes &CGT, bool instanceMethod, in arrangeLLVMFunctionInfo() argument
182 appendParameterTypes(CGT, prefix, paramInfos, FTP); in arrangeLLVMFunctionInfo()
185 return CGT.arrangeLLVMFunctionInfo(resultType, instanceMethod, in arrangeLLVMFunctionInfo()
563 arrangeFreeFunctionLikeCall(CodeGenTypes &CGT, in arrangeFreeFunctionLikeCall() argument
599 argTypes.push_back(CGT.getContext().getCanonicalParamType(arg.Ty)); in arrangeFreeFunctionLikeCall()
600 return CGT.arrangeLLVMFunctionInfo(GetReturnType(fnType->getReturnType()), in arrangeFreeFunctionLikeCall()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
HDSyntheticCountsUtils.h33 using CGT = GraphTraits<CallGraphType>; variable
34 using NodeRef = typename CGT::NodeRef;
35 using EdgeRef = typename CGT::EdgeRef;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDSyntheticCountsUtils.cpp40 if (SCCNodes.count(CGT::edge_dest(E))) in propagateFromSCC()
60 auto Callee = CGT::edge_dest(E.second); in propagateFromSCC()
73 auto Callee = CGT::edge_dest(E.second); in propagateFromSCC()
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
HDDAGISelMatcherGen.cpp733 const CodeGenTarget &CGT = CGP.getTargetInfo(); in mayInstNodeLoadOrStore() local
734 CodeGenInstruction &II = CGT.getInstruction(Op); in mayInstNodeLoadOrStore()
762 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultInstructionAsOperand() local
763 CodeGenInstruction &II = CGT.getInstruction(Op); in EmitResultInstructionAsOperand()
898 if (II.HasOneImplicitDefWithKnownVT(CGT) != MVT::Other) in EmitResultInstructionAsOperand()
903 ResultVTs.push_back(getRegisterValueType(Reg, CGT)); in EmitResultInstructionAsOperand()
1037 const CodeGenTarget &CGT = CGP.getTargetInfo(); in EmitResultCode() local
1038 CodeGenInstruction &II = CGT.getInstruction(DstPat->getOperator()); in EmitResultCode()
1040 if (II.HasOneImplicitDefWithKnownVT(CGT) != MVT::Other) in EmitResultCode()
HDDFAPacketizerEmitter.cpp214 CodeGenTarget CGT(Records); in run() local
215 CodeGenSchedModels CGS(Records, CGT); in run()
HDSubtargetEmitter.cpp1005 for (const CodeGenSchedTransition &CGT : in GenSchedClassTables() local
1007 if (CGT.ProcIndices[0] == 0 || in GenSchedClassTables()
1008 is_contained(CGT.ProcIndices, ProcModel.Index)) { in GenSchedClassTables()