/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCExpandISEL.cpp | 52 MachineBasicBlock *TrueBlock; member in __anon379fc8df0111::PPCExpandISEL 372 TrueBlock = MF->CreateMachineBasicBlock(LLVM_BB); in reorganizeBlockLayout() 373 MF->insert(It, TrueBlock); in reorganizeBlockLayout() 408 MBB->addSuccessor(IsTrueBlockRequired ? TrueBlock : Successor); in reorganizeBlockLayout() 412 TrueBlockI = TrueBlock->begin(); in reorganizeBlockLayout() 413 TrueBlock->addSuccessor(Successor); in reorganizeBlockLayout() 424 .addMBB(IsTrueBlockRequired ? TrueBlock : Successor); in reorganizeBlockLayout() 459 BuildMI(*TrueBlock, TrueBlockI, dl, in populateBlocks() 466 TrueBlock->addLiveIn(TrueValue.getReg()); in populateBlocks()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
D | LanaiInstrInfo.cpp | 564 MachineBasicBlock *&TrueBlock, in analyzeBranch() argument 593 TrueBlock = Instruction->getOperand(0).getMBB(); in analyzeBranch() 607 TrueBlock = nullptr; in analyzeBranch() 614 TrueBlock = Instruction->getOperand(0).getMBB(); in analyzeBranch() 630 FalseBlock = TrueBlock; in analyzeBranch() 631 TrueBlock = Instruction->getOperand(0).getMBB(); in analyzeBranch() 662 MachineBasicBlock *TrueBlock, in insertBranch() argument 668 assert(TrueBlock && "insertBranch must not be told to insert a fallthrough"); in insertBranch() 674 BuildMI(&MBB, DL, get(Lanai::BT)).addMBB(TrueBlock); in insertBranch() 682 BuildMI(&MBB, DL, get(Lanai::BRCC)).addMBB(TrueBlock).addImm(ConditionalCode); in insertBranch()
|
D | LanaiInstrInfo.h | 85 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TrueBlock, 137 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TrueBlock,
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiInstrInfo.cpp | 566 MachineBasicBlock *&TrueBlock, in analyzeBranch() argument 595 TrueBlock = Instruction->getOperand(0).getMBB(); in analyzeBranch() 609 TrueBlock = nullptr; in analyzeBranch() 616 TrueBlock = Instruction->getOperand(0).getMBB(); in analyzeBranch() 632 FalseBlock = TrueBlock; in analyzeBranch() 633 TrueBlock = Instruction->getOperand(0).getMBB(); in analyzeBranch() 664 MachineBasicBlock *TrueBlock, in InsertBranch() argument 669 assert(TrueBlock && "InsertBranch must not be told to insert a fallthrough"); in InsertBranch() 674 BuildMI(&MBB, DL, get(Lanai::BT)).addMBB(TrueBlock); in InsertBranch() 682 BuildMI(&MBB, DL, get(Lanai::BRCC)).addMBB(TrueBlock).addImm(ConditionalCode); in InsertBranch()
|
D | LanaiInstrInfo.h | 84 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TrueBlock, 135 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TrueBlock,
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/RISCV/ |
D | analyze-branch.ll | 34 ; Expected layout order is: Entry, TrueBlock, FalseBlock 35 ; Entry->TrueBlock is the common path, which should be taken whenever the 66 ; Expected layout order is: Entry, FalseBlock, TrueBlock
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 1187 llvm::BasicBlock *TrueBlock, in EmitBranchOnBoolExpr() argument 1203 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1212 return EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1235 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, TrueCount); in EmitBranchOnBoolExpr() 1249 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1258 return EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1275 EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, LHSFalse, LHSCount); in EmitBranchOnBoolExpr() 1284 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, RHSCount); in EmitBranchOnBoolExpr() 1298 return EmitBranchOnBoolExpr(CondUOp->getSubExpr(), FalseBlock, TrueBlock, in EmitBranchOnBoolExpr() 1329 EmitBranchOnBoolExpr(CondOp->getLHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() [all …]
|
D | CGStmtOpenMP.cpp | 1457 const Expr *Cond, llvm::BasicBlock *TrueBlock, in emitPreCond() argument 1471 CGF.EmitBranchOnBoolExpr(Cond, TrueBlock, FalseBlock, TrueCount); in emitPreCond()
|
D | CodeGenFunction.h | 3184 void EmitBranchOnBoolExpr(const Expr *Cond, llvm::BasicBlock *TrueBlock,
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 468 CFGBlock *TrueBlock, 1668 CFGBlock *TrueBlock, in VisitLogicalOperator() argument 1681 VisitLogicalOperator(B_RHS, Term, TrueBlock, FalseBlock); in VisitLogicalOperator() 1692 assert(TrueBlock == FalseBlock); in VisitLogicalOperator() 1693 addSuccessor(RHSBlock, TrueBlock); in VisitLogicalOperator() 1700 addSuccessor(RHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator() 1720 TrueBlock = RHSBlock; in VisitLogicalOperator() 1725 return VisitLogicalOperator(B_LHS, B, TrueBlock, FalseBlock); in VisitLogicalOperator() 1744 addSuccessor(LHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator() 3847 CFGBlock *TrueBlock = Block; in VisitConditionalOperatorForTemporaryDtors() local [all …]
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4644 BasicBlock *TrueBlock = nullptr; in optimizeSelectInst() local 4650 TrueBlock = BasicBlock::Create(SI->getContext(), "select.true.sink", in optimizeSelectInst() 4652 auto *TrueBranch = BranchInst::Create(EndBlock, TrueBlock); in optimizeSelectInst() 4666 if (TrueBlock == FalseBlock) { in optimizeSelectInst() 4667 assert(TrueBlock == nullptr && in optimizeSelectInst() 4680 if (TrueBlock == nullptr) { in optimizeSelectInst() 4682 TrueBlock = StartBlock; in optimizeSelectInst() 4684 BranchInst::Create(TrueBlock, EndBlock, SI->getCondition(), SI); in optimizeSelectInst() 4687 BranchInst::Create(TrueBlock, FalseBlock, SI->getCondition(), SI); in optimizeSelectInst() 4693 PN->addIncoming(SI->getTrueValue(), TrueBlock); in optimizeSelectInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 5662 BasicBlock *TrueBlock = nullptr; in optimizeSelectInst() local 5671 if (TrueBlock == nullptr) { in optimizeSelectInst() 5672 TrueBlock = BasicBlock::Create(SI->getContext(), "select.true.sink", in optimizeSelectInst() 5674 TrueBranch = BranchInst::Create(EndBlock, TrueBlock); in optimizeSelectInst() 5692 if (TrueBlock == FalseBlock) { in optimizeSelectInst() 5693 assert(TrueBlock == nullptr && in optimizeSelectInst() 5707 if (TrueBlock == nullptr) { in optimizeSelectInst() 5710 TrueBlock = StartBlock; in optimizeSelectInst() 5712 TT = TrueBlock; in optimizeSelectInst() 5716 TT = TrueBlock; in optimizeSelectInst() [all …]
|