Home
last modified time | relevance | path

Searched refs:BlockNode (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h182 struct BlockNode { struct
187 BlockNode() : Index(std::numeric_limits<uint32_t>::max()) {} in BlockNode() argument
188 BlockNode(IndexType Index) : Index(Index) {} in BlockNode() function
190 bool operator==(const BlockNode &X) const { return Index == X.Index; }
191 bool operator!=(const BlockNode &X) const { return Index != X.Index; }
192 bool operator<=(const BlockNode &X) const { return Index <= X.Index; }
193 bool operator>=(const BlockNode &X) const { return Index >= X.Index; }
194 bool operator<(const BlockNode &X) const { return Index < X.Index; }
195 bool operator>(const BlockNode &X) const { return Index > X.Index; }
215 using ExitMap = SmallVector<std::pair<BlockNode, BlockMass>, 4>; argument
[all …]
/third_party/gn/src/gn/
Dfunctions.h14 class BlockNode; variable
38 BlockNode* block,
61 BlockNode* block,
70 BlockNode* block,
87 BlockNode* block,
96 BlockNode* block,
121 BlockNode* block,
146 BlockNode* block,
203 BlockNode* block,
212 BlockNode* block,
[all …]
Dparse_tree.h23 class BlockNode; variable
85 virtual const BlockNode* AsBlock() const;
248 class BlockNode : public ParseNode {
261 BlockNode(ResultMode result_mode);
262 ~BlockNode() override;
264 const BlockNode* AsBlock() const override;
295 DISALLOW_COPY_AND_ASSIGN(BlockNode);
320 const BlockNode* if_true() const { return if_true_.get(); } in if_true()
321 void set_if_true(std::unique_ptr<BlockNode> t) { if_true_ = std::move(t); } in set_if_true()
333 std::unique_ptr<BlockNode> if_true_; // Always non-null.
[all …]
Dparser.cc466 return ParseBlock(token, BlockNode::RETURNS_SCOPE); in Block()
539 std::unique_ptr<BlockNode> block; in IdentifierOrCall()
555 block = ParseBlock(Consume(), BlockNode::DISCARDS_RESULT); in IdentifierOrCall()
687 std::unique_ptr<BlockNode> file = in ParseFile()
688 std::make_unique<BlockNode>(BlockNode::DISCARDS_RESULT); in ParseFile()
732 std::unique_ptr<BlockNode> Parser::ParseBlock( in ParseBlock()
734 BlockNode::ResultMode result_mode) { in ParseBlock()
736 return std::unique_ptr<BlockNode>(); in ParseBlock()
737 std::unique_ptr<BlockNode> block = std::make_unique<BlockNode>(result_mode); in ParseBlock()
748 return std::unique_ptr<BlockNode>(); in ParseBlock()
[all …]
Dtemplate.h13 class BlockNode; variable
43 BlockNode* block,
Dparse_tree.cc112 const BlockNode* ParseNode::AsBlock() const { in AsBlock()
390 BlockNode::BlockNode(ResultMode result_mode) : result_mode_(result_mode) {} in BlockNode() function in BlockNode
392 BlockNode::~BlockNode() = default;
394 const BlockNode* BlockNode::AsBlock() const { in AsBlock()
398 Value BlockNode::Execute(Scope* enclosing_scope, Err* err) const { in Execute()
442 LocationRange BlockNode::GetRange() const { in GetRange()
453 Err BlockNode::MakeErrorDescribing(const std::string& msg, in MakeErrorDescribing()
458 base::Value BlockNode::GetJSONNode() const { in GetJSONNode()
Dparser.h82 std::unique_ptr<BlockNode> ParseBlock(const Token& begin_brace,
83 BlockNode::ResultMode result_mode);
Dfunctions_target.cc36 BlockNode* block, in ExecuteGenericTarget()
187 BlockNode* block, in RunAction()
267 BlockNode* block, in RunActionForEach()
332 BlockNode* block, in RunBundleData()
Dfunction_foreach.cc78 const BlockNode* block = function->block(); in RunForEach()
Dloader_unittest.cc132 BlockNode block(BlockNode::DISCARDS_RESULT); // Default response. in IssueAllPending()
Dfunctions.cc37 const BlockNode* block, in VerifyNoBlockForFunctionCall()
112 const BlockNode* block, in FillTargetBlockScope()
472 BlockNode* block, in RunDeclareArgs()
Dtemplate.cc30 BlockNode* block, in Invoke()
Dcommand_format.cc513 } else if (const BlockNode* block = node->AsBlock()) { in SuffixCommentTreeWalk()
604 const BlockNode* block = root->AsBlock(); in Block()
861 } else if (const BlockNode* block = root->AsBlock()) { in Expr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp68 using BlockNode = BlockFrequencyInfoImplBase::BlockNode; typedef
123 void Distribution::add(const BlockNode &Node, uint64_t Amount, in add()
179 using HashTable = DenseMap<BlockNode::IndexType, Weight>; in combineWeightsByHashing()
292 const BlockNode &Pred, in addToDist()
293 const BlockNode &Succ, in addToDist()
298 auto isLoopHeader = [&OuterLoop](const BlockNode &Node) { in addToDist()
302 BlockNode Resolved = Working[Succ.Index].getResolvedNode(); in addToDist()
404 for (const BlockNode &M : Loop.Nodes) { in packageLoop()
414 const DitheringDistributer &D, const BlockNode &T, in debugAssign()
425 void BlockFrequencyInfoImplBase::distributeMass(const BlockNode &Source, in distributeMass()
[all …]
/third_party/ffmpeg/libavcodec/
Dsnow.h51 typedef struct BlockNode{ struct
62 }BlockNode; argument
64 static const BlockNode null_block= { //FIXME add border maybe
171 BlockNode *block;
248 int sx, int sy, int b_w, int b_h, const BlockNode *block,
255 const BlockNode *left, const BlockNode *top, const BlockNode *tr){ in pred_mv()
270 static av_always_inline int same_block(BlockNode *a, BlockNode *b){ in same_block()
284 BlockNode *lt= &s->block[b_x + b_y*b_stride]; in add_yblock()
285 BlockNode *rt= lt+1; in add_yblock()
286 BlockNode *lb= lt+b_stride; in add_yblock()
[all …]
Dsnowenc.c245 const BlockNode *left = x ? &s->block[index-1] : &null_block; in encode_q_branch()
246 const BlockNode *top = y ? &s->block[index-w] : &null_block; in encode_q_branch()
247 const BlockNode *right = trx<w ? &s->block[index+1] : &null_block; in encode_q_branch()
248 const BlockNode *bottom= try<h ? &s->block[index+w] : &null_block; in encode_q_branch()
249 const BlockNode *tl = y && x ? &s->block[index-w-1] : left; in encode_q_branch()
250 …const BlockNode *tr = y && trx<w && ((x&1)==0 || level==0) ? &s->block[index-w+(1<<rem_depth)] … in encode_q_branch()
462 BlockNode *b= &s->block[index]; in encode_q_branch2()
463 const BlockNode *left = x ? &s->block[index-1] : &null_block; in encode_q_branch2()
464 const BlockNode *top = y ? &s->block[index-w] : &null_block; in encode_q_branch2()
465 const BlockNode *tl = y && x ? &s->block[index-w-1] : left; in encode_q_branch2()
[all …]
Dsnowdec.c96 BlockNode *bn= &s->block[mb_x + mb_y*b_stride]; in predict_slice_buffered()
163 const BlockNode *left = x ? &s->block[index-1] : &null_block; in decode_q_branch()
164 const BlockNode *top = y ? &s->block[index-w] : &null_block; in decode_q_branch()
165 const BlockNode *tl = y && x ? &s->block[index-w-1] : left; in decode_q_branch()
166 …const BlockNode *tr = y && trx<w && ((x&1)==0 || level==0) ? &s->block[index-w+(1<<rem_depth)] … in decode_q_branch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFGraph.h626 struct BlockNode : public CodeNode { struct
639 NodeAddr<BlockNode*> findBlock(const MachineBasicBlock *BB, argument
641 NodeAddr<BlockNode*> getEntryBlock(const DataFlowGraph &G);
768 NodeAddr<BlockNode*> findBlock(MachineBasicBlock *BB) const { in findBlock()
827 RegisterRef RR, NodeAddr<BlockNode*> PredB,
833 NodeAddr<PhiNode*> newPhi(NodeAddr<BlockNode*> Owner);
834 NodeAddr<StmtNode*> newStmt(NodeAddr<BlockNode*> Owner,
836 NodeAddr<BlockNode*> newBlock(NodeAddr<FuncNode*> Owner,
847 void buildStmt(NodeAddr<BlockNode*> BA, MachineInstr &In);
848 void recordDefsForDF(BlockRefsMap &PhiM, NodeAddr<BlockNode*> BA);
[all …]
DRDFGraph.cpp266 const Print<NodeAddr<BlockNode*>> &P) { in operator <<()
302 OS << PrintNode<BlockNode*>(I, P.G) << '\n'; in operator <<()
546 void BlockNode::addPhi(NodeAddr<PhiNode*> PA, const DataFlowGraph &G) { in addPhi()
576 NodeAddr<BlockNode*> FuncNode::findBlock(const MachineBasicBlock *BB, in findBlock()
579 return NodeAddr<BlockNode*>(NA).Addr->getCode() == BB; in findBlock()
584 return NodeAddr<BlockNode*>(); in findBlock()
588 NodeAddr<BlockNode*> FuncNode::getEntryBlock(const DataFlowGraph &G) { in getEntryBlock()
814 RegisterRef RR, NodeAddr<BlockNode*> PredB, uint16_t Flags) { in newPhiUse()
837 NodeAddr<PhiNode*> DataFlowGraph::newPhi(NodeAddr<BlockNode*> Owner) { in newPhi()
843 NodeAddr<StmtNode*> DataFlowGraph::newStmt(NodeAddr<BlockNode*> Owner, in newStmt()
[all …]
DRDFDeadCode.cpp128 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) in collect()
157 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) { in collect()
232 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in erase()
DRDFLiveness.cpp174 NodeAddr<BlockNode*> BA = PA.Addr->getOwner(DFG); in getAllReachingDefs()
324 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in getNearestAliasedRef()
363 BA = NodeAddr<BlockNode*>(); in getNearestAliasedRef()
431 for (NodeAddr<BlockNode*> BA : Blocks) { in computePhiInfo()
686 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) { in computeLiveIns()
724 for (NodeAddr<BlockNode*> BA : Blocks) { in computeLiveIns()
742 for (NodeAddr<BlockNode*> BA : Blocks) { in computeLiveIns()
768 auto PrA = DFG.addr<BlockNode*>(PUA.Addr->getPredecessor()); in computeLiveIns()
1002 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in traverse()
1036 NodeAddr<BlockNode*> BTA = ITA.Addr->getOwner(DFG); in traverse()
DRDFCopy.cpp70 NodeAddr<BlockNode*> BA = DFG.findBlock(B); in scanBlock()
DHexagonOptAddrMode.cpp91 bool processBlock(NodeAddr<BlockNode *> BA);
687 bool HexagonOptAddrMode::processBlock(NodeAddr<BlockNode *> BA) { in processBlock()
806 for (NodeAddr<BlockNode *> BA : FA.Addr->members(*DFG)) in runOnMachineFunction()
DHexagonRDFOpt.cpp163 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) { in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp1345 using BlockNode = BlockFrequencyInfoImplBase::BlockNode; in calculateNewCallTerminatorWeights() typedef
1356 BlockNode ExitNode(i); in calculateNewCallTerminatorWeights()

12