Home
last modified time | relevance | path

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

12345678910>>...15

/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/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dtrim_functions_tf.cc76 for (auto func : getModule().getOps<FuncOp>()) { in TrimModule()
105 SymbolTable symbol_table = SymbolTable(getModule()); in Verify()
107 for (auto func : getModule().getOps<FuncOp>()) { in Verify()
110 return getModule().emitError() in Verify()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DRTDyldObjectLinkingLayerTest.cpp155 MB1.getModule()->setDataLayout(TM->createDataLayout()); in TEST_F()
164 auto Obj1 = Compile(*MB1.getModule()); in TEST_F()
168 MB2.getModule()->setDataLayout(TM->createDataLayout()); in TEST_F()
175 auto Obj2 = Compile(*MB2.getModule()); in TEST_F()
234 MB1.getModule()->setDataLayout(TM->createDataLayout()); in TEST_F()
243 auto Obj1 = Compile(*MB1.getModule()); in TEST_F()
247 MB2.getModule()->setDataLayout(TM->createDataLayout()); in TEST_F()
255 auto Obj2 = Compile(*MB2.getModule()); in TEST_F()
/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/swiftshader/third_party/llvm-7.0/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()
118 const DataLayout &DL = II->getModule()->getDataLayout(); in getForArgument()
DTrace.cpp32 Module *Trace::getModule() const { in getModule() function in Trace
42 (*i)->printAsOperand(O, true, getModule()); in print()
DLazyValueInfo.cpp652 L->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer()
657 S->getModule()->getDataLayout()) == Ptr; in InstructionDereferencesPointer()
668 MI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer()
673 MTI->getModule()->getDataLayout()) == Ptr) in InstructionDereferencesPointer()
686 const DataLayout &DL = BB->getModule()->getDataLayout(); in isObjectDereferencedInBlock()
820 auto *GuardDecl = BBI->getModule()->getFunction( in intersectAssumeOrGuardBlockValueConstantRange()
1266 const DataLayout &DL = BBTo->getModule()->getDataLayout(); in getEdgeValueLocal()
1329 const DataLayout &DL = BBTo->getModule()->getDataLayout(); in getEdgeValueLocal()
1553 const DataLayout &DL = BB->getModule()->getDataLayout(); in getConstant()
1571 const DataLayout &DL = BB->getModule()->getDataLayout(); in getConstantRange()
[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-7.0/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp765 Module *M = B.GetInsertBlock()->getModule(); in emitStrLen()
783 Module *M = B.GetInsertBlock()->getModule(); in emitStrChr()
802 Module *M = B.GetInsertBlock()->getModule(); in emitStrNCmp()
823 Module *M = B.GetInsertBlock()->getModule(); in emitStrCpy()
839 Module *M = B.GetInsertBlock()->getModule(); in emitStrNCpy()
857 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk()
879 Module *M = B.GetInsertBlock()->getModule(); in emitMemChr()
899 Module *M = B.GetInsertBlock()->getModule(); in emitMemCmp()
935 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCall()
957 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCall()
[all …]
/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()
DCodeGenModule.cpp396 getModule().setProfileSummary(PGOReader->getSummary().getMD(VMContext)); in Release()
420 getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version", in Release()
425 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release()
432 getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1); in Release()
439 getModule().addModuleFlag(llvm::Module::Require, in Release()
447 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release()
460 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release()
464 getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth); in Release()
469 getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1); in Release()
476 getModule().addModuleFlag(llvm::Module::Override, "nvvm-reflect-ftz", in Release()
[all …]
DSanitizerMetadata.cpp54 CGM.getModule().getOrInsertNamedMetadata("llvm.asan.globals"); in reportGlobalToASan()
78 I->setMetadata(CGM.getModule().getMDKindID("nosanitize"), in disableSanitizerForInstruction()
/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/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Ddelete_unused_funcs.cc36 if (!HasTfSavedModelSemantics(getModule())) { in runOnModule()
45 auto module = getModule(); in runOnModule()
/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.cc167 llvm::Triple(b->GetInsertBlock()->getModule()->getTargetTriple()); in ObtainDeviceFunctionName()
196 llvm::Module* module = b->GetInsertBlock()->getModule(); in EmitDeviceFunctionCall()
209 ->getModule() in EmitDeviceFunctionCall()
223 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()
85 llvm::Module* module = b->GetInsertBlock()->getModule(); in EmitTupleAllocasAtFunctionEntry()
121 ByteSizeOf(target_shape, src_buffer->getModule()->getDataLayout())); in EmitGetTupleElement()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/modules/
DModuleDeclarationTest.java43 …ModuleRequiresDirective requiresTransitive = (ModuleRequiresDirective) cu.getModule().get().getDir… in issue988RequireTransitiveShouldRequireAModuleCalledTransitive()
68 ModuleDeclaration module = cu.getModule().get(); in jlsExample1()
103 ModuleDeclaration module = cu.getModule().get(); in jlsExample2HasAnOpenModule()
/external/guice/core/test/com/google/inject/spi/
DModuleRewriterTest.java72 Module rewrittenModule = Elements.getModule(rewritten); in testRewriteBindings()
117 Module replayed = Elements.getModule(elements); in testGetProviderAvailableAtInjectMembersTime()
/external/clang/include/clang/Lex/
DModuleMap.h130 Module *getModule() const { return Storage.getPointer(); } in getModule() function
137 return getModule()->isAvailable(); in isAvailable()
143 (M && M->getTopLevelModule() == getModule()->getTopLevelModule()); in isAccessibleFrom()

12345678910>>...15