Lines Matching refs:currentBlock
52 Value getValueAt(Block *¤tBlock, Position *pos);
56 void generate(BoolNode *boolNode, Block *¤tBlock, Value val);
61 void generate(SwitchNode *switchNode, Block *currentBlock, Value val);
66 void generate(SuccessNode *successNode, Block *¤tBlock);
201 Block *currentBlock = block; in generateMatcher() local
203 Value val = position ? getValueAt(currentBlock, position) : Value(); in generateMatcher()
214 this->generate(derivedNode, currentBlock, val); in generateMatcher()
217 generate(successNode, currentBlock); in generateMatcher()
237 Value PatternLowering::getValueAt(Block *¤tBlock, Position *pos) { in getValueAt() argument
244 parentVal = getValueAt(currentBlock, parent); in getValueAt()
248 builder.setInsertionPointToEnd(currentBlock); in getValueAt()
289 currentBlock = &foreach.getRegion().front(); in getValueAt()
361 void PatternLowering::generate(BoolNode *boolNode, Block *¤tBlock, in generate() argument
366 Region *region = currentBlock->getParent(); in generate()
372 args = {getValueAt(currentBlock, equalToQuestion->getValue())}; in generate()
375 args.push_back(getValueAt(currentBlock, position)); in generate()
384 builder.setInsertionPointToEnd(currentBlock); in generate()
458 void PatternLowering::generate(SwitchNode *switchNode, Block *currentBlock, in generate() argument
461 Region *region = currentBlock->getParent(); in generate()
517 currentBlock->getOperations().splice(currentBlock->end(), in generate()
528 builder.setInsertionPointToEnd(currentBlock); in generate()
556 void PatternLowering::generate(SuccessNode *successNode, Block *¤tBlock) { in generate() argument
569 mappedMatchValues.push_back(getValueAt(currentBlock, position)); in generate()
585 builder.setInsertionPointToEnd(currentBlock); in generate()