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

Declarations

tools/clang/lib/CodeGen/CodeGenModule.h
 1033   CreateRuntimeFunction(llvm::FunctionType *Ty, StringRef Name,

References

tools/clang/lib/CodeGen/CGAtomic.cpp
  309   llvm::FunctionCallee fn = CGF.CGM.CreateRuntimeFunction(fnTy, fnName);
tools/clang/lib/CodeGen/CGBlocks.cpp
 2989   BlockObjectDispose = CreateRuntimeFunction(fty, "_Block_object_dispose");
 3002   BlockObjectAssign = CreateRuntimeFunction(fty, "_Block_object_assign");
tools/clang/lib/CodeGen/CGBuiltin.cpp
  859   llvm::FunctionCallee SetJmpFn = CGF.CGM.CreateRuntimeFunction(
 2887     llvm::FunctionCallee Func = CGM.CreateRuntimeFunction(FTy, LibCallName);
 3587           Builder.CreateCall(CGM.CreateRuntimeFunction(FTy, Name),
 3607           CGM.CreateRuntimeFunction(FTy, Name),
 3650         Builder.CreateCall(CGM.CreateRuntimeFunction(FTy, Name),
 3688         Builder.CreateCall(CGM.CreateRuntimeFunction(FTy, Name),
 3712     return RValue::get(Builder.CreateCall(CGM.CreateRuntimeFunction(FTy, Name),
 3735         Builder.CreateCall(CGM.CreateRuntimeFunction(FTy, NewName), {NewArg});
 3778           Builder.CreateCall(CGM.CreateRuntimeFunction(FTy, Name, ByValAttrSet),
 3839           RValue::get(Builder.CreateCall(CGM.CreateRuntimeFunction(FTy, Name),
 3898             Builder.CreateCall(CGM.CreateRuntimeFunction(FTy, Name),
 3915           RValue::get(Builder.CreateCall(CGM.CreateRuntimeFunction(FTy, Name),
 3933         CGM.CreateRuntimeFunction(
 3947         CGM.CreateRuntimeFunction(
 3968         CGM.CreateRuntimeFunction(
 6077     return EmitNounwindRuntimeCall(CGM.CreateRuntimeFunction(FTy, Name), Ops);
 7149     return EmitNounwindRuntimeCall(CGM.CreateRuntimeFunction(FTy, Name), Ops);
10149       CGM.CreateRuntimeFunction(FTy, "__cpu_indicator_init");
tools/clang/lib/CodeGen/CGCUDANV.cpp
  174   return CGM.CreateRuntimeFunction(
  182     return CGM.CreateRuntimeFunction(
  186     return CGM.CreateRuntimeFunction(
  302   llvm::FunctionCallee cudaPopConfigFn = CGM.CreateRuntimeFunction(
  337       CGM.CreateRuntimeFunction(FTy, LaunchKernelName);
  412   llvm::FunctionCallee RegisterFunc = CGM.CreateRuntimeFunction(
  442   llvm::FunctionCallee RegisterVar = CGM.CreateRuntimeFunction(
  505   llvm::FunctionCallee RegisterFatbinFunc = CGM.CreateRuntimeFunction(
  684       llvm::FunctionCallee RegisterFatbinEndFunc = CGM.CreateRuntimeFunction(
  705     llvm::FunctionCallee RegisterLinkedBinaryFunc = CGM.CreateRuntimeFunction(
  724         CGM.CreateRuntimeFunction(AtExitTy, "atexit", llvm::AttributeList(),
  758   llvm::FunctionCallee UnregisterFatbinFunc = CGM.CreateRuntimeFunction(
tools/clang/lib/CodeGen/CGCall.cpp
 4434             CGM.CreateRuntimeFunction(FnType, "__asan_handle_no_return");
tools/clang/lib/CodeGen/CGClass.cpp
  797   llvm::FunctionCallee F = CGM.CreateRuntimeFunction(
 1648        CGF.CGM.CreateRuntimeFunction(FnType, "__sanitizer_dtor_callback");
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  275       CGM.CreateRuntimeFunction(atexitTy, "atexit", llvm::AttributeList(),
tools/clang/lib/CodeGen/CGException.cpp
   37   return CGM.CreateRuntimeFunction(FTy, "__cxa_free_exception");
   46   return CGM.CreateRuntimeFunction(FTy, "__cxa_call_unexpected");
   72   return CreateRuntimeFunction(FTy, name);
   80   return CGM.CreateRuntimeFunction(FTy, Name);
  240   return CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.Int32Ty, true),
tools/clang/lib/CodeGen/CGExpr.cpp
 2991   llvm::FunctionCallee Fn = CGF.CGM.CreateRuntimeFunction(
tools/clang/lib/CodeGen/CGExprComplex.cpp
  643   llvm::FunctionCallee Func = CGF.CGM.CreateRuntimeFunction(
tools/clang/lib/CodeGen/CGExprScalar.cpp
 3126       CGF.CGM.CreateRuntimeFunction(handlerTy, *handlerName);
tools/clang/lib/CodeGen/CGObjC.cpp
 2091     fn = CGF.CGM.CreateRuntimeFunction(fnType, fnName);
 2506       fn = CGM.CreateRuntimeFunction(fnType, "objc_autoreleasePoolPop");
 2640     fn = CGM.CreateRuntimeFunction(fnType, "objc_release");
 3705         CGM.CreateRuntimeFunction(FTy, "__isOSVersionAtLeast");
 3733       CreateRuntimeFunction(FTy, "CFBundleGetVersionNumber");
 3736   llvm::FunctionCallee CFLinkCheckFuncRef = CreateRuntimeFunction(
tools/clang/lib/CodeGen/CGObjCGNU.cpp
   95       Function = CGM->CreateRuntimeFunction(FTy, FunctionName);
  963     llvm::FunctionCallee Fn = CGM.CreateRuntimeFunction(FT, FunctionName);
 2281   llvm::FunctionCallee ClassLookupFn = CGM.CreateRuntimeFunction(
 2540         classLookupFunction = CGM.CreateRuntimeFunction(llvm::FunctionType::get(
 2543         classLookupFunction = CGM.CreateRuntimeFunction(llvm::FunctionType::get(
 2700             CGM.CreateRuntimeFunction(llvm::FunctionType::get(IdTy, IdTy, true),
 2707             CGM.CreateRuntimeFunction(llvm::FunctionType::get(IdTy, IdTy, true),
 2711         imp = CGM.CreateRuntimeFunction(
 3807       CGM.CreateRuntimeFunction(FT, "__objc_exec_class");
tools/clang/lib/CodeGen/CGObjCMac.cpp
   66     return CGM.CreateRuntimeFunction(
   80     return CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.VoidTy,
   92     return CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.DoubleTy,
  108     return CGM.CreateRuntimeFunction(llvm::FunctionType::get(resultType,
  120     return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
  131     return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
  142     return CGM.CreateRuntimeFunction(
  153     return CGM.CreateRuntimeFunction(
  244     return CGM.CreateRuntimeFunction(FTy, "objc_getProperty");
  263     return CGM.CreateRuntimeFunction(FTy, "objc_setProperty");
  298     return CGM.CreateRuntimeFunction(FTy, name);
  314     return CGM.CreateRuntimeFunction(FTy, "objc_copyStruct");
  332     return CGM.CreateRuntimeFunction(FTy, "objc_copyCppObjectAtomic");
  344     return CGM.CreateRuntimeFunction(FTy, "objc_enumerationMutation");
  358     return CGM.CreateRuntimeFunction(FTy, "objc_lookUpClass");
  367     return CGM.CreateRuntimeFunction(FTy, "objc_read_weak");
  376     return CGM.CreateRuntimeFunction(FTy, "objc_assign_weak");
  385     return CGM.CreateRuntimeFunction(FTy, "objc_assign_global");
  394     return CGM.CreateRuntimeFunction(FTy, "objc_assign_threadlocal");
  404     return CGM.CreateRuntimeFunction(FTy, "objc_assign_ivar");
  412     return CGM.CreateRuntimeFunction(FTy, "objc_memmove_collectable");
  421     return CGM.CreateRuntimeFunction(FTy, "objc_assign_strongCast");
  430     return CGM.CreateRuntimeFunction(FTy, "objc_exception_throw");
  437     return CGM.CreateRuntimeFunction(FTy, "objc_exception_rethrow");
  446     return CGM.CreateRuntimeFunction(FTy, "objc_sync_enter");
  455     return CGM.CreateRuntimeFunction(FTy, "objc_sync_exit");
  554     return CGM.CreateRuntimeFunction(
  562     return CGM.CreateRuntimeFunction(
  570     return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
  578     return CGM.CreateRuntimeFunction(
  587     return CGM.CreateRuntimeFunction(
  673     return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
  681     return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
  689     return CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
  698     return  CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
  707     return  CGM.CreateRuntimeFunction(llvm::FunctionType::get(ObjectPtrTy,
  713     return CGM.CreateRuntimeFunction(llvm::FunctionType::get(CGM.VoidTy, false),
  719     return CGM.CreateRuntimeFunction(llvm::FunctionType::get(Int8PtrTy,
  736     llvm::FunctionCallee F = CGM.CreateRuntimeFunction(
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1785     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_fork_call");
 1809     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_global_thread_num");
 1820     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_threadprivate_cached");
 1831     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_critical");
 1842     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_critical_with_hint");
 1866     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_threadprivate_register");
 1877     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_end_critical");
 1886     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name*/ "__kmpc_cancel_barrier");
 1894     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name*/ "__kmpc_barrier");
 1902     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_for_static_fini");
 1912     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_push_num_threads");
 1921     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_serialized_parallel");
 1930     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_end_serialized_parallel");
 1938     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_flush");
 1946     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_master");
 1954     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_end_master");
 1963     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_omp_taskyield");
 1971     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_single");
 1979     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_end_single");
 1993     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_omp_task_alloc");
 2008     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_omp_target_task_alloc");
 2018     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_omp_task");
 2033     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_copyprivate");
 2049     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_reduce");
 2066     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_reduce_nowait");
 2077     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_end_reduce");
 2089         CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_end_reduce_nowait");
 2100         CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_omp_task_begin_if0");
 2110     RTLFn = CGM.CreateRuntimeFunction(FnTy,
 2119     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_ordered");
 2127     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_end_ordered");
 2135     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_omp_taskwait");
 2143     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_taskgroup");
 2151     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_end_taskgroup");
 2160     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_push_proc_bind");
 2173         CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_omp_task_with_deps");
 2185     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_omp_wait_deps");
 2194     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_cancellationpoint");
 2203     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_cancel");
 2213     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_push_num_teams");
 2223     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_fork_teams");
 2259     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_taskloop");
 2271     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_doacross_init");
 2279     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_doacross_fini");
 2289     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_doacross_post");
 2299     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_doacross_wait");
 2309         CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_task_reduction_init");
 2318     RTLFn = CGM.CreateRuntimeFunction(
 2328     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_alloc");
 2337     RTLFn = CGM.CreateRuntimeFunction(FnTy, /*Name=*/"__kmpc_free");
 2346     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_push_target_tripcount");
 2362     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_target");
 2378     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_target_nowait");
 2396     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_target_teams");
 2414     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_target_teams_nowait");
 2422     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_register_requires");
 2432     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_register_lib");
 2442     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_unregister_lib");
 2456     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_target_data_begin");
 2471     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_target_data_begin_nowait");
 2485     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_target_data_end");
 2500     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_target_data_end_nowait");
 2514     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_target_data_update");
 2529     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_target_data_update_nowait");
 2537     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_mapper_num_components");
 2547     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__tgt_push_mapper_component");
 2578   return CGM.CreateRuntimeFunction(FnTy, Name);
 2600   return CGM.CreateRuntimeFunction(FnTy, Name);
 2617   return CGM.CreateRuntimeFunction(FnTy, Name);
 2640   return CGM.CreateRuntimeFunction(FnTy, Name);
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1535     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_kernel_init");
 1543     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_kernel_deinit");
 1552     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_spmd_kernel_init");
 1560     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_spmd_kernel_deinit_v2");
 1569     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_kernel_prepare_parallel");
 1579     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_kernel_parallel");
 1586     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_kernel_end_parallel");
 1595     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_serialized_parallel");
 1604     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_end_serialized_parallel");
 1613     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_shuffle_int32");
 1622     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_shuffle_int64");
 1649     RTLFn = CGM.CreateRuntimeFunction(
 1658     RTLFn = CGM.CreateRuntimeFunction(
 1701     RTLFn = CGM.CreateRuntimeFunction(
 1709     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_data_sharing_init_stack");
 1717         CGM.CreateRuntimeFunction(FnTy, "__kmpc_data_sharing_init_stack_spmd");
 1726     RTLFn = CGM.CreateRuntimeFunction(
 1735     RTLFn = CGM.CreateRuntimeFunction(FnTy,
 1745     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_begin_sharing_variables");
 1752     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_end_sharing_variables");
 1760     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_get_shared_variables");
 1768     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_parallel_level");
 1774     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_is_spmd_exec_mode");
 1784     RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_get_team_static_memory");
 1794         CGM.CreateRuntimeFunction(FnTy, "__kmpc_restore_team_static_memory");
tools/clang/lib/CodeGen/CGVTables.cpp
  682           CGM.CreateRuntimeFunction(fnTy, name).getCallee());
tools/clang/lib/CodeGen/CodeGenModule.cpp
 5927   return CGF.Builder.CreateCall(CreateRuntimeFunction(FTy,
tools/clang/lib/CodeGen/CodeGenModule.h
 1044     return CreateRuntimeFunction(Ty, Name, ExtraAttrs, Local, true);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 1217   llvm::FunctionCallee Fn = CGM.CreateRuntimeFunction(FTy, "__cxa_rethrow");
 1231   return CGM.CreateRuntimeFunction(FTy, "__cxa_allocate_exception");
 1242   return CGM.CreateRuntimeFunction(FTy, "__cxa_throw");
 1299   return CGF.CGM.CreateRuntimeFunction(FTy, "__dynamic_cast", Attrs);
 1305   return CGF.CGM.CreateRuntimeFunction(FTy, "__cxa_bad_cast");
 1364   return CGF.CGM.CreateRuntimeFunction(FTy, "__cxa_bad_typeid");
 2030         CGM.CreateRuntimeFunction(FTy, "__asan_poison_cxx_array_cookie");
 2061       CGM.CreateRuntimeFunction(FTy, "__asan_load_cxx_array_cookie");
 2124   return CGM.CreateRuntimeFunction(
 2136   return CGM.CreateRuntimeFunction(
 2148   return CGM.CreateRuntimeFunction(
 2390   llvm::FunctionCallee atexit = CGF.CGM.CreateRuntimeFunction(atexitTy, Name);
 4024   return CGM.CreateRuntimeFunction(FTy, "__cxa_begin_catch");
 4032   return CGM.CreateRuntimeFunction(FTy, "__cxa_end_catch");
 4040   return CGM.CreateRuntimeFunction(FTy, "__cxa_get_exception_ptr");
 4313   llvm::FunctionCallee fnRef = CGM.CreateRuntimeFunction(
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  737         CGM.CreateRuntimeFunction(FTy, "_CxxThrowException");
  938   llvm::FunctionCallee Fn = CGF.CGM.CreateRuntimeFunction(FTy, "__RTtypeid");
  990   llvm::FunctionCallee Function = CGF.CGM.CreateRuntimeFunction(
 1010   llvm::FunctionCallee Function = CGF.CGM.CreateRuntimeFunction(
 2267   llvm::FunctionCallee TLRegDtor = CGF.CGM.CreateRuntimeFunction(
 2366   return CGM.CreateRuntimeFunction(
 2378   return CGM.CreateRuntimeFunction(
 2390   return CGM.CreateRuntimeFunction(