Home
last modified time | relevance | path

Searched refs:CFGBuilder (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DCFGBuilder.cpp31 CFGBuilder::CFGBuilder(Function *F, const std::vector<Arc> &InitialArcs, in CFGBuilder() function in CFGBuilder
86 BasicBlock *CFGBuilder::getOrAddBlock(StringRef BlockName) { in getOrAddBlock()
98 bool CFGBuilder::connect(const Arc &A) { in connect()
109 bool CFGBuilder::disconnect(const Arc &A) { in disconnect()
122 void CFGBuilder::buildCFG(const std::vector<Arc> &NewArcs) { in buildCFG()
130 Optional<CFGBuilder::Update> CFGBuilder::getNextUpdate() const { in getNextUpdate()
136 Optional<CFGBuilder::Update> CFGBuilder::applyUpdate() { in applyUpdate()
148 void CFGBuilder::dump(raw_ostream &OS) const { in dump()
166 TEST(CFGBuilder, Construction) { in TEST() argument
168 std::vector<CFGBuilder::Arc> Arcs = {{"entry", "a"}, {"a", "b"}, {"a", "c"}, in TEST()
[all …]
DDominatorTreeBatchUpdatesTest.cpp22 const auto CFGInsert = CFGBuilder::ActionKind::Insert;
23 const auto CFGDelete = CFGBuilder::ActionKind::Delete;
35 std::vector<DomUpdate> ToDomUpdates(CFGBuilder &B, in ToDomUpdates()
36 std::vector<CFGBuilder::Update> &In) { in ToDomUpdates()
50 CFGBuilder Builder(Holder.F, {{"A", "B"}}, {}); in TEST()
73 CFGBuilder Builder(Holder.F, {{"A", "B"}}, {}); in TEST()
96 CFGBuilder Builder(Holder.F, {{"A", "B"}}, {{CFGInsert, {"B", "C"}}}); in TEST()
117 CFGBuilder Builder(Holder.F, {{"A", "B"}, {"B", "C"}}, in TEST()
138 std::vector<CFGBuilder::Update> CFGUpdates = {{CFGInsert, {"B", "C"}}, in TEST()
144 CFGBuilder Builder(Holder.F, {{"A", "B"}}, CFGUpdates); in TEST()
[all …]
DDominatorTreeTest.cpp670 const auto Insert = CFGBuilder::ActionKind::Insert;
671 const auto Delete = CFGBuilder::ActionKind::Delete;
673 bool CompUpdates(const CFGBuilder::Update &A, const CFGBuilder::Update &B) { in CompUpdates()
681 std::vector<CFGBuilder::Arc> Arcs = { in TEST()
685 std::vector<CFGBuilder::Update> Updates = {{Insert, {"12", "10"}}, in TEST()
689 CFGBuilder B(Holder.F, Arcs, Updates); in TEST()
695 Optional<CFGBuilder::Update> LastUpdate; in TEST()
709 std::vector<CFGBuilder::Arc> Arcs = { in TEST()
714 std::vector<CFGBuilder::Update> Updates = {{Insert, {"10", "7"}}}; in TEST()
715 CFGBuilder B(Holder.F, Arcs, Updates); in TEST()
[all …]
DCFGBuilder.h54 class CFGBuilder {
72 CFGBuilder(Function *F, const std::vector<Arc> &InitialArcs,
DCMakeLists.txt13 CFGBuilder.cpp
/external/clang/lib/Analysis/
DCFG.cpp114 class CFGBuilder;
135 bool alwaysAdd(CFGBuilder &builder,
366 class CFGBuilder { class
413 explicit CFGBuilder(ASTContext *astContext, in CFGBuilder() function in __anon83acd1880111::CFGBuilder
963 inline bool AddStmtChoice::alwaysAdd(CFGBuilder &builder, in alwaysAdd()
968 bool CFGBuilder::alwaysAdd(const Stmt *stmt) { in alwaysAdd()
1022 std::unique_ptr<CFG> CFGBuilder::buildCFG(const Decl *D, Stmt *Statement) { in buildCFG()
1098 CFGBlock *CFGBuilder::createBlock(bool add_successor) { in createBlock()
1108 CFGBlock *CFGBuilder::createNoReturnBlock() { in createNoReturnBlock()
1116 CFGBlock *CFGBuilder::addInitializer(CXXCtorInitializer *I) { in addInitializer()
[all …]
/external/v8/src/compiler/
Dscheduler.h21 class CFGBuilder; variable
78 CFGBuilder* control_flow_builder_; // Builds basic blocks for controls.
100 friend class CFGBuilder; variable
Dscheduler.cc241 class CFGBuilder : public ZoneObject { class
243 CFGBuilder(Zone* zone, Scheduler* scheduler) in CFGBuilder() function in v8::internal::compiler::CFGBuilder
613 control_flow_builder_ = new (zone_) CFGBuilder(zone_, this); in BuildCFG()
/external/clang/test/Analysis/
Dmisc-ps.m1149 // This previously triggered an assertion failure in CFGBuilder.
1242 // This example exposed a bug in child traversal in the CFGBuilder.