reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/lib/Target/AMDGPU/AMDGPUGenCallingConv.inc
   35   if (static_cast<const GCNSubtarget&>(State.getMachineFunction().getSubtarget()).getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS && State.getCallingConv() == CallingConv::C) {
include/llvm/CodeGen/FastISel.h
   85     CallingConv::ID CallConv = CallingConv::C;
include/llvm/CodeGen/GlobalISel/CallLowering.h
   73     CallingConv::ID CallConv = CallingConv::C;
include/llvm/CodeGen/TargetLowering.h
 3454     CallingConv::ID CallConv = CallingConv::C;
lib/AsmParser/LLParser.cpp
 1965   default:                       CC = CallingConv::C; return false;
 1966   case lltok::kw_ccc:            CC = CallingConv::C; break;
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
 3766             CallingConv::C, Type::getVoidTy(*DAG.getContext()),
 3807         .setLibCallee(CallingConv::C, Type::getVoidTy(*DAG.getContext()),
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 6504         CallingConv::C, I.getType(),
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 6843   CLI.setLibCallee(CallingConv::C, VoidPtrType, EmuTlsGetAddr, std::move(Args));
lib/CodeGen/TargetLoweringBase.cpp
  124     setLibcallCallingConv((RTLIB::Libcall)LC, CallingConv::C);
lib/IR/AsmWriter.cpp
 3440   if (F->getCallingConv() != CallingConv::C) {
 3841     if (CI->getCallingConv() != CallingConv::C) {
 3891     if (II->getCallingConv() != CallingConv::C) {
 3934     if (CBI->getCallingConv() != CallingConv::C) {
lib/IR/Mangler.cpp
  148       MSFunc ? MSFunc->getCallingConv() : (unsigned)CallingConv::C;
lib/IR/Verifier.cpp
 2177   case CallingConv::C:
lib/Target/AArch64/AArch64CallLowering.cpp
  505   case CallingConv::C:
  742   assert((!Info.IsVarArg || CalleeCC == CallingConv::C) &&
lib/Target/AArch64/AArch64FastISel.cpp
 2960   if (CC != CallingConv::C && CC != CallingConv::Swift)
lib/Target/AArch64/AArch64ISelLowering.cpp
 3106   case CallingConv::C:
 3549   case CallingConv::C:
 3614   assert((!isVarArg || CalleeCC == CallingConv::C) &&
 4079   if (CallConv == CallingConv::C) {
lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
   46         .setLibCallee(CallingConv::C, Type::getVoidTy(*DAG.getContext()),
lib/Target/AArch64/AArch64Subtarget.h
  483     case CallingConv::C:
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  848   case CallingConv::C:
  873   case CallingConv::C:
lib/Target/AMDGPU/AMDGPURegisterInfo.cpp
   99   case CallingConv::C:
  119   case CallingConv::C:
lib/Target/AMDGPU/R600ISelLowering.cpp
 1558   case CallingConv::C:
lib/Target/AMDGPU/SIISelLowering.cpp
 2577   case CallingConv::C:
lib/Target/ARC/ARCISelLowering.cpp
  438   case CallingConv::C:
lib/Target/ARM/ARMFastISel.cpp
 1854   case CallingConv::C:
 3014   case CallingConv::C:
lib/Target/ARM/ARMISelLowering.cpp
 1865   case CallingConv::C:
 3208       CallingConv::C, Type::getInt32Ty(*DAG.getContext()),
 3599           ARI->getCallPreservedMask(DAG.getMachineFunction(), CallingConv::C);
lib/Target/BPF/BPFISelLowering.cpp
  213   case CallingConv::C:
  295   case CallingConv::C:
lib/Target/Hexagon/HexagonISelLowering.cpp
 1094   const uint32_t *Mask = HRI.getCallPreservedMask(MF, CallingConv::C);
 3142     bool R = (CallerCC == CallingConv::C || CallerCC == CallingConv::Fast);
 3143     bool E = (CalleeCC == CallingConv::C || CalleeCC == CallingConv::Fast);
lib/Target/Lanai/LanaiISelLowering.cpp
  401   case CallingConv::C:
  427   case CallingConv::C:
lib/Target/MSP430/MSP430ISelLowering.cpp
  559   case CallingConv::C:
  591   case CallingConv::C:
lib/Target/Mips/MipsCallLowering.cpp
  540   if (Info.CallConv != CallingConv::C)
lib/Target/Mips/MipsFastISel.cpp
 1329   if (CC != CallingConv::C) {
lib/Target/Mips/MipsISelLowering.cpp
 2051         .setLibCallee(CallingConv::C, PtrTy, TlsGetAddr, std::move(Args));
lib/Target/PowerPC/PPCISelLowering.cpp
 3173       CallingConv::C, Type::getVoidTy(*DAG.getContext()),
 4616       return  CC == CallingConv::C || CC == CallingConv::Fast;
 4625   return CallerCC == CallingConv::C || CallerCC == CalleeCC;
 5422   assert((CallConv == CallingConv::C ||
 6790   assert((CallConv == CallingConv::C ||
lib/Target/RISCV/RISCVISelLowering.cpp
  569       .setLibCallee(CallingConv::C, CallTy,
 1873   case CallingConv::C:
lib/Target/Sparc/SparcISelLowering.cpp
 2058         DAG.getMachineFunction(), CallingConv::C);
 2182     .setCallee(CallingConv::C, RetTyABI, Callee, std::move(Args));
 2233     .setCallee(CallingConv::C, RetTy, Callee, std::move(Args));
lib/Target/SystemZ/SystemZISelLowering.cpp
 2890       TRI->getCallPreservedMask(DAG.getMachineFunction(), CallingConv::C);
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  630   return CallConv == CallingConv::C || CallConv == CallingConv::Fast ||
lib/Target/X86/X86CallLowering.cpp
  389   if (!STI.isTargetLinux() || !(Info.CallConv == CallingConv::C ||
lib/Target/X86/X86FastISel.cpp
 1161   if (CC != CallingConv::C &&
 3066   if (CC != CallingConv::C)
 3211   case CallingConv::C:
lib/Target/X86/X86ISelDAGToDAG.cpp
 1319         .setCallee(CallingConv::C, Type::getVoidTy(*CurDAG->getContext()),
lib/Target/X86/X86ISelLowering.cpp
 2196   if (CC != CallingConv::C && CC != CallingConv::X86_StdCall)
 2973   case CallingConv::C:
24442     case CallingConv::C:
27316       .setLibCallee(CallingConv::C, RetTy, Callee, std::move(Args));
30090       Subtarget.getRegisterInfo()->getCallPreservedMask(*MF, CallingConv::C);
30243       Subtarget.getRegisterInfo()->getCallPreservedMask(*F, CallingConv::C);
lib/Target/X86/X86SelectionDAGInfo.cpp
   90           .setLibCallee(CallingConv::C, Type::getVoidTy(*DAG.getContext()),
lib/Target/X86/X86Subtarget.h
  820     case CallingConv::C:
lib/Target/XCore/XCoreISelLowering.cpp
  475       CallingConv::C, IntPtrTy,
  529       CallingConv::C, Type::getVoidTy(Context),
 1052     case CallingConv::C:
 1248     case CallingConv::C:
lib/Transforms/IPO/GlobalOpt.cpp
 2138   if (CC != CallingConv::C && CC != CallingConv::X86_ThisCall)
lib/Transforms/Utils/SimplifyLibCalls.cpp
   64   case llvm::CallingConv::C:
tools/clang/lib/CodeGen/ABIInfo.h
   57         : CGT(cgt), RuntimeCC(llvm::CallingConv::C) {}
tools/clang/lib/CodeGen/CGCall.cpp
   46   default: return llvm::CallingConv::C;
   57   case CC_X86Pascal: return llvm::CallingConv::C;
tools/clang/lib/CodeGen/TargetInfo.cpp
 5785   if (FI.getCallingConvention() != llvm::CallingConv::C)
 5789   if (cc != llvm::CallingConv::C)
 5817   assert(getRuntimeCC() == llvm::CallingConv::C);
 6278   if (callConvention != llvm::CallingConv::C)
 6451   if (FI.getCallingConvention() != llvm::CallingConv::C)
tools/llvm-stress/llvm-stress.cpp
  170   Func->setCallingConv(CallingConv::C);
unittests/IR/LegacyPassManagerTest.cpp
  493       func_test1->setCallingConv(CallingConv::C);
  501       func_test2->setCallingConv(CallingConv::C);
  509       func_test3->setCallingConv(CallingConv::C);
  517       func_test4->setCallingConv(CallingConv::C);
  538         int32_3->setCallingConv(CallingConv::C);
  554         int32_6->setCallingConv(CallingConv::C);
  570         int32_9->setCallingConv(CallingConv::C);
unittests/IR/ManglerTest.cpp
   57                        llvm::CallingConv::C, Mod, Mang),
   60                        llvm::CallingConv::C, Mod, Mang),
   63                        llvm::CallingConv::C, Mod, Mang),
   77                        llvm::CallingConv::C, Mod, Mang),
   80                        llvm::CallingConv::C, Mod, Mang),
   83                        llvm::CallingConv::C, Mod, Mang),
  113                        llvm::CallingConv::C, Mod, Mang),
  116                        llvm::CallingConv::C, Mod, Mang),
  119                        llvm::CallingConv::C, Mod, Mang),
unittests/Linker/LinkModulesTest.cpp
   33     F->setCallingConv(CallingConv::C);
  140   F->setCallingConv(CallingConv::C);
  155   F->setCallingConv(CallingConv::C);