Home
last modified time | relevance | path

Searched refs:llvmContext (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/mlir/lib/Target/LLVMIR/
DConvertToLLVMIR.cpp27 mlir::translateModuleToLLVMIR(ModuleOp m, llvm::LLVMContext &llvmContext, in translateModuleToLLVMIR() argument
30 LLVM::ModuleTranslation::translateModule<>(m, llvmContext, name); in translateModuleToLLVMIR()
43 llvm::LLVMContext llvmContext; in registerToLLVMIRTranslation() local
45 module, llvmContext, "LLVMDialectModule"); in registerToLLVMIRTranslation()
DLLVMAVX512Intr.cpp38 translateLLVMAVX512ModuleToLLVMIR(Operation *m, llvm::LLVMContext &llvmContext, in translateLLVMAVX512ModuleToLLVMIR() argument
41 m, llvmContext, name); in translateLLVMAVX512ModuleToLLVMIR()
50 llvm::LLVMContext llvmContext; in registerAVX512ToLLVMIRTranslation() local
52 module, llvmContext, "LLVMDialectModule"); in registerAVX512ToLLVMIRTranslation()
DConvertToNVVMIR.cpp69 mlir::translateModuleToNVVMIR(Operation *m, llvm::LLVMContext &llvmContext, in translateModuleToNVVMIR() argument
72 m, llvmContext, name); in translateModuleToNVVMIR()
104 llvm::LLVMContext llvmContext; in registerToNVVMIRTranslation() local
105 auto llvmModule = mlir::translateModuleToNVVMIR(module, llvmContext); in registerToNVVMIRTranslation()
DConvertToROCDLIR.cpp78 mlir::translateModuleToROCDLIR(Operation *m, llvm::LLVMContext &llvmContext, in translateModuleToROCDLIR() argument
82 m, llvmContext, name); in translateModuleToROCDLIR()
108 llvm::LLVMContext llvmContext; in registerToROCDLIRTranslation() local
109 auto llvmModule = mlir::translateModuleToROCDLIR(module, llvmContext); in registerToROCDLIRTranslation()
DModuleTranslation.cpp394 llvm::LLVMContext &llvmContext = llvmModule->getContext(); in convertOmpParallel() local
404 llvmContext, "omp.par.region", codeGenIP.getBlock()->getParent()); in convertOmpParallel()
491 llvm::LLVMContext &llvmContext = llvmModule->getContext(); in convertOmpMaster() local
501 llvmContext, "omp.master.region", codeGenIP.getBlock()->getParent()); in convertOmpMaster()
949 llvm::LLVMContext &llvmContext = llvmFunc->getContext(); in convertOneFunction() local
951 auto *llvmBB = llvm::BasicBlock::Create(llvmContext); in convertOneFunction()
1029 Operation *m, llvm::LLVMContext &llvmContext, StringRef name) { in prepareLLVMModule() argument
1031 auto llvmModule = std::make_unique<llvm::Module>(name, llvmContext); in prepareLLVMModule()
1041 llvm::IRBuilder<> builder(llvmContext); in prepareLLVMModule()
DConvertFromLLVMIR.cpp720 llvm::LLVMContext &llvmContext = inst->getContext(); in processInstruction() local
722 llvmContext.getSyncScopeNames(ssNs); in processInstruction()
725 if (fenceSyncScopeID == llvmContext.getOrInsertSyncScopeID(ssNs[i])) { in processInstruction()
862 llvm::LLVMContext llvmContext; in translateLLVMIRToModule() local
864 *sourceMgr.getMemoryBuffer(sourceMgr.getMainFileID()), err, llvmContext); in translateLLVMIRToModule()
/external/llvm-project/mlir/include/mlir/Target/LLVMIR/
DModuleTranslation.h54 translateModule(Operation *m, llvm::LLVMContext &llvmContext,
61 prepareLLVMModule(m, llvmContext, name);
107 prepareLLVMModule(Operation *m, llvm::LLVMContext &llvmContext,
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DConvertKernelFuncToBlob.cpp63 llvm::LLVMContext llvmContext; in runOnOperation() local
65 loweringCallback(module, llvmContext, "LLVMDialectModule"); in runOnOperation()
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DROCDLOps.td96 llvm::LLVMContext &llvmContext = builder.getContext();
98 llvmContext.getOrInsertSyncScopeID("workgroup"));
101 llvmContext.getOrInsertSyncScopeID("workgroup"));
DLLVMOps.td1186 llvm::LLVMContext &llvmContext = builder.getContext();
1188 llvmContext.getOrInsertSyncScopeID($syncscope));
/external/llvm-project/mlir/include/mlir/Target/
DNVVMIR.h34 translateModuleToNVVMIR(Operation *m, llvm::LLVMContext &llvmContext,
DROCDLIR.h35 translateModuleToROCDLIR(Operation *m, llvm::LLVMContext &llvmContext,
DLLVMIR.h37 translateModuleToLLVMIR(ModuleOp m, llvm::LLVMContext &llvmContext,
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dgpu_kernel_to_blob_pass.cc92 llvm::LLVMContext llvmContext; in GetGpuBinaryBlob() local
93 auto llvmModule = mlir::translateModuleToLLVMIR(gpu_module, llvmContext); in GetGpuBinaryBlob()
/external/llvm-project/mlir/examples/toy/Ch6/
Dtoyc.cpp193 llvm::LLVMContext llvmContext; in dumpLLVMIR() local
194 auto llvmModule = mlir::translateModuleToLLVMIR(module, llvmContext); in dumpLLVMIR()
/external/llvm-project/mlir/examples/toy/Ch7/
Dtoyc.cpp194 llvm::LLVMContext llvmContext; in dumpLLVMIR() local
195 auto llvmModule = mlir::translateModuleToLLVMIR(module, llvmContext); in dumpLLVMIR()
/external/llvm-project/mlir/include/mlir/ExecutionEngine/
DExecutionEngine.h123 llvm::LLVMContext llvmContext;
/external/llvm-project/mlir/tools/mlir-rocm-runner/
Dmlir-rocm-runner.cpp204 compileModuleToROCDLIR(Operation *m, llvm::LLVMContext &llvmContext, in compileModuleToROCDLIR() argument
206 auto llvmModule = translateModuleToROCDLIR(m, llvmContext, name); in compileModuleToROCDLIR()
/external/llvm-project/mlir/docs/Tutorials/Toy/
DCh-6.md250 llvm::LLVMContext llvmContext;
251 auto llvmModule = mlir::translateModuleToLLVMIR(module, llvmContext);
/external/llvm-project/mlir/lib/Conversion/VectorToLLVM/
DConvertVectorToLLVM.cpp155 llvm::LLVMContext llvmContext; in getMemRefAlignment() local
156 align = LLVM::TypeToLLVMIRTranslator(llvmContext) in getMemRefAlignment()