/third_party/spirv-tools/source/val/ |
D | basic_block.cpp | 24 BasicBlock::BasicBlock(uint32_t label_id) in BasicBlock() function in spvtools::val::BasicBlock 37 void BasicBlock::SetImmediateDominator(BasicBlock* dom_block) { in SetImmediateDominator() 41 void BasicBlock::SetImmediateStructuralDominator(BasicBlock* dom_block) { in SetImmediateStructuralDominator() 45 void BasicBlock::SetImmediateStructuralPostDominator(BasicBlock* pdom_block) { in SetImmediateStructuralPostDominator() 49 const BasicBlock* BasicBlock::immediate_dominator() const { in immediate_dominator() 53 const BasicBlock* BasicBlock::immediate_structural_dominator() const { in immediate_structural_dominator() 57 const BasicBlock* BasicBlock::immediate_structural_post_dominator() const { in immediate_structural_post_dominator() 61 BasicBlock* BasicBlock::immediate_dominator() { return immediate_dominator_; } in immediate_dominator() 62 BasicBlock* BasicBlock::immediate_structural_dominator() { in immediate_structural_dominator() 65 BasicBlock* BasicBlock::immediate_structural_post_dominator() { in immediate_structural_post_dominator() [all …]
|
D | basic_block.h | 43 class BasicBlock { 48 explicit BasicBlock(uint32_t id); 54 const std::vector<BasicBlock*>* predecessors() const { in predecessors() 59 std::vector<BasicBlock*>* predecessors() { return &predecessors_; } in predecessors() 62 const std::vector<BasicBlock*>* successors() const { return &successors_; } in successors() 65 std::vector<BasicBlock*>* successors() { return &successors_; } in successors() 68 std::vector<BasicBlock*>* structural_predecessors() { in structural_predecessors() 73 const std::vector<BasicBlock*>* structural_predecessors() const { in structural_predecessors() 78 std::vector<BasicBlock*>* structural_successors() { in structural_successors() 83 const std::vector<BasicBlock*>* structural_successors() const { in structural_successors() [all …]
|
D | function.h | 38 const std::pair<const BasicBlock*, ConstructType>& p) const { in operator() 39 auto h1 = std::hash<const BasicBlock*>{}(p.first); in operator() 115 std::pair<const BasicBlock*, bool> GetBlock(uint32_t id) const; 116 std::pair<BasicBlock*, bool> GetBlock(uint32_t id); 119 const BasicBlock* first_block() const; 122 BasicBlock* first_block(); 125 const std::vector<BasicBlock*>& ordered_blocks() const; 128 std::vector<BasicBlock*>& ordered_blocks(); 152 BasicBlock* current_block(); 155 const BasicBlock* current_block() const; [all …]
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | basic_block.cpp | 24 BasicBlock::BasicBlock(uint32_t label_id) in BasicBlock() function in spvtools::val::BasicBlock 35 void BasicBlock::SetImmediateDominator(BasicBlock* dom_block) { in SetImmediateDominator() 39 void BasicBlock::SetImmediatePostDominator(BasicBlock* pdom_block) { in SetImmediatePostDominator() 43 const BasicBlock* BasicBlock::immediate_dominator() const { in immediate_dominator() 47 const BasicBlock* BasicBlock::immediate_post_dominator() const { in immediate_post_dominator() 51 BasicBlock* BasicBlock::immediate_dominator() { return immediate_dominator_; } in immediate_dominator() 52 BasicBlock* BasicBlock::immediate_post_dominator() { in immediate_post_dominator() 56 void BasicBlock::RegisterSuccessors( in RegisterSuccessors() 57 const std::vector<BasicBlock*>& next_blocks) { in RegisterSuccessors() 64 bool BasicBlock::dominates(const BasicBlock& other) const { in dominates() [all …]
|
D | basic_block.h | 43 class BasicBlock { 48 explicit BasicBlock(uint32_t id); 54 const std::vector<BasicBlock*>* predecessors() const { in predecessors() 59 std::vector<BasicBlock*>* predecessors() { return &predecessors_; } in predecessors() 62 const std::vector<BasicBlock*>* successors() const { return &successors_; } in successors() 65 std::vector<BasicBlock*>* successors() { return &successors_; } in successors() 90 void SetImmediateDominator(BasicBlock* dom_block); 95 void SetImmediatePostDominator(BasicBlock* pdom_block); 98 BasicBlock* immediate_dominator(); 101 const BasicBlock* immediate_dominator() const; [all …]
|
D | function.h | 38 const std::pair<const BasicBlock*, ConstructType>& p) const { in operator() 39 auto h1 = std::hash<const BasicBlock*>{}(p.first); in operator() 115 std::pair<const BasicBlock*, bool> GetBlock(uint32_t id) const; 116 std::pair<BasicBlock*, bool> GetBlock(uint32_t id); 119 const BasicBlock* first_block() const; 122 BasicBlock* first_block(); 125 const std::vector<BasicBlock*>& ordered_blocks() const; 128 std::vector<BasicBlock*>& ordered_blocks(); 152 BasicBlock* current_block(); 155 const BasicBlock* current_block() const; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | basic_block.cpp | 24 BasicBlock::BasicBlock(uint32_t label_id) in BasicBlock() function in spvtools::val::BasicBlock 35 void BasicBlock::SetImmediateDominator(BasicBlock* dom_block) { in SetImmediateDominator() 39 void BasicBlock::SetImmediatePostDominator(BasicBlock* pdom_block) { in SetImmediatePostDominator() 43 const BasicBlock* BasicBlock::immediate_dominator() const { in immediate_dominator() 47 const BasicBlock* BasicBlock::immediate_post_dominator() const { in immediate_post_dominator() 51 BasicBlock* BasicBlock::immediate_dominator() { return immediate_dominator_; } in immediate_dominator() 52 BasicBlock* BasicBlock::immediate_post_dominator() { in immediate_post_dominator() 56 void BasicBlock::RegisterSuccessors( in RegisterSuccessors() 57 const std::vector<BasicBlock*>& next_blocks) { in RegisterSuccessors() 64 bool BasicBlock::dominates(const BasicBlock& other) const { in dominates() [all …]
|
D | basic_block.h | 43 class BasicBlock { 48 explicit BasicBlock(uint32_t id); 54 const std::vector<BasicBlock*>* predecessors() const { in predecessors() 59 std::vector<BasicBlock*>* predecessors() { return &predecessors_; } in predecessors() 62 const std::vector<BasicBlock*>* successors() const { return &successors_; } in successors() 65 std::vector<BasicBlock*>* successors() { return &successors_; } in successors() 90 void SetImmediateDominator(BasicBlock* dom_block); 95 void SetImmediatePostDominator(BasicBlock* pdom_block); 98 BasicBlock* immediate_dominator(); 101 const BasicBlock* immediate_dominator() const; [all …]
|
D | function.h | 38 const std::pair<const BasicBlock*, ConstructType>& p) const { in operator() 39 auto h1 = std::hash<const BasicBlock*>{}(p.first); in operator() 115 std::pair<const BasicBlock*, bool> GetBlock(uint32_t id) const; 116 std::pair<BasicBlock*, bool> GetBlock(uint32_t id); 119 const BasicBlock* first_block() const; 122 BasicBlock* first_block(); 125 const std::vector<BasicBlock*>& ordered_blocks() const; 128 std::vector<BasicBlock*>& ordered_blocks(); 152 BasicBlock* current_block(); 155 const BasicBlock* current_block() const; [all …]
|
/third_party/node/deps/v8/src/compiler/ |
D | schedule.cc | 15 BasicBlock::BasicBlock(Zone* zone, Id id) in BasicBlock() function in v8::internal::compiler::BasicBlock 36 bool BasicBlock::LoopContains(BasicBlock* block) const { in LoopContains() 45 void BasicBlock::AddSuccessor(BasicBlock* successor) { in AddSuccessor() 49 void BasicBlock::AddPredecessor(BasicBlock* predecessor) { in AddPredecessor() 53 void BasicBlock::RemovePredecessor(size_t index) { in RemovePredecessor() 57 void BasicBlock::AddNode(Node* node) { nodes_.push_back(node); } in AddNode() 59 void BasicBlock::set_control(Control control) { control_ = control; } in set_control() 61 void BasicBlock::set_control_input(Node* control_input) { in set_control_input() 68 void BasicBlock::set_loop_depth(int32_t loop_depth) { in set_loop_depth() 72 void BasicBlock::set_rpo_number(int32_t rpo_number) { in set_rpo_number() [all …]
|
D | schedule.h | 19 class BasicBlock; variable 23 using BasicBlockVector = ZoneVector<BasicBlock*>; 29 class V8_EXPORT_PRIVATE BasicBlock final 58 BasicBlock(Zone* zone, Id id); in NON_EXPORTED_BASE() 59 BasicBlock(const BasicBlock&) = delete; in NON_EXPORTED_BASE() 60 BasicBlock& operator=(const BasicBlock&) = delete; in NON_EXPORTED_BASE() 76 BasicBlock* PredecessorAt(size_t index) { return predecessors_[index]; } in NON_EXPORTED_BASE() 78 void AddPredecessor(BasicBlock* predecessor); in NON_EXPORTED_BASE() 85 BasicBlock* SuccessorAt(size_t index) { return successors_[index]; } in NON_EXPORTED_BASE() 87 void AddSuccessor(BasicBlock* successor); in NON_EXPORTED_BASE() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | BasicBlock.h | 57 class BasicBlock final : public Value, // Basic blocks are data objects also 58 public ilist_node_with_parent<BasicBlock, Function> { 64 friend class SymbolTableListTraits<BasicBlock>; 76 explicit BasicBlock(LLVMContext &C, const Twine &Name = "", 78 BasicBlock *InsertBefore = nullptr); 81 BasicBlock(const BasicBlock &) = delete; 82 BasicBlock &operator=(const BasicBlock &) = delete; 83 ~BasicBlock(); 99 static BasicBlock *Create(LLVMContext &Context, const Twine &Name = "", 101 BasicBlock *InsertBefore = nullptr) { [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
D | JumpThreading.h | 32 class BasicBlock; variable 53 using PredValueInfo = SmallVectorImpl<std::pair<Constant *, BasicBlock *>>; 54 using PredValueInfoTy = SmallVector<std::pair<Constant *, BasicBlock *>, 8>; 87 SmallPtrSet<const BasicBlock *, 16> LoopHeaders; 89 SmallSet<AssertingVH<const BasicBlock>, 16> LoopHeaders; 111 bool ProcessBlock(BasicBlock *BB); 112 bool MaybeMergeBasicBlockIntoOnlyPred(BasicBlock *BB); 113 void UpdateSSA(BasicBlock *BB, BasicBlock *NewBB, 115 DenseMap<Instruction *, Value *> CloneInstructions(BasicBlock::iterator BI, 116 BasicBlock::iterator BE, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | BasicBlock.cpp | 26 ValueSymbolTable *BasicBlock::getValueSymbolTable() { in getValueSymbolTable() 32 LLVMContext &BasicBlock::getContext() const { in getContext() 40 BasicBlock::BasicBlock(LLVMContext &C, const Twine &Name, Function *NewParent, in BasicBlock() function in BasicBlock 41 BasicBlock *InsertBefore) in BasicBlock() 53 void BasicBlock::insertInto(Function *NewParent, BasicBlock *InsertBefore) { in insertInto() 63 BasicBlock::~BasicBlock() { in ~BasicBlock() 87 void BasicBlock::setParent(Function *parent) { in setParent() 92 iterator_range<filter_iterator<BasicBlock::const_iterator, 94 BasicBlock::instructionsWithoutDebug() const { in instructionsWithoutDebug() 101 iterator_range<filter_iterator<BasicBlock::iterator, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | BasicBlock.h | 51 class BasicBlock : public Value, // Basic blocks are data objects also 52 public ilist_node_with_parent<BasicBlock, Function> { 58 friend class SymbolTableListTraits<BasicBlock>; 70 explicit BasicBlock(LLVMContext &C, const Twine &Name = "", 72 BasicBlock *InsertBefore = nullptr); 75 BasicBlock(const BasicBlock &) = delete; 76 BasicBlock &operator=(const BasicBlock &) = delete; 77 ~BasicBlock() override; 93 static BasicBlock *Create(LLVMContext &Context, const Twine &Name = "", 95 BasicBlock *InsertBefore = nullptr) { [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | MemorySSAUpdater.h | 66 using CFGUpdate = cfg::Update<BasicBlock *>; 68 std::pair<const GraphDiff<BasicBlock *> *, Inverse<BasicBlock *>>; 78 SmallPtrSet<BasicBlock *, 8> VisitedBlocks; 105 void removeEdge(BasicBlock *From, BasicBlock *To); 109 void removeDuplicatePhiEdgesBetween(const BasicBlock *From, 110 const BasicBlock *To); 112 void updatePhisWhenInsertingUniqueBackedgeBlock(BasicBlock *LoopHeader, 113 BasicBlock *LoopPreheader, 114 BasicBlock *BackedgeBlock); 120 ArrayRef<BasicBlock *> ExitBlocks, [all …]
|
/third_party/spirv-tools/source/opt/ |
D | cfg.h | 42 BasicBlock* block(uint32_t blk_id) const { return id2block_.at(blk_id); } in block() 45 const BasicBlock* pseudo_entry_block() const { return &pseudo_entry_block_; } in pseudo_entry_block() 46 BasicBlock* pseudo_entry_block() { return &pseudo_entry_block_; } in pseudo_entry_block() 48 const BasicBlock* pseudo_exit_block() const { return &pseudo_exit_block_; } in pseudo_exit_block() 49 BasicBlock* pseudo_exit_block() { return &pseudo_exit_block_; } in pseudo_exit_block() 52 bool IsPseudoEntryBlock(BasicBlock* block_ptr) const { in IsPseudoEntryBlock() 57 bool IsPseudoExitBlock(BasicBlock* block_ptr) const { in IsPseudoExitBlock() 66 void ComputeStructuredOrder(Function* func, BasicBlock* root, 67 std::list<BasicBlock*>* order); 74 void ComputeStructuredOrder(Function* func, BasicBlock* root, BasicBlock* end, [all …]
|
D | merge_return_pass.h | 148 std::vector<BasicBlock*> CollectReturnBlocks(Function* function); 154 const std::vector<BasicBlock*>& returnBlocks); 157 void GenerateState(BasicBlock* block); 164 const std::vector<BasicBlock*>& return_blocks); 175 void ProcessStructuredBlock(BasicBlock* block); 189 void RecordReturned(BasicBlock* block); 198 void RecordReturnValue(BasicBlock* block); 203 void BranchToBlock(BasicBlock* block, uint32_t target); 214 bool PredicateBlocks(BasicBlock* return_block, 215 std::unordered_set<BasicBlock*>* pSet, [all …]
|
D | inline_pass.h | 37 using cbb_ptr = const BasicBlock*; 50 void AddBranch(uint32_t labelId, std::unique_ptr<BasicBlock>* block_ptr); 54 std::unique_ptr<BasicBlock>* block_ptr); 58 std::unique_ptr<BasicBlock>* block_ptr); 62 std::unique_ptr<BasicBlock>* block_ptr, 67 std::unique_ptr<BasicBlock>* block_ptr, 79 void MapParams(Function* calleeFn, BasicBlock::iterator call_inst_itr, 105 std::unique_ptr<BasicBlock>* block_ptr); 123 bool GenInlineCode(std::vector<std::unique_ptr<BasicBlock>>* new_blocks, 125 BasicBlock::iterator call_inst_itr, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | cfg.h | 42 BasicBlock* block(uint32_t blk_id) const { return id2block_.at(blk_id); } in block() 45 const BasicBlock* pseudo_entry_block() const { return &pseudo_entry_block_; } in pseudo_entry_block() 46 BasicBlock* pseudo_entry_block() { return &pseudo_entry_block_; } in pseudo_entry_block() 48 const BasicBlock* pseudo_exit_block() const { return &pseudo_exit_block_; } in pseudo_exit_block() 49 BasicBlock* pseudo_exit_block() { return &pseudo_exit_block_; } in pseudo_exit_block() 52 bool IsPseudoEntryBlock(BasicBlock* block_ptr) const { in IsPseudoEntryBlock() 57 bool IsPseudoExitBlock(BasicBlock* block_ptr) const { in IsPseudoExitBlock() 66 void ComputeStructuredOrder(Function* func, BasicBlock* root, 67 std::list<BasicBlock*>* order); 70 void ForEachBlockInPostOrder(BasicBlock* bb, [all …]
|
D | merge_return_pass.h | 150 std::vector<BasicBlock*> CollectReturnBlocks(Function* function); 156 const std::vector<BasicBlock*>& returnBlocks); 159 void GenerateState(BasicBlock* block); 166 const std::vector<BasicBlock*>& return_blocks); 177 void ProcessStructuredBlock(BasicBlock* block); 191 void RecordReturned(BasicBlock* block); 200 void RecordReturnValue(BasicBlock* block); 205 void BranchToBlock(BasicBlock* block, uint32_t target); 216 bool PredicateBlocks(BasicBlock* return_block, 217 std::unordered_set<BasicBlock*>* pSet, [all …]
|
D | inline_pass.h | 37 using cbb_ptr = const BasicBlock*; 50 void AddBranch(uint32_t labelId, std::unique_ptr<BasicBlock>* block_ptr); 54 std::unique_ptr<BasicBlock>* block_ptr); 58 std::unique_ptr<BasicBlock>* block_ptr); 62 std::unique_ptr<BasicBlock>* block_ptr, 67 std::unique_ptr<BasicBlock>* block_ptr, 79 void MapParams(Function* calleeFn, BasicBlock::iterator call_inst_itr, 105 std::unique_ptr<BasicBlock>* block_ptr); 123 bool GenInlineCode(std::vector<std::unique_ptr<BasicBlock>>* new_blocks, 125 BasicBlock::iterator call_inst_itr, [all …]
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | cfg.h | 42 BasicBlock* block(uint32_t blk_id) const { return id2block_.at(blk_id); } in block() 45 const BasicBlock* pseudo_entry_block() const { return &pseudo_entry_block_; } in pseudo_entry_block() 46 BasicBlock* pseudo_entry_block() { return &pseudo_entry_block_; } in pseudo_entry_block() 48 const BasicBlock* pseudo_exit_block() const { return &pseudo_exit_block_; } in pseudo_exit_block() 49 BasicBlock* pseudo_exit_block() { return &pseudo_exit_block_; } in pseudo_exit_block() 52 bool IsPseudoEntryBlock(BasicBlock* block_ptr) const { in IsPseudoEntryBlock() 57 bool IsPseudoExitBlock(BasicBlock* block_ptr) const { in IsPseudoExitBlock() 66 void ComputeStructuredOrder(Function* func, BasicBlock* root, 67 std::list<BasicBlock*>* order); 70 void ForEachBlockInPostOrder(BasicBlock* bb, [all …]
|
D | merge_return_pass.h | 150 std::vector<BasicBlock*> CollectReturnBlocks(Function* function); 156 const std::vector<BasicBlock*>& returnBlocks); 159 void GenerateState(BasicBlock* block); 166 const std::vector<BasicBlock*>& return_blocks); 177 void ProcessStructuredBlock(BasicBlock* block); 191 void RecordReturned(BasicBlock* block); 200 void RecordReturnValue(BasicBlock* block); 205 void BranchToBlock(BasicBlock* block, uint32_t target); 216 bool PredicateBlocks(BasicBlock* return_block, 217 std::unordered_set<BasicBlock*>* pSet, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | BasicBlockUtils.h | 47 void DetatchDeadBlocks(ArrayRef <BasicBlock *> BBs, 52 void DeleteDeadBlock(BasicBlock *BB, DomTreeUpdater *DTU = nullptr, 61 void DeleteDeadBlocks(ArrayRef <BasicBlock *> BBs, 75 void FoldSingleEntryPHINodes(BasicBlock *BB, 82 bool DeleteDeadPHIs(BasicBlock *BB, const TargetLibraryInfo *TLI = nullptr); 91 bool MergeBlockIntoPredecessor(BasicBlock *BB, DomTreeUpdater *DTU = nullptr, 99 bool RemoveRedundantDbgInstrs(BasicBlock *BB); 103 void ReplaceInstWithValue(BasicBlock::InstListType &BIL, 104 BasicBlock::iterator &BI, Value *V); 110 void ReplaceInstWithInst(BasicBlock::InstListType &BIL, [all …]
|