OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:TheModule
(Results
1 - 25
of
31
) sorted by relevancy
1
2
/src/external/apache2/llvm/dist/clang/include/clang/Interpreter/
Transaction.h
35
std::unique_ptr<llvm::Module>
TheModule
;
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
NameAnonGlobals.cpp
27
Module &
TheModule
;
31
ModuleHasher(Module &M) :
TheModule
(M) {}
40
for (auto &F :
TheModule
) {
46
for (auto &GV :
TheModule
.globals()) {
CloneFunction.cpp
53
Module *
TheModule
= F ? F->getParent() : nullptr;
57
if (DIFinder &&
TheModule
)
58
DIFinder->processInstruction(*
TheModule
, I);
/src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
ARCRuntimeEntryPoints.h
57
TheModule
= M;
71
assert(
TheModule
!= nullptr && "Not initialized.");
106
Module *
TheModule
= nullptr;
142
return Decl = Intrinsic::getDeclaration(
TheModule
, IntID);
/src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
CodeGenAction.h
47
std::unique_ptr<llvm::Module>
TheModule
;
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenTypes.h
63
llvm::Module &
TheModule
;
114
return
TheModule
.getDataLayout();
120
llvm::LLVMContext &getLLVMContext() { return
TheModule
.getContext(); }
BackendUtil.cpp
107
Module *
TheModule
;
156
TargetOpts(TOpts), LangOpts(LOpts),
TheModule
(M),
643
Triple TargetTriple(
TheModule
->getTargetTriple());
888
std::string Triple =
TheModule
->getTargetTriple();
915
llvm::Triple TargetTriple(
TheModule
->getTargetTriple());
953
TheModule
->setDataLayout(TM->createDataLayout());
968
legacy::FunctionPassManager PerFunctionPasses(
TheModule
);
991
TheModule
->addModuleFlag(Module::Error, "EnableSplitLTOUnit",
1001
llvm::Triple(
TheModule
->getTargetTriple()).getVendor() !=
1004
if (!
TheModule
->getModuleFlag("ThinLTO")
[
all
...]
CGCUDANV.cpp
45
llvm::Module &
TheModule
;
115
FnTy, llvm::GlobalValue::InternalLinkage, "dummy", &
TheModule
);
196
TheModule
(CGM.getModule()),
501
addUnderscoredPrefixToName("_register_globals"), &
TheModule
);
708
addUnderscoredPrefixToName("_module_ctor"), &
TheModule
);
806
TheModule
, VoidPtrPtrTy, /*isConstant=*/false,
849
TheModule
, VoidPtrPtrTy, false, llvm::GlobalValue::InternalLinkage,
944
addUnderscoredPrefixToName("_module_dtor"), &
TheModule
);
1136
TheModule
, F->getType(), /*isConstant=*/true, F->getLinkage(),
CodeGenModule.h
309
llvm::Module &
TheModule
;
709
llvm::Module &getModule() const { return
TheModule
; }
712
return
TheModule
.getDataLayout();
/src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
MachineModuleInfo.h
91
const Module *
TheModule
;
174
const Module *getModule() const { return
TheModule
; }
/src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/
toy.cpp
403
static std::unique_ptr<Module>
TheModule
;
448
Function *CalleeF =
TheModule
->getFunction(Callee);
473
Function::Create(FT, Function::ExternalLinkage, Name,
TheModule
.get());
485
Function *TheFunction =
TheModule
->getFunction(Proto->getName());
524
TheModule
= std::make_unique<Module>("my cool jit", *TheContext);
619
TheModule
->print(errs(), nullptr);
/src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/
toy.cpp
413
static std::unique_ptr<Module>
TheModule
;
428
if (auto *F =
TheModule
->getFunction(Name))
502
Function::Create(FT, Function::ExternalLinkage, Name,
TheModule
.get());
555
TheModule
= std::make_unique<Module>("my cool jit", *TheContext);
556
TheModule
->setDataLayout(TheJIT->getDataLayout());
562
TheFPM = std::make_unique<legacy::FunctionPassManager>(
TheModule
.get());
583
ThreadSafeModule(std::move(
TheModule
), std::move(TheContext))));
614
auto TSM = ThreadSafeModule(std::move(
TheModule
), std::move(TheContext));
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
CoroInternal.h
61
Module &
TheModule
;
/src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86WinEHState.cpp
84
Module *
TheModule
= nullptr;
122
TheModule
= &M;
127
assert(
TheModule
== &M);
128
TheModule
= nullptr;
175
Type *Int8PtrType = Type::getInt8PtrTy(
TheModule
->getContext());
176
SetJmp3 =
TheModule
->getOrInsertFunction(
178
Type::getInt32Ty(
TheModule
->getContext()),
179
{Int8PtrType, Type::getInt32Ty(
TheModule
->getContext())},
212
LLVMContext &Context =
TheModule
->getContext();
231
LLVMContext &Context =
TheModule
->getContext()
[
all
...]
/src/external/apache2/llvm/dist/llvm/tools/llvm-lto/
llvm-lto.cpp
539
static void writeModuleToFile(Module &
TheModule
, StringRef Filename) {
543
maybeVerifyModule(
TheModule
);
544
WriteBitcodeToFile(
TheModule
, OS, /* ShouldPreserveUseListOrder */ true);
636
auto
TheModule
= loadModuleFromInput(*Input, Ctx);
642
*
TheModule
, *Index, ModuleToSummariesForIndex, *Input);
673
auto
TheModule
= loadModuleFromInput(*Input, Ctx);
680
ThinGenerator.emitImports(*
TheModule
, OutputName, *Index, *Input);
700
auto
TheModule
= loadModuleFromInput(*Input, Ctx);
702
ThinGenerator.promote(*
TheModule
, *Index, *Input);
708
writeModuleToFile(*
TheModule
, OutputName)
[
all
...]
/src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
toy.cpp
702
static std::unique_ptr<Module>
TheModule
;
714
if (auto *F =
TheModule
->getFunction(Name))
1043
Function::Create(FT, Function::ExternalLinkage, Name,
TheModule
.get());
1108
TheModule
= std::make_unique<Module>("my cool jit", *TheContext);
1109
TheModule
->setDataLayout(TheJIT->getDataLayout());
1121
auto TSM = ThreadSafeModule(std::move(
TheModule
), std::move(TheContext));
1153
auto TSM = ThreadSafeModule(std::move(
TheModule
), std::move(TheContext));
/src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
toy.cpp
702
static std::unique_ptr<Module>
TheModule
;
714
if (auto *F =
TheModule
->getFunction(Name))
1043
Function::Create(FT, Function::ExternalLinkage, Name,
TheModule
.get());
1108
TheModule
= std::make_unique<Module>("my cool jit", *TheContext);
1109
TheModule
->setDataLayout(TheJIT->getDataLayout());
1121
auto TSM = ThreadSafeModule(std::move(
TheModule
), std::move(TheContext));
1153
auto TSM = ThreadSafeModule(std::move(
TheModule
), std::move(TheContext));
/src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
toy.cpp
702
static std::unique_ptr<Module>
TheModule
;
714
if (auto *F =
TheModule
->getFunction(Name))
1043
Function::Create(FT, Function::ExternalLinkage, Name,
TheModule
.get());
1108
TheModule
= std::make_unique<Module>("my cool jit", *TheContext);
1109
TheModule
->setDataLayout(TheJIT->getDataLayout());
1121
auto TSM = ThreadSafeModule(std::move(
TheModule
), std::move(TheContext));
1153
auto TSM = ThreadSafeModule(std::move(
TheModule
), std::move(TheContext));
/src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
toy.cpp
685
static std::unique_ptr<Module>
TheModule
;
697
if (auto *F =
TheModule
->getFunction(Name))
1026
Function::Create(FT, Function::ExternalLinkage, Name,
TheModule
.get());
1099
TheModule
= std::make_unique<Module>("my cool jit", *TheContext);
1100
TheModule
->setDataLayout(TheJIT->getDataLayout());
1110
auto TSM = ThreadSafeModule(std::move(
TheModule
), std::move(TheContext));
1151
auto TSM = ThreadSafeModule(std::move(
TheModule
), std::move(TheContext));
/src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/
toy.cpp
540
static std::unique_ptr<Module>
TheModule
;
555
if (auto *F =
TheModule
->getFunction(Name))
776
Function::Create(FT, Function::ExternalLinkage, Name,
TheModule
.get());
829
TheModule
= std::make_unique<Module>("my cool jit", *TheContext);
830
TheModule
->setDataLayout(TheJIT->getDataLayout());
836
TheFPM = std::make_unique<legacy::FunctionPassManager>(
TheModule
.get());
857
ThreadSafeModule(std::move(
TheModule
), std::move(TheContext))));
888
auto TSM = ThreadSafeModule(std::move(
TheModule
), std::move(TheContext));
/src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/
toy.cpp
632
static std::unique_ptr<Module>
TheModule
;
647
if (auto *F =
TheModule
->getFunction(Name))
888
Function::Create(FT, Function::ExternalLinkage, Name,
TheModule
.get());
948
TheModule
= std::make_unique<Module>("my cool jit", *TheContext);
949
TheModule
->setDataLayout(TheJIT->getDataLayout());
955
TheFPM = std::make_unique<legacy::FunctionPassManager>(
TheModule
.get());
976
ThreadSafeModule(std::move(
TheModule
), std::move(TheContext))));
1007
auto TSM = ThreadSafeModule(std::move(
TheModule
), std::move(TheContext));
/src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp
705
static std::unique_ptr<Module>
TheModule
;
720
if (auto *F =
TheModule
->getFunction(Name))
1049
Function::Create(FT, Function::ExternalLinkage, Name,
TheModule
.get());
1117
TheModule
= std::make_unique<Module>("my cool jit", *TheContext);
1118
TheModule
->setDataLayout(TheJIT->getDataLayout());
1124
TheFPM = std::make_unique<legacy::FunctionPassManager>(
TheModule
.get());
1147
ThreadSafeModule(std::move(
TheModule
), std::move(TheContext))));
1178
auto TSM = ThreadSafeModule(std::move(
TheModule
), std::move(TheContext));
/src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/
toy.cpp
706
static std::unique_ptr<Module>
TheModule
;
719
if (auto *F =
TheModule
->getFunction(Name))
1048
Function::Create(FT, Function::ExternalLinkage, Name,
TheModule
.get());
1113
TheModule
= std::make_unique<Module>("my cool jit", *TheContext);
1229
TheModule
->setTargetTriple(TargetTriple);
1250
TheModule
->setDataLayout(TheTargetMachine->createDataLayout());
1269
pass.run(*
TheModule
);
/src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
toy-jit.cpp
624
static Module *
TheModule
;
660
Function *F =
TheModule
->getFunction(std::string("unary")+Opcode);
708
Function *F =
TheModule
->getFunction(std::string("binary")+Op);
717
Function *CalleeF =
TheModule
->getFunction(Callee);
937
Function *F = Function::Create(FT, Function::ExternalLinkage, Name,
TheModule
);
943
F =
TheModule
->getFunction(Name);
1152
TheModule
= parseInputIR(InputIR);
1154
TheModule
= new Module("my cool jit", Context);
1159
TheExecutionEngine = EngineBuilder(
TheModule
).setErrorStr(&ErrStr).create();
1165
FunctionPassManager OurFPM(
TheModule
);
[
all
...]
/src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/
toy-jit.cpp
609
static Module *
TheModule
;
645
Function *F =
TheModule
->getFunction(std::string("unary")+Opcode);
690
Function *F =
TheModule
->getFunction(std::string("binary")+Op);
699
Function *CalleeF =
TheModule
->getFunction(Callee);
919
Function *F = Function::Create(FT, Function::ExternalLinkage, Name,
TheModule
);
925
F =
TheModule
->getFunction(Name);
1117
TheModule
= new Module("my cool jit", Context);
1121
TheExecutionEngine = EngineBuilder(
TheModule
).setErrorStr(&ErrStr).create();
1127
FunctionPassManager OurFPM(
TheModule
);
1162
TheModule
->print(errs(), nullptr)
[
all
...]
Completed in 43 milliseconds
1
2
Indexes created Mon Jun 15 00:25:07 UTC 2026