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

References

lib/AsmParser/LLParser.cpp
 5493   Fn->setCallingConv(CC);
lib/Bitcode/Reader/BitcodeReader.cpp
 3227   Func->setCallingConv(CC);
lib/IR/Core.cpp
 2371   return unwrap<Function>(Fn)->setCallingConv(
lib/IR/Function.cpp
  499   setCallingConv(Src->getCallingConv());
 1413   NewDecl->setCallingConv(F->getCallingConv());
lib/Target/AArch64/AArch64ISelLowering.cpp
12297       F->setCallingConv(CallingConv::Win64);
lib/Target/X86/X86ISelLowering.cpp
 2330       F->setCallingConv(CallingConv::X86_FastCall);
lib/Target/X86/X86WinEHState.cpp
  305         ->setCallingConv(CallingConv::X86_StdCall);
  361         ->setCallingConv(CallingConv::X86_StdCall);
lib/Transforms/Coroutines/CoroEarly.cpp
  125     NoopFn->setCallingConv(CallingConv::Fast);
lib/Transforms/Coroutines/CoroSplit.cpp
  719   NewF->setCallingConv(Shape.getResumeFunctionCC());
lib/Transforms/IPO/GlobalOpt.cpp
 2320         F->setCallingConv(CallingConv::Cold);
 2332       F->setCallingConv(CallingConv::Fast);
lib/Transforms/IPO/HotColdSplitting.cpp
  324       OutF->setCallingConv(CallingConv::Cold);
lib/Transforms/IPO/PartialInlining.cpp
 1165         OutlinedFunc->setCallingConv(CallingConv::Cold);
lib/Transforms/Scalar/LowerGuardIntrinsic.cpp
   60   DeoptIntrinsic->setCallingConv(GuardDecl->getCallingConv());
lib/Transforms/Scalar/MakeGuardsExplicit.cpp
   97   DeoptIntrinsic->setCallingConv(GuardDecl->getCallingConv());
lib/Transforms/Utils/InlineFunction.cpp
 2142         NewDeoptIntrinsic->setCallingConv(CallingConv);
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  348   Fn->setCallingConv(getRuntimeCC());
  608     Fn->setCallingConv(llvm::CallingConv::SPIR_KERNEL);
  612     Fn->setCallingConv(llvm::CallingConv::AMDGPU_KERNEL);
tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp
  182   F->setCallingConv(
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1223   F->setCallingConv(static_cast<llvm::CallingConv::ID>(CallingConv));
 3353       F->setCallingConv(getRuntimeCC());
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2543     Wrapper->setCallingConv(llvm::CallingConv::CXX_FAST_TLS);
 2591       InitFunc->setCallingConv(llvm::CallingConv::CXX_FAST_TLS);
 2685           Fn->setCallingConv(llvm::CallingConv::CXX_FAST_TLS);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  741         Fn->setCallingConv(llvm::CallingConv::X86_StdCall);
 3904   ThunkFn->setCallingConv(static_cast<llvm::CallingConv::ID>(
tools/clang/lib/CodeGen/TargetInfo.cpp
 1991       Fn->setCallingConv(llvm::CallingConv::X86_INTR);
 2363         Fn->setCallingConv(llvm::CallingConv::X86_INTR);
 2474       Fn->setCallingConv(llvm::CallingConv::X86_INTR);
 6919     F->setCallingConv(llvm::CallingConv::MSP430_INTR);
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);
unittests/IR/ManglerTest.cpp
   36   F->setCallingConv(CC);
unittests/Linker/LinkModulesTest.cpp
   33     F->setCallingConv(CallingConv::C);
  140   F->setCallingConv(CallingConv::C);
  155   F->setCallingConv(CallingConv::C);
unittests/Transforms/Utils/CloningTest.cpp
  191   F1->setCallingConv(CallingConv::Cold);