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

References

examples/BrainF/BrainF.cpp
   85   brainf_func = Function::Create(FunctionType::get(Type::getVoidTy(C), false),
examples/BrainF/BrainFDriver.cpp
   81       Function::Create(main_func_fty, Function::ExternalLinkage, "main", mod);
examples/Fibonacci/fibonacci.cpp
   57       Function::Create(FibFTy, Function::ExternalLinkage, "fib", M);
examples/HowToUseJIT/HowToUseJIT.cpp
   72       Function::Create(FunctionType::get(Type::getInt32Ty(Context),
  103       Function::Create(FunctionType::get(Type::getInt32Ty(Context), {}, false),
examples/HowToUseLLJIT/HowToUseLLJIT.cpp
   29       Function::Create(FunctionType::get(Type::getInt32Ty(*Context),
examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
 1042       Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp
 1042       Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp
 1041       Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp
 1027       Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp
 1051       Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
examples/Kaleidoscope/Chapter3/toy.cpp
  473       Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
examples/Kaleidoscope/Chapter4/toy.cpp
  501       Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
examples/Kaleidoscope/Chapter5/toy.cpp
  775       Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
examples/Kaleidoscope/Chapter6/toy.cpp
  887       Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
examples/Kaleidoscope/Chapter7/toy.cpp
 1047       Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
examples/Kaleidoscope/Chapter8/toy.cpp
 1046       Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
examples/Kaleidoscope/Chapter9/toy.cpp
 1213       Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
examples/ModuleMaker/ModuleMaker.cpp
   43   Function *F = Function::Create(FT, Function::ExternalLinkage, "main", M);
examples/ParallelJIT/ParallelJIT.cpp
   54       Function::Create(FunctionType::get(Type::getInt32Ty(Context),
   87       Function::Create(FibFTy, Function::ExternalLinkage, "fib", M);
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  668           return Function::Create(cast<FunctionType>(Ty),
include/llvm/LinkAllPasses.h
  232       llvm::Function::Create(nullptr, llvm::GlobalValue::ExternalLinkage)->viewCFGOnly();
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
  289     Function::Create(cast<FunctionType>(F.getValueType()),
lib/ExecutionEngine/Orc/Speculation.cpp
   76         Function::Create(RuntimeCallTy, Function::LinkageTypes::ExternalLinkage,
lib/FuzzMutate/IRMutator.cpp
   28   Function *F = Function::Create(FunctionType::get(Type::getVoidTy(Context), {},
lib/IR/Core.cpp
 2256   return wrap(Function::Create(unwrap<FunctionType>(FunctionTy),
lib/Linker/IRMover.cpp
  658       Function::Create(TypeMap.get(SF->getFunctionType()),
  697           Function::Create(cast<FunctionType>(TypeMap.get(SGV->getValueType())),
lib/Linker/LinkModules.cpp
  444       Declaration = Function::Create(FTy, GlobalValue::ExternalLinkage, "", &M);
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  363   Function *NewFunc = Function::Create(NewFuncTy, Function::PrivateLinkage,
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
  306     auto NewF = Function::Create(NewFT, F->getLinkage(), F->getName());
lib/Target/Mips/Mips16HardFloat.cpp
  271   FStub = Function::Create(F.getFunctionType(),
  455   Function *FStub = Function::Create
lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp
  126         Function::Create(NewType, F.getLinkage(), F.getName() + ".fixed_sig");
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
  121   Function *Wrapper = Function::Create(Ty, Function::PrivateLinkage,
  211     Wrapper = Function::Create(Ty, Function::PrivateLinkage,
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  359   Function *F = Function::Create(
  470       Function::Create(FTy, GlobalValue::ExternalLinkage, "__invoke_" + Sig, M);
  642       Function::Create(FunctionType::get(IRB.getInt32Ty(), false),
  644   SetTempRet0Func = Function::Create(
  657     ResumeF = Function::Create(ResumeFTy, GlobalValue::ExternalLinkage,
  663     EHTypeIDF = Function::Create(EHTypeIDTy, GlobalValue::ExternalLinkage,
  680       EmLongjmpJmpbufF = Function::Create(LongjmpF->getFunctionType(),
  696           Function::Create(FTy, GlobalValue::ExternalLinkage, "saveSetjmp", &M);
  702           Function::Create(FTy, GlobalValue::ExternalLinkage, "testSetjmp", &M);
  706       EmLongjmpF = Function::Create(FTy, GlobalValue::ExternalLinkage,
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
  137       Function *CallDtors = Function::Create(
  153       Function *RegisterCallDtors = Function::Create(
lib/Target/X86/X86RetpolineThunks.cpp
  202       Function::Create(Type, GlobalValue::LinkOnceODRLinkage, Name, &M);
lib/Target/X86/X86WinEHState.cpp
  402       Function::Create(TrampolineTy, GlobalValue::InternalLinkage,
lib/Transforms/Coroutines/CoroEarly.cpp
  123         Function::Create(FnTy, GlobalValue::LinkageTypes::PrivateLinkage,
lib/Transforms/Coroutines/CoroSplit.cpp
  400       Function::Create(FnTy, GlobalValue::LinkageTypes::InternalLinkage,
 1422       Function::Create(FnTy, GlobalValue::LinkageTypes::PrivateLinkage,
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 2032       Function::Create(FunctionType::get(Type::getVoidTy(*C), false),
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  855     Function *F = Function::Create(FTy, GlobalValue::InternalLinkage,
  945     WriteoutF = Function::Create(WriteoutFTy, GlobalValue::InternalLinkage,
 1194     FlushF = Function::Create(FTy, GlobalValue::InternalLinkage,
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1471     auto *ThunkFn = Function::Create(ThunkFnTy,
lib/Transforms/Instrumentation/InstrProfiling.cpp
  950   auto *RegisterF = Function::Create(RegisterFTy, GlobalValue::InternalLinkage,
  958       Function::Create(RuntimeRegisterTy, GlobalVariable::ExternalLinkage,
  971         Function::Create(NamesRegisterTy, GlobalVariable::ExternalLinkage,
  997   auto *User = Function::Create(FunctionType::get(Int32Ty, false),
 1034   auto *F = Function::Create(FunctionType::get(VoidTy, false),
lib/Transforms/Utils/ModuleUtils.cpp
  128   Function *Ctor = Function::Create(
lib/Transforms/Utils/SanitizerStats.cpp
   94   auto F = Function::Create(FunctionType::get(VoidTy, false),
lib/Transforms/Vectorize/LoopVectorize.cpp
 4312               Function::Create(FTy, Function::ExternalLinkage, VFnName, M);
tools/bugpoint/Miscompilation.cpp
  797           Function::Create(oldMain->getFunctionType(),
  801       Function *oldMainProto = Function::Create(oldMain->getFunctionType(),
  872               Function::Create(FuncTy, GlobalValue::InternalLinkage,
tools/clang/lib/CodeGen/CGBlocks.cpp
 1445     auto *Init = llvm::Function::Create(llvm::FunctionType::get(CGM.VoidTy,
 1574   llvm::Function *fn = llvm::Function::Create(
 2020     llvm::Function::Create(LTy, llvm::GlobalValue::LinkOnceODRLinkage,
 2213     llvm::Function::Create(LTy, llvm::GlobalValue::LinkOnceODRLinkage,
 2465     llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage,
 2540     llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage,
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1167   llvm::Function *Fn = llvm::Function::Create(
tools/clang/lib/CodeGen/CGCUDANV.cpp
  106     llvm::Function *DummyFunc = llvm::Function::Create(
  399   llvm::Function *RegisterKernelsFunc = llvm::Function::Create(
  528   llvm::Function *ModuleCtorFunc = llvm::Function::Create(
  762   llvm::Function *ModuleDtorFunc = llvm::Function::Create(
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  338     llvm::Function::Create(FTy, llvm::GlobalValue::InternalLinkage,
tools/clang/lib/CodeGen/CGException.cpp
 1878   llvm::Function *Fn = llvm::Function::Create(
tools/clang/lib/CodeGen/CGExpr.cpp
 3166   llvm::Function *F = llvm::Function::Create(
 3200   llvm::Function *F = llvm::Function::Create(
tools/clang/lib/CodeGen/CGGPUBuiltin.cpp
   39   return llvm::Function::Create(
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  456         llvm::Function::Create(FuncTy, llvm::GlobalValue::LinkOnceODRLinkage,
tools/clang/lib/CodeGen/CGObjC.cpp
 3535     llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage,
 3618   llvm::Function *Fn = llvm::Function::Create(
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1521     llvm::Function *LoadFunction = llvm::Function::Create(
 1637       auto *Init = llvm::Function::Create(llvm::FunctionType::get(CGM.VoidTy,
 3795   llvm::Function * LoadFunction = llvm::Function::Create(
 3815     llvm::Function *RegisterAlias = llvm::Function::Create(
 3869     = llvm::Function::Create(MethodTy,
tools/clang/lib/CodeGen/CGObjCMac.cpp
 3980     llvm::Function::Create(MethodTy,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1366   auto *Fn = llvm::Function::Create(FnTy, llvm::GlobalValue::InternalLinkage,
 3305   auto *Fn = llvm::Function::Create(CGM.getTypes().GetFunctionType(CGFI),
 4515   auto *TaskEntry = llvm::Function::Create(
 4619       llvm::Function::Create(DestructorFnTy, llvm::GlobalValue::InternalLinkage,
 4712   auto *TaskPrivatesMap = llvm::Function::Create(
 4902   auto *TaskDup = llvm::Function::Create(
 5575   auto *Fn = llvm::Function::Create(CGM.getTypes().GetFunctionType(CGFI),
 6012   auto *Fn = llvm::Function::Create(FnTy, llvm::GlobalValue::InternalLinkage,
 6089   auto *Fn = llvm::Function::Create(FnTy, llvm::GlobalValue::InternalLinkage,
 6159   auto *Fn = llvm::Function::Create(FnTy, llvm::GlobalValue::InternalLinkage,
 8868   auto *Fn = llvm::Function::Create(FnTy, llvm::GlobalValue::InternalLinkage,
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  704   WorkerFn = llvm::Function::Create(
 3190   auto *Fn = llvm::Function::Create(CGM.getTypes().GetFunctionType(CGFI),
 3484   auto *Fn = llvm::Function::Create(
 3645   auto *Fn = llvm::Function::Create(
 3751   auto *Fn = llvm::Function::Create(
 3845   auto *Fn = llvm::Function::Create(
 3951   auto *Fn = llvm::Function::Create(
 4561   auto *Fn = llvm::Function::Create(
tools/clang/lib/CodeGen/CGStmt.cpp
 2417     llvm::Function::Create(FuncLLVMTy, llvm::GlobalValue::InternalLinkage,
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  473       llvm::Function::Create(FuncLLVMTy, llvm::GlobalValue::InternalLinkage,
tools/clang/lib/CodeGen/CGVTables.cpp
  528     ThunkFn = llvm::Function::Create(ThunkFnTy, llvm::Function::ExternalLinkage,
tools/clang/lib/CodeGen/CodeGenModule.cpp
 3175       llvm::Function::Create(FTy, llvm::Function::ExternalLinkage,
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2529       llvm::Function::Create(FnTy, getThreadLocalWrapperLinkage(VD, CGM),
 2660       Init = llvm::Function::Create(InitFnTy,
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 1985       llvm::Function::Create(ThunkTy, llvm::Function::ExternalLinkage,
 3902   llvm::Function *ThunkFn = llvm::Function::Create(
tools/clang/lib/CodeGen/TargetInfo.cpp
 9898   auto *F = llvm::Function::Create(FT, llvm::GlobalValue::InternalLinkage, Name,
 9956   auto *F = llvm::Function::Create(FT, llvm::GlobalValue::InternalLinkage, Name,
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
  249     auto *Func = Function::Create(FuncTy, GlobalValue::InternalLinkage,
  270     auto *Func = Function::Create(FuncTy, GlobalValue::InternalLinkage,
tools/lli/lli.cpp
  321       Function::Create(FunctionType::get(ReturnTy, {}, false),
tools/llvm-exegesis/lib/Assembler.cpp
   81   Function *const F = Function::Create(
tools/llvm-stress/llvm-stress.cpp
  169   auto *Func = Function::Create(FuncTy, GlobalValue::ExternalLinkage, Name, M);
tools/polly/lib/CodeGen/LoopGeneratorsGOMP.cpp
   41     F = Function::Create(Ty, Linkage, Name, M);
   63   Function *SubFn = Function::Create(FT, Function::InternalLinkage,
  183     F = Function::Create(Ty, Linkage, Name, M);
  203     F = Function::Create(Ty, Linkage, Name, M);
  219     F = Function::Create(Ty, Linkage, Name, M);
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp
   45     F = Function::Create(Ty, Linkage, Name, M);
   85   Function *SubFn = Function::Create(FT, Function::InternalLinkage,
  284     F = Function::Create(Ty, Linkage, Name, M);
  304     F = Function::Create(Ty, Linkage, Name, M);
  337     F = Function::Create(Ty, Linkage, Name, M);
  366     F = Function::Create(Ty, Linkage, Name, M);
  396     F = Function::Create(Ty, Linkage, Name, M);
  435     F = Function::Create(Ty, Linkage, Name, M);
tools/polly/lib/CodeGen/PerfMonitor.cpp
   29     F = Function::Create(Ty, Linkage, Name, M);
  128       Function::Create(Ty, Linkage, FinalReportingFunctionName, M);
  218   Function *InitFn = Function::Create(Ty, Linkage, InitFunctionName, M);
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
   30     F = Function::Create(Ty, Linkage, Name, M);
   51     F = Function::Create(Ty, Linkage, Name, M);
  252     F = Function::Create(Ty, Linkage, Name, M);
  278     F = Function::Create(Ty, Linkage, Name, M);
unittests/Analysis/BasicAliasAnalysisTest.cpp
   71   F = Function::Create(
  105   F = Function::Create(
unittests/Analysis/LazyCallGraphTest.cpp
 2071   Function &E = *Function::Create(D.getFunctionType(), D.getLinkage(), "e");
unittests/Analysis/MemoryBuiltinsTest.cpp
   28   Function *AllocSizeFn = Function::Create(
unittests/Analysis/MemorySSATest.cpp
   75   F = Function::Create(
  113   F = Function::Create(
  203   F = Function::Create(
  247   F = Function::Create(
  297   F = Function::Create(
  333   F = Function::Create(
  379   F = Function::Create(
  423   F = Function::Create(
  478   F = Function::Create(
  523   F = Function::Create(
  597   F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
  628   F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
  658   F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
  702   F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
  766   F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
  795   F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
  826   F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
  884   F = Function::Create(
  923   F = Function::Create(
  968   F = Function::Create(
 1004   F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
 1047   F = Function::Create(FunctionType::get(B.getVoidTy(), {}, false),
 1096   F = Function::Create(FunctionType::get(B.getVoidTy(),
 1138   F = Function::Create(FunctionType::get(B.getVoidTy(),
 1220   F = Function::Create(
 1270   F = Function::Create(FunctionType::get(B.getVoidTy(), {B.getInt1Ty()}, false),
 1333   F = Function::Create(FunctionType::get(B.getVoidTy(),
 1411   F = Function::Create(
 1467   F = Function::Create(
 1539   F = Function::Create(
unittests/Analysis/SparsePropagation.cpp
  257   Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false),
  259   Function *G = Function::Create(FunctionType::get(Builder.getVoidTy(), false),
  293   Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false),
  295   Function *G = Function::Create(FunctionType::get(Builder.getVoidTy(), false),
  334   Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false),
  336   Function *G = Function::Create(FunctionType::get(Builder.getVoidTy(), false),
  376       Function::Create(FunctionType::get(Builder.getInt64Ty(),
  416       Function::Create(FunctionType::get(Builder.getInt64Ty(),
  459   Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false),
  461   Function *G = Function::Create(
  512   Function *P = Function::Create(FunctionType::get(Builder.getVoidTy(), false),
  514   Function *G = Function::Create(FunctionType::get(Builder.getVoidTy(), false),
  516   Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false),
unittests/Analysis/TBAATest.cpp
   36   auto *F = Function::Create(FTy, Function::ExternalLinkage, Name, M);
unittests/Analysis/VectorUtilsTest.cpp
   70         F(Function::Create(
unittests/CodeGen/MachineInstrTest.cpp
  157   auto F = Function::Create(Type, GlobalValue::ExternalLinkage, "Test", &M);
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
   49         Function::Create(FT, GlobalValue::ExternalLinkage, Name, M);
  114         Function::Create(FTy, GlobalValue::ExternalLinkage, Name, M);
  120     Function *Result = Function::Create(Func->getFunctionType(),
unittests/ExecutionEngine/Orc/OrcTestCommon.h
  171     return Function::Create(FTy, GlobalValue::ExternalLinkage, Name, M.get());
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
  186       Function *BarImpl = Function::Create(
unittests/FuzzMutate/OperationsTest.cpp
  178   Function *F = Function::Create(FunctionType::get(Type::getVoidTy(Ctx), {},
  248   Function *F = Function::Create(FunctionType::get(Type::getVoidTy(Ctx), {},
  286   Function *F = Function::Create(FunctionType::get(Type::getVoidTy(Ctx), {},
unittests/IR/BasicBlockTest.cpp
  101   Function *F = Function::Create(FT, Function::ExternalLinkage, "", M);
unittests/IR/CFGBuilder.cpp
   26   F = Function::Create(FTy, Function::ExternalLinkage, FunctionName, M.get());
unittests/IR/ConstantsTest.cpp
  483   Function *Func(Function::Create(
unittests/IR/FunctionTest.cpp
   24       Function::Create(FTy, GlobalValue::ExternalLinkage, "F"));
   52       Function::Create(FTy, GlobalValue::ExternalLinkage, "F1"));
   54       Function::Create(FTy, GlobalValue::ExternalLinkage, "F1"));
  126       Function::Create(llvm::FunctionType::get(llvm::Type::getVoidTy(C), false),
  144   std::unique_ptr<Function> Func(Function::Create(
unittests/IR/IRBuilderTest.cpp
   32     F = Function::Create(FTy, Function::ExternalLinkage, "", M.get());
  544       Function::Create(CalleeTy, Function::ExternalLinkage, "", M.get());
  550       Function::Create(CalleeTy, Function::ExternalLinkage, "", M.get());
  734   Function *G = Function::Create(F->getFunctionType(),
  801       Function::Create(CalleeTy, Function::ExternalLinkage, "", M.get());
unittests/IR/InstructionsTest.cpp
   74     F = Function::Create(FTy, Function::ExternalLinkage, "", M.get());
unittests/IR/LegacyPassManagerTest.cpp
  489       Function* func_test1 = Function::Create(
  497       Function* func_test2 = Function::Create(
  505       Function* func_test3 = Function::Create(
  513       Function* func_test4 = Function::Create(
unittests/IR/ManglerTest.cpp
   35   Function *F = Function::Create(FTy, Linkage, IRName, &Mod);
unittests/IR/MetadataTest.cpp
  349   auto *F0 = Function::Create(FTy, GlobalValue::ExternalLinkage, "F0", &M);
  350   auto *F1 = Function::Create(FTy, GlobalValue::ExternalLinkage, "F1", &M);
  372       Function::Create(FunctionType::get(Type::getVoidTy(Context),
  377   auto *F0 = Function::Create(FTy, GlobalValue::ExternalLinkage, "F0", &M);
  378   auto *F1 = Function::Create(FTy, GlobalValue::ExternalLinkage, "F1", &M);
  408   auto *F0 = Function::Create(FTy, GlobalValue::ExternalLinkage, "F0", &M);
  409   auto *F1 = Function::Create(FTy, GlobalValue::ExternalLinkage, "F1", &M);
unittests/IR/PatternMatch.cpp
   42         F(Function::Create(
unittests/IR/UserTest.cpp
  124   Function *PersonalityF = Function::Create(
  127       Function::Create(RetVoidTy, GlobalValue::ExternalLinkage, "TestFn", &M);
unittests/IR/VerifierTest.cpp
  141   Function::Create(FTy, GlobalValue::LinkOnceODRLinkage, "foo", &M);
unittests/IR/WaymarkTest.cpp
   30       Function::Create(FT, GlobalValue::ExternalLinkage));
unittests/Linker/LinkModulesTest.cpp
   32     F = Function::Create(FTy, Function::ExternalLinkage, "ba_func", M.get());
  139       Function::Create(FTy, Function::ExternalLinkage, FuncName, M);
  154       Function::Create(FTy, Function::InternalLinkage, "bar", InternalM);
unittests/ProfileData/InstrProfTest.cpp
  292       Function::Create(FTy, Function::ExternalLinkage, "caller", M.get());
  895   Function::Create(FTy, Function::ExternalLinkage, "Gfoo", M.get());
  896   Function::Create(FTy, Function::ExternalLinkage, "Gblah", M.get());
  897   Function::Create(FTy, Function::ExternalLinkage, "Gbar", M.get());
  898   Function::Create(FTy, Function::InternalLinkage, "Ifoo", M.get());
  899   Function::Create(FTy, Function::InternalLinkage, "Iblah", M.get());
  900   Function::Create(FTy, Function::InternalLinkage, "Ibar", M.get());
  901   Function::Create(FTy, Function::PrivateLinkage, "Pfoo", M.get());
  902   Function::Create(FTy, Function::PrivateLinkage, "Pblah", M.get());
  903   Function::Create(FTy, Function::PrivateLinkage, "Pbar", M.get());
  904   Function::Create(FTy, Function::WeakODRLinkage, "Wfoo", M.get());
  905   Function::Create(FTy, Function::WeakODRLinkage, "Wblah", M.get());
  906   Function::Create(FTy, Function::WeakODRLinkage, "Wbar", M.get());
unittests/Transforms/Utils/CloningTest.cpp
  165   Function *F1 = Function::Create(FT1, Function::ExternalLinkage);
  170   Function *F2 = Function::Create(FT1, Function::ExternalLinkage);
  190   Function *F1 = Function::Create(FT1, Function::ExternalLinkage);
  196   Function *F2 = Function::Create(FT1, Function::ExternalLinkage);
  214   Function *F = Function::Create(FT, Function::ExternalLinkage);
  263   Function *F = Function::Create(FT, Function::ExternalLinkage);
  316   Function *F = Function::Create(FT, Function::ExternalLinkage);
  462     OldFunc = Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", M);
  735     auto *PersFn = Function::Create(FuncType, GlobalValue::ExternalLinkage,
  738         Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", OldM);
unittests/Transforms/Utils/FunctionComparatorTest.cpp
   29     F = Function::Create(FunctionType::get(T, {B.getInt8PtrTy()}, false),
unittests/Transforms/Utils/IntegerDivisionTest.cpp
   28   Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(),
   58   Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(),
   88   Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(),
  118   Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(),
  149   Function *F = Function::Create(FunctionType::get(Builder.getInt64Ty(),
  179   Function *F = Function::Create(FunctionType::get(Builder.getInt64Ty(),
  209   Function *F = Function::Create(FunctionType::get(Builder.getInt64Ty(),
  239   Function *F = Function::Create(FunctionType::get(Builder.getInt64Ty(),
unittests/Transforms/Utils/LocalTest.cpp
   73       Function::Create(FunctionType::get(B.getVoidTy(), false),
unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp
   27   auto *F = Function::Create(FunctionType::get(B.getVoidTy(), {I32Ty}, false),
  114   auto *F = Function::Create(FunctionType::get(B.getVoidTy(), {I32Ty}, false),
unittests/Transforms/Utils/ValueMapperTest.cpp
  177       Function::Create(FTy, GlobalValue::ExternalLinkage, "F"));
  236       Function::Create(FTy, GlobalValue::ExternalLinkage, "F"));
  255       Function::Create(FTy, GlobalValue::ExternalLinkage, "F2"));
  271       Function::Create(FTy, GlobalValue::ExternalLinkage, "F"));
  290       Function::Create(FTy, GlobalValue::ExternalLinkage, "F"));
  332       Function::Create(FTy, GlobalValue::ExternalLinkage, "F"));