Searched refs:FirstTerm (Results 1 – 11 of 11) sorted by relevance
/external/llvm/lib/Target/Hexagon/ |
D | HexagonBranchRelaxation.cpp | 135 auto FirstTerm = B.getFirstInstrTerminator(); in isJumpOutOfRange() local 136 if (FirstTerm == B.instr_end()) in isJumpOutOfRange() 155 if (HII->isNewValueJump(&*FirstTerm)) in isJumpOutOfRange() 156 TBB = FirstTerm->getOperand(HII->getCExtOpNum(&*FirstTerm)).getMBB(); in isJumpOutOfRange() 158 if (TBB && &MI == &*FirstTerm) { in isJumpOutOfRange() 161 return !HII->isJumpWithinBranchRange(&*FirstTerm, Distance); in isJumpOutOfRange() 165 auto SecondTerm = std::next(FirstTerm); in isJumpOutOfRange()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonBranchRelaxation.cpp | 148 auto FirstTerm = B.getFirstInstrTerminator(); in isJumpOutOfRange() local 149 if (FirstTerm == B.instr_end()) in isJumpOutOfRange() 171 if (HII->isNewValueJump(*FirstTerm)) in isJumpOutOfRange() 172 TBB = FirstTerm->getOperand(HII->getCExtOpNum(*FirstTerm)).getMBB(); in isJumpOutOfRange() 174 if (TBB && &MI == &*FirstTerm) { in isJumpOutOfRange() 177 return !HII->isJumpWithinBranchRange(*FirstTerm, Distance); in isJumpOutOfRange() 181 auto SecondTerm = std::next(FirstTerm); in isJumpOutOfRange()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | EarlyIfConversion.cpp | 276 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in findInsertionPoint() local 311 if (I != FirstTerm && I->isTerminator()) in findInsertionPoint() 456 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in replacePHIInstrs() local 457 assert(FirstTerm != Head->end() && "No terminators"); in replacePHIInstrs() 458 DebugLoc HeadDL = FirstTerm->getDebugLoc(); in replacePHIInstrs() 465 TII->insertSelect(*Head, FirstTerm, HeadDL, DstReg, Cond, PI.TReg, PI.FReg); in replacePHIInstrs() 466 LLVM_DEBUG(dbgs() << " --> " << *std::prev(FirstTerm)); in replacePHIInstrs() 476 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in rewritePHIOperands() local 477 assert(FirstTerm != Head->end() && "No terminators"); in rewritePHIOperands() 478 DebugLoc HeadDL = FirstTerm->getDebugLoc(); in rewritePHIOperands() [all …]
|
D | PHIElimination.cpp | 441 MachineBasicBlock::iterator FirstTerm = opBlock.getFirstTerminator(); in LowerPHINode() local 442 for (MachineBasicBlock::iterator Term = FirstTerm; in LowerPHINode() 453 KillInst = FirstTerm; in LowerPHINode() 501 MachineBasicBlock::iterator FirstTerm = opBlock.getFirstTerminator(); in LowerPHINode() local 502 for (MachineBasicBlock::iterator Term = FirstTerm; in LowerPHINode() 513 KillInst = FirstTerm; in LowerPHINode()
|
D | SplitKit.cpp | 91 MachineBasicBlock::const_iterator FirstTerm = MBB.getFirstTerminator(); in computeLastInsertPoint() local 92 if (FirstTerm == MBB.end()) in computeLastInsertPoint() 95 LIP.first = LIS.getInstructionIndex(*FirstTerm); in computeLastInsertPoint()
|
/external/llvm/lib/CodeGen/ |
D | EarlyIfConversion.cpp | 275 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in findInsertionPoint() local 310 if (I != FirstTerm && I->isTerminator()) in findInsertionPoint() 455 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in replacePHIInstrs() local 456 assert(FirstTerm != Head->end() && "No terminators"); in replacePHIInstrs() 457 DebugLoc HeadDL = FirstTerm->getDebugLoc(); in replacePHIInstrs() 464 TII->insertSelect(*Head, FirstTerm, HeadDL, DstReg, Cond, PI.TReg, PI.FReg); in replacePHIInstrs() 465 DEBUG(dbgs() << " --> " << *std::prev(FirstTerm)); in replacePHIInstrs() 475 MachineBasicBlock::iterator FirstTerm = Head->getFirstTerminator(); in rewritePHIOperands() local 476 assert(FirstTerm != Head->end() && "No terminators"); in rewritePHIOperands() 477 DebugLoc HeadDL = FirstTerm->getDebugLoc(); in rewritePHIOperands() [all …]
|
D | PHIElimination.cpp | 427 MachineBasicBlock::iterator FirstTerm = opBlock.getFirstTerminator(); in LowerPHINode() local 428 for (MachineBasicBlock::iterator Term = FirstTerm; in LowerPHINode() 439 KillInst = FirstTerm; in LowerPHINode() 487 MachineBasicBlock::iterator FirstTerm = opBlock.getFirstTerminator(); in LowerPHINode() local 488 for (MachineBasicBlock::iterator Term = FirstTerm; in LowerPHINode() 499 KillInst = FirstTerm; in LowerPHINode()
|
D | SplitKit.cpp | 63 MachineBasicBlock::const_iterator FirstTerm = MBB.getFirstTerminator(); in computeLastInsertPoint() local 64 if (FirstTerm == MBB.end()) in computeLastInsertPoint() 67 LIP.first = LIS.getInstructionIndex(*FirstTerm); in computeLastInsertPoint()
|
D | BranchFolding.cpp | 172 MachineBasicBlock::iterator FirstTerm = I; in OptimizeImpDefsBlock() local 188 while (I != FirstTerm) { in OptimizeImpDefsBlock()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | SplitKit.cpp | 69 MachineBasicBlock::const_iterator FirstTerm = MBB->getFirstTerminator(); in computeLastSplitPoint() local 70 if (FirstTerm == MBB->end()) in computeLastSplitPoint() 73 LSP.first = LIS.getInstructionIndex(FirstTerm); in computeLastSplitPoint()
|
D | BranchFolding.cpp | 143 MachineBasicBlock::iterator FirstTerm = I; in OptimizeImpDefsBlock() local 160 while (I != FirstTerm) { in OptimizeImpDefsBlock()
|