Home
last modified time | relevance | path

Searched refs:Engine (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project/llvm/unittests/ExecutionEngine/
H A DExecutionEngineTest.cpp32 Engine.reset(EngineBuilder(std::move(Owner)).setErrorStr(&Error).create()); in ExecutionEngineTest()
36 ASSERT_TRUE(Engine.get() != nullptr) << "EngineBuilder returned error: '" in SetUp()
48 std::unique_ptr<ExecutionEngine> Engine; member in __anon29ee89420111::ExecutionEngineTest
54 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
55 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
56 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable("Global1")); in TEST_F()
58 Engine->updateGlobalMapping(G1, &Mem2); in TEST_F()
59 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
60 Engine->updateGlobalMapping(G1, nullptr); in TEST_F()
61 EXPECT_EQ(nullptr, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
[all …]
/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.h36 Context(DifferenceEngine &Engine, const Value *L, const Value *R) in Context()
37 : Engine(Engine) { in Context()
38 Engine.consumer.enterContext(L, R); in Context()
42 Engine.consumer.exitContext(); in ~Context()
46 DifferenceEngine &Engine;
H A DDifferenceEngine.cpp115 DifferenceEngine &Engine; member in __anon489810540111::FunctionDifferenceEngine
251 Engine.logf("successor %l cannot be equivalent to %r; " in tryUnify()
265 DifferenceEngine::Context C(Engine, L, R); in unify()
295 DifferenceEngine::Context C(Engine, BDC.LBB, BDC.RBB); in checkAndReportDiffCandidates()
302 DifferenceEngine::Context C(Engine, L, R); in diff()
347 if (Complain) Engine.log("called functions differ"); in diffCallSites()
351 if (Complain) Engine.log("argument counts differ"); in diffCallSites()
357 Engine.logf("arguments %l and %r differ") in diffCallSites()
376 if (Complain) Engine.log("different instruction types"); in diff()
383 if (Complain) Engine in diff()
761 FunctionDifferenceEngine(DifferenceEngine & Engine,const Value * SavedLHS=nullptr,const Value * SavedRHS=nullptr) FunctionDifferenceEngine() argument
[all...]
/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITCAPITest.cpp153 Engine = nullptr; in SetUp()
158 if (Engine) in TearDown()
159 LLVMDisposeExecutionEngine(Engine); in TearDown()
283 0, LLVMCreateMCJITCompilerForModule(&Engine, Module, &Options, in buildMCJITEngine()
317 LLVMExecutionEngineRef Engine; member in __anon3c40fcf20111::MCJITCAPITest
331 reinterpret_cast<uintptr_t>(LLVMGetPointerToGlobal(Engine, Function))); in TEST_F()
348 uint64_t raw = LLVMGetGlobalValueAddress(Engine, "simple_value"); in TEST_F()
362 uint64_t raw = LLVMGetFunctionAddress(Engine, "simple_function"); in TEST_F()
378 reinterpret_cast<uintptr_t>(LLVMGetPointerToGlobal(Engine, Function))); in TEST_F()
398 reinterpret_cast<uintptr_t>(LLVMGetPointerToGlobal(Engine, Function))); in TEST_F()
[all …]
/llvm-project/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.ibits/
H A Dctor_engine_move.pass.cpp26 typedef std::mt19937 Engine; in main() typedef
27 typedef std::independent_bits_engine<Engine, 24, unsigned> Adaptor; in main()
28 Engine e; in main()
29 Engine e0 = e; in main()
H A Dctor_engine_copy.pass.cpp24 typedef std::mt19937 Engine; in main() typedef
25 typedef std::independent_bits_engine<Engine, 24, unsigned> Adaptor; in main()
26 Engine e; in main()
/llvm-project/llvm/tools/llvm-diff/
H A Dllvm-diff.cpp42 static void diffGlobal(DifferenceEngine &Engine, Module &L, Module &R, in diffGlobal() argument
50 Engine.diff(LFn, RFn); in diffGlobal()
83 DifferenceEngine Engine(Consumer); in main() local
88 diffGlobal(Engine, *LModule, *RModule, GlobalsToCompare[I]); in main()
92 Engine.diff(LModule.get(), RModule.get()); in main()
/llvm-project/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.disc/
H A Dctor_engine_move.pass.cpp25 typedef std::ranlux24_base Engine; in main() typedef
27 Engine e; in main()
28 Engine e0 = e; in main()
H A Dctor_engine_copy.pass.cpp24 typedef std::ranlux24_base Engine; in main() typedef
26 Engine e; in main()
/llvm-project/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/
H A Dctor_engine_move.pass.cpp26 typedef std::minstd_rand0 Engine; in main() typedef
28 Engine e; in main()
29 Engine e0 = e; in main()
H A Dctor_engine_copy.pass.cpp24 typedef std::minstd_rand0 Engine; in main() typedef
26 Engine e; in main()
/llvm-project/libcxx/include/
H A Drandom200 template<class Engine, size_t p, size_t r>
205 typedef typename Engine::result_type result_type;
210 static constexpr result_type min() { return Engine::min(); }
211 static constexpr result_type max() { return Engine::max(); }
215 explicit discard_block_engine(const Engine& e);
216 explicit discard_block_engine(Engine&& e);
228 const Engine& base() const noexcept;
231 template<class Engine, size_t p, size_t r>
234 const discard_block_engine<Engine, p, r>& x,
235 const discard_block_engine<Engine,
[all...]
/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp237 DiagnosticsEngine &Engine = Context.getDiagnostics(); in FindSymbol() local
242 unsigned InvalidOffset = Engine.getCustomDiagID( in FindSymbol()
245 Engine.Report(SourceLocation(), InvalidOffset) in FindSymbol()
260 unsigned CouldNotFindSymbolAt = Engine.getCustomDiagID( in FindSymbol()
263 Engine.Report(Point, CouldNotFindSymbolAt) << SymbolOffset; in FindSymbol()
274 unsigned CouldNotFindSymbolNamed = Engine.getCustomDiagID( in FindSymbol()
276 Engine.Report(CouldNotFindSymbolNamed) << QualifiedName; in FindSymbol()
/llvm-project/clang/unittests/StaticAnalyzer/
H A DSValTest.cpp76 ExprEngine &Engine) const { in checkEndAnalysis()
78 test(Engine, Engine.getContext()); in checkEndAnalysis()
89 virtual void test(ExprEngine &Engine, const ASTContext &Context) const = 0;
137 void test(ExprEngine &Engine, const ASTContext &Context) const override; \
153 void NAME##SValCollector::test(ExprEngine &Engine, \
/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp71 Engine.enqueue(DstBegin); in processCallEnter()
397 NodeBuilderContext Ctx(Engine, calleeCtx->getCallSiteBlock(), CEENode); in processCallExit()
438 Engine.getWorkList()->enqueue(*PSI, calleeCtx->getCallSiteBlock(), Idx); in isSmall()
517 inlineCall(Engine.getWorkList(), Call, D, Bldr, Pred, State); in REGISTER_MAP_WITH_PROGRAMSTATE()
523 inlineCall(Engine.getCTUWorkList(), Call, D, Bldr, Pred, State); in REGISTER_MAP_WITH_PROGRAMSTATE()
532 inlineCall(Engine.getWorkList(), Call, D, Bldr, Pred, State); in inlineCall()
580 Engine.FunctionSummaries->bumpNumTimesInlined(D); in inlineCall()
1096 std::optional<bool> MayInline = Engine.FunctionSummaries->mayInline(D); in shouldInlineCall()
1105 Engine.FunctionSummaries->markMayInline(D); in shouldInlineCall()
1107 Engine in shouldInlineCall()
[all...]
H A DCallEvent.cpp547 ExprEngine &Engine = getState()->getStateManager().getOwningEngine(); in getReturnValueUnderConstruction()
548 SVal RetVal = Engine.computeObjectUnderConstruction( in getReturnValueUnderConstruction()
549 getOriginExpr(), getState(), &Engine.getBuilderContext(), in getReturnValueUnderConstruction()
579 ExprEngine &Engine = getState()->getStateManager().getOwningEngine(); in getRuntimeDefinition()
581 *Engine.getCrossTranslationUnitContext(); in getRuntimeDefinition()
583 AnalyzerOptions &Opts = Engine.getAnalysisManager().options; in getRuntimeDefinition()
546 ExprEngine &Engine = getState()->getStateManager().getOwningEngine(); getReturnValueUnderConstruction() local
578 ExprEngine &Engine = getState()->getStateManager().getOwningEngine(); getRuntimeDefinition() local
H A DExprEngine.cpp216 // Engine construction and deletion.
226 Engine(*this, FS, mgr.getAnalyzerOptions()), G(Engine.getGraph()), in ExprEngine()
1139 Engine.enqueue(Dst, currBldrCtx->getBlock(), currStmtIdx); in ProcessLoopExit()
1157 Engine.enqueue(Dst, currBldrCtx->getBlock(), currStmtIdx); in ProcessInitializer()
1250 Engine.enqueue(Dst, currBldrCtx->getBlock(), currStmtIdx); in ProcessInitializer()
1314 Engine.enqueue(Dst, currBldrCtx->getBlock(), currStmtIdx); in ProcessImplicitDtor()
1334 Engine.enqueue(Dst, currBldrCtx->getBlock(), currStmtIdx); in ProcessNewAllocator()
1843 Engine.addAbortedBlock(node, currBldrCtx->getBlock()); in Visit()
2107 Engine in Visit()
[all...]
/llvm-project/llvm/cmake/modules/
H A DLLVM-Build.cmake14 foreach(llvm_component all-targets Engine Native NativeCodeGen ${LLVM_TARGETS_TO_BUILD})
90 set_property(TARGET Engine APPEND PROPERTY LLVM_LINK_COMPONENTS "MCJIT" "Native")
92 set_property(TARGET Engine APPEND PROPERTY LLVM_LINK_COMPONENTS "Interpreter")
/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h145 CoreEngine Engine; variable
192 return Engine.ExecuteWorkList(L, Steps, nullptr);
430 DataTag::Factory &getDataTags() { return Engine.getDataTags(); } in hasEmptyWorkList()
433 bool wasBlocksExhausted() const { return Engine.wasBlocksExhausted(); } in getCoreEngine()
434 bool hasEmptyWorkList() const { return !Engine.getWorkList()->hasWork(); }
435 bool hasWorkRemaining() const { return Engine.hasWorkRemaining(); }
437 const CoreEngine &getCoreEngine() const { return Engine; }
849 bool isSecondPhaseCTU() { return IsCTUEnabled && !Engine.getCTUWorkList(); }
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cert/
H A Dmsc51-cpp.cpp33 template <class Engine, size_t p, size_t r>
42 template <class Engine, size_t w, class UIntType>
51 template <class Engine, size_t k>
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/
H A DREADME.md1 # Debugger Engine backend
3 This directory contains the Dexter backend for the Windows Debugger Engine
/llvm-project/llvm/lib/
H A DCMakeLists.txt58 add_llvm_component_group(Engine)
/llvm-project/llvm/lib/Target/PowerPC/
H A DP10InstrResources.td1462 // 10 Cycles SIMD Matrix Multiply Engine operations, 0 input operands
1468 // 10 Cycles SIMD Matrix Multiply Engine operations, 2 input operands
1481 // 10 Cycles SIMD Matrix Multiply Engine operations, 3 input operands
1507 // 10 Cycles SIMD Matrix Multiply Engine operations, 2 input operands
1520 // 10 Cycles SIMD Matrix Multiply Engine operations, 3 input operands
1547 // 10 Cycles SIMD Matrix Multiply Engine operations, and 3 Cycles ALU operations, 1 input operands
1554 // 10 Cycles SIMD Matrix Multiply Engine operations, 3 Cycles ALU operations, 10 Cycles SIMD Matrix Multiply Engine operations, and 3 Cycles ALU operations, 1 input operands
/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp655 : Engine(E), Prev(E.getSuppressSystemWarnings()) { in handleDelayedAvailabilityCheck()
658 ~AllowWarningInSystemHeaders() { Engine.setSuppressSystemWarnings(Prev); } in handleDelayedAvailabilityCheck()
661 DiagnosticsEngine &Engine; in handleDelayedAvailabilityCheck()
628 DiagnosticsEngine &Engine; DoEmitAvailabilityWarning() member
/llvm-project/clang/tools/clang-fuzzer/
H A DREADME.txt128 function (optimized and not), llvm-proto-fuzzer uses LLVM's JIT Engine to

12