Home | History | Annotate | Download | only in val

Lines Matching refs:Construct

15 #include "source/val/construct.h"
26 Construct::Construct(ConstructType construct_type, BasicBlock* entry,
27 BasicBlock* exit, std::vector<Construct*> constructs)
33 ConstructType Construct::type() const { return type_; }
35 const std::vector<Construct*>& Construct::corresponding_constructs() const {
38 std::vector<Construct*>& Construct::corresponding_constructs() {
58 void Construct::set_corresponding_constructs(
59 std::vector<Construct*> constructs) {
64 const BasicBlock* Construct::entry_block() const { return entry_block_; }
65 BasicBlock* Construct::entry_block() { return entry_block_; }
67 const BasicBlock* Construct::exit_block() const { return exit_block_; }
68 BasicBlock* Construct::exit_block() { return exit_block_; }
70 void Construct::set_exit(BasicBlock* block) { exit_block_ = block; }
72 Construct::ConstructBlockSet Construct::blocks(Function* function) const {
90 // Merge block is not part of the construct.
95 // Entered a corresponding construct.
101 // Broke to outer construct.
105 // In a loop, the continue target is at a depth of the loop construct + 1.
106 // A selection construct nested directly within the loop construct is also
108 // continue target from within the selection construct.
111 // Continued to outer construct.
119 // All blocks in the construct must be dominated by the header.