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

References

unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
  152     Module = nullptr;
  161     else if (Module)
  162       LLVMDisposeModule(Module);
  166     Module = LLVMModuleCreateWithName("simple_module");
  168     LLVMSetTarget(Module, HostTriple.c_str());
  170     Function = LLVMAddFunction(Module, "simple_function",
  179     LLVMVerifyModule(Module, LLVMAbortProcessAction, &Error);
  186     Module = LLVMModuleCreateWithName("simple_module");
  188     LLVMSetTarget(Module, HostTriple.c_str());
  192       Module, "llvm.experimental.stackmap",
  196     Function = LLVMAddFunction(Module, "simple_function",
  209     LLVMVerifyModule(Module, LLVMAbortProcessAction, &Error);
  216     Module = LLVMModuleCreateWithName("simple_module");
  218     LLVMSetTarget(Module, HostTriple.c_str());
  221     LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "intVal");    
  225         Function = LLVMAddFunction(Module, "getGlobal",
  236         LLVMVerifyModule(Module, LLVMAbortProcessAction, &Error);
  245           Module, "setGlobal", LLVMFunctionType(LLVMVoidType(), ParamTypes, 1, 0));
  256         LLVMVerifyModule(Module, LLVMAbortProcessAction, &Error);
  282       0, LLVMCreateMCJITCompilerForModule(&Engine, Module, &Options,
  290     LLVMRunPassManager(pass, Module);
  302       LLVMCreateFunctionPassManagerForModule(Module);
  313     for (LLVMValueRef value = LLVMGetFirstFunction(Module);
  318     LLVMRunPassManager(modulePasses, Module);
  350   Module = LLVMModuleCreateWithName("simple_module");
  351   LLVMSetTarget(Module, HostTriple.c_str());
  352   LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "simple_value");
  478   Module = LLVMModuleCreateWithName("testModule");
  479   LLVMSetTarget(Module, HostTriple.c_str());
  481   LLVMValueRef MappedFn = LLVMAddFunction(Module, "mapped_fn", FunctionType);
  483   Function = LLVMAddFunction(Module, "test_fn", FunctionType);
  491   LLVMVerifyModule(Module, LLVMAbortProcessAction, &Error);