Home
last modified time | relevance | path

Searched refs:getModule (Results 1 – 25 of 620) sorted by relevance

12345678910>>...25

/external/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp25 AttributeSet::get(MB.getModule()->getContext(), 1U, in TEST()
28 AttributeSet::get(MB.getModule()->getContext(), 2U, in TEST()
31 AttributeSet::get(MB.getModule()->getContext(), ~0U, in TEST()
33 F->setAttributes(AttributeSet::get(MB.getModule()->getContext(), Attrs)); in TEST()
35 auto ImplPtr = orc::createImplPointer(*F->getType(), *MB.getModule(), "", nullptr); in TEST()
DObjectLinkingLayerTest.cpp138 MB1.getModule()->setDataLayout(TM->createDataLayout()); in TEST_F()
147 auto Obj1 = Compile(*MB1.getModule()); in TEST_F()
153 MB2.getModule()->setDataLayout(TM->createDataLayout()); in TEST_F()
160 auto Obj2 = Compile(*MB2.getModule()); in TEST_F()
208 MB1.getModule()->setDataLayout(TM->createDataLayout()); in TEST_F()
217 auto Obj1 = Compile(*MB1.getModule()); in TEST_F()
223 MB2.getModule()->setDataLayout(TM->createDataLayout()); in TEST_F()
231 auto Obj2 = Compile(*MB2.getModule()); in TEST_F()
/external/llvm/include/llvm/LTO/legacy/
DLTOModule.h111 const Module &getModule() const { in getModule() function
112 return const_cast<LTOModule*>(this)->getModule(); in getModule()
114 Module &getModule() { in getModule() function
115 return IRFile->getModule(); in getModule()
122 return getModule().getTargetTriple(); in getTargetTriple()
127 getModule().setTargetTriple(Triple); in setTargetTriple()
/external/llvm/lib/Analysis/
DMemoryLocation.cpp24 const auto &DL = LI->getModule()->getDataLayout(); in get()
33 const auto &DL = SI->getModule()->getDataLayout(); in get()
50 const auto &DL = CXI->getModule()->getDataLayout(); in get()
60 const auto &DL = RMWI->getModule()->getDataLayout(); in get()
102 const DataLayout &DL = II->getModule()->getDataLayout(); in getForArgument()
DTrace.cpp28 Module *Trace::getModule() const { in getModule() function in Trace
39 (*i)->printAsOperand(O, true, getModule()); in print()
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeNVPTX.cpp38 &CGF.CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_warpsize), in getGPUWarpSize()
46 &CGF.CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_tid_x); in getGPUThreadID()
54 &CGF.CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_ntid_x); in getGPUNumThreads()
DCGOpenMPRuntimeAMDGCN.cpp51 llvm::Module *M = &CGF.CGM.getModule(); in getGPUNumThreads()
57 llvm::GlobalVariable::ExternalLinkage, LocSize, &CGF.CGM.getModule()); in getGPUNumThreads()
DCodeGenModule.cpp475 getModule().setProfileSummary( in Release()
519 auto *NMD = getModule().getOrInsertNamedMetadata("llvm.dependent-libraries"); in Release()
526 getModule().addModuleFlag(llvm::Module::Error, "NumRegisterParameters", in Release()
530 getModule().addModuleFlag(llvm::Module::Max, "Dwarf Version", in Release()
536 getModule().setSemanticInterposition(1); in Release()
539 getModule().setSemanticInterposition(0); in Release()
543 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release()
546 getModule().addModuleFlag(llvm::Module::Warning, "CodeViewGHash", 1); in Release()
550 getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 2); in Release()
553 getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 1); in Release()
[all …]
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DPreMain.java92 getModule(Object.class), // module in redefineJavaBaseModule()
97 getModule(InjectedClassRuntime.class))), // extraOpens in redefineJavaBaseModule()
107 private static Object getModule(final Class<?> cls) throws Exception { in getModule() method in PreMain
/external/llvm/include/llvm/Object/
DIRObjectFile.h47 const Module &getModule() const { in getModule() function
48 return const_cast<IRObjectFile*>(this)->getModule(); in getModule()
50 Module &getModule() { in getModule() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryLocation.cpp38 const auto &DL = LI->getModule()->getDataLayout(); in get()
48 const auto &DL = SI->getModule()->getDataLayout(); in get()
67 const auto &DL = CXI->getModule()->getDataLayout(); in get()
78 const auto &DL = RMWI->getModule()->getDataLayout(); in get()
137 const DataLayout &DL = II->getModule()->getDataLayout(); in getForArgument()
DTrace.cpp31 Module *Trace::getModule() const { in getModule() function in Trace
41 (*i)->printAsOperand(O, true, getModule()); in print()
DCallGraphSCCPass.cpp123 Module &M = CG.getModule(); in RunPassOnSCC()
518 Changed |= ((FPPassManager*)PM)->doInitialization(CG.getModule()); in doInitialization()
533 Changed |= ((FPPassManager*)PM)->doFinalization(CG.getModule()); in doFinalization()
646 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC()
667 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC()
704 SCC.getCallGraph().getModule().getContext().getOptPassGate(); in skipSCC()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
DLTOModule.h117 const Module &getModule() const { return *Mod; } in getModule() function
118 Module &getModule() { return *Mod; } in getModule() function
124 return getModule().getTargetTriple(); in getTargetTriple()
129 getModule().setTargetTriple(Triple); in setTargetTriple()
/external/llvm-project/llvm/include/llvm/LTO/legacy/
DLTOModule.h115 const Module &getModule() const { return *Mod; } in getModule() function
116 Module &getModule() { return *Mod; } in getModule() function
122 return getModule().getTargetTriple(); in getTargetTriple()
127 getModule().setTargetTriple(Triple); in setTargetTriple()
/external/llvm-project/llvm/lib/Analysis/
DTrace.cpp31 Module *Trace::getModule() const { in getModule() function in Trace
41 (*i)->printAsOperand(O, true, getModule()); in print()
DCallGraphSCCPass.cpp125 Module &M = CG.getModule(); in RunPassOnSCC()
471 uint64_t RefHash = StructuralHash(CG.getModule()); in RunAllPassesOnSCC()
481 if (!LocalChanged && (RefHash != StructuralHash(CG.getModule()))) { in RunAllPassesOnSCC()
562 Changed |= ((FPPassManager*)PM)->doInitialization(CG.getModule()); in doInitialization()
577 Changed |= ((FPPassManager*)PM)->doFinalization(CG.getModule()); in doFinalization()
697 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC()
718 SCC.getCallGraph().getModule().print(OS, nullptr); in runOnSCC()
755 SCC.getCallGraph().getModule().getContext().getOptPassGate(); in skipSCC()
DMemoryLocation.cpp40 const auto &DL = LI->getModule()->getDataLayout(); in get()
50 const auto &DL = SI->getModule()->getDataLayout(); in get()
69 const auto &DL = CXI->getModule()->getDataLayout(); in get()
80 const auto &DL = RMWI->getModule()->getDataLayout(); in get()
156 const DataLayout &DL = II->getModule()->getDataLayout(); in getForArgument()
/external/clang/lib/CodeGen/
DCGOpenMPRuntimeNVPTX.cpp28 &CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_warpsize), in getNVPTXWarpSize()
37 &CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_tid_x), in getNVPTXThreadID()
46 &CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_ntid_x), in getNVPTXNumThreads()
54 &CGM.getModule(), llvm::Intrinsic::nvvm_barrier0)); in getNVPTXCTABarrier()
106 /* placeholder */ "_worker", &CGM.getModule()); in createWorkerFunction()
119 CGM.getModule(), CGM.Int32Ty, /*isConstant=*/false, in initializeEnvironment()
126 CGM.getModule(), CGM.Int64Ty, /*isConstant=*/false, in initializeEnvironment()
/external/llvm/lib/Transforms/Scalar/
DLoadCombine.cpp96 auto &DL = LI.getModule()->getDataLayout(); in getPointerOffsetPair()
151 PrevSize = L.Load->getModule()->getDataLayout().getTypeStoreSize( in aggregateLoads()
173 PrevSize = L.Load->getModule()->getDataLayout().getTypeStoreSize( in aggregateLoads()
225 L.Load->getModule()->getDataLayout(), NewLoad, in combineLoads()
242 BB.getContext(), TargetFolder(BB.getModule()->getDataLayout())); in runOnBasicBlock()
/external/llvm-project/flang/include/flang/Lower/
DFIRBuilder.h47 mlir::ModuleOp getModule() { in getModule() function
140 return getNamedFunction(getModule(), name); in getNamedFunction()
147 return getNamedGlobal(getModule(), name); in getNamedGlobal()
161 return createFunction(loc, getModule(), name, ty); in createFunction()
/external/llvm-project/llvm/include/llvm/IR/
DMatrixBuilder.h35 Module *getModule() { return B.GetInsertBlock()->getParent()->getParent(); } in getModule() function
80 getModule(), Intrinsic::matrix_column_major_load, OverloadedTypes);
103 getModule(), Intrinsic::matrix_column_major_store, OverloadedTypes);
123 getModule(), Intrinsic::matrix_transpose, OverloadedTypes);
144 getModule(), Intrinsic::matrix_multiply, OverloadedTypes);
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp722 Module *M = B.GetInsertBlock()->getModule(); in emitStrLen()
739 Module *M = B.GetInsertBlock()->getModule(); in emitStrChr()
757 Module *M = B.GetInsertBlock()->getModule(); in emitStrNCmp()
777 Module *M = B.GetInsertBlock()->getModule(); in emitStrCpy()
793 Module *M = B.GetInsertBlock()->getModule(); in emitStrNCpy()
811 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk()
833 Module *M = B.GetInsertBlock()->getModule(); in emitMemChr()
852 Module *M = B.GetInsertBlock()->getModule(); in emitMemCmp()
887 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCall()
903 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCall()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dtarget_util.cc170 llvm::Triple(b->GetInsertBlock()->getModule()->getTargetTriple()); in ObtainDeviceFunctionName()
199 llvm::Module* module = b->GetInsertBlock()->getModule(); in EmitDeviceFunctionCall()
212 ->getModule() in EmitDeviceFunctionCall()
226 llvm::Module* module = b->GetInsertBlock()->getModule(); in EmitCallToTargetIntrinsic()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dtuple_ops.cc33 return b->GetInsertBlock()->getModule(); in getModuleFromBuilder()
86 llvm::Module* module = b->GetInsertBlock()->getModule(); in EmitTupleAllocasAtFunctionEntry()
122 ByteSizeOf(target_shape, src_buffer->getModule()->getDataLayout())); in EmitGetTupleElement()

12345678910>>...25