/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCExpandISEL.cpp | 52 MachineBasicBlock *FalseBlock; member in __anon73ec9bbc0111::PPCExpandISEL 366 FalseBlock = MF->CreateMachineBasicBlock(LLVM_BB); in reorganizeBlockLayout() 367 MF->insert(It, FalseBlock); in reorganizeBlockLayout() 397 MBB->addSuccessor(IsFalseBlockRequired ? FalseBlock : Successor); in reorganizeBlockLayout() 405 FalseBlockI = FalseBlock->begin(); in reorganizeBlockLayout() 406 FalseBlock->addSuccessor(Successor); in reorganizeBlockLayout() 415 BuildMI(*(IsFalseBlockRequired ? FalseBlock : MBB), in reorganizeBlockLayout() 421 FalseBlockI = FalseBlock->begin(); // get the position of PPC::B in reorganizeBlockLayout() 454 BuildMI(*FalseBlock, FalseBlockI, dl, in populateBlocks() 474 computeAndAddLiveIns(LPR, *FalseBlock); in populateBlocks()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCExpandISEL.cpp | 52 MachineBasicBlock *FalseBlock; member in __anon7de405300111::PPCExpandISEL 366 FalseBlock = MF->CreateMachineBasicBlock(LLVM_BB); in reorganizeBlockLayout() 367 MF->insert(It, FalseBlock); in reorganizeBlockLayout() 408 MBB->addSuccessor(IsFalseBlockRequired ? FalseBlock : Successor); in reorganizeBlockLayout() 416 FalseBlockI = FalseBlock->begin(); in reorganizeBlockLayout() 417 FalseBlock->addSuccessor(Successor); in reorganizeBlockLayout() 426 BuildMI(*(IsFalseBlockRequired ? FalseBlock : MBB), in reorganizeBlockLayout() 432 FalseBlockI = FalseBlock->begin(); // get the position of PPC::B in reorganizeBlockLayout() 470 FalseBlock->addLiveIn(FalseValue.getReg()); in populateBlocks() 483 BuildMI(*FalseBlock, FalseBlockI, dl, in populateBlocks()
|
/external/llvm-project/llvm/test/CodeGen/RISCV/ |
D | analyze-branch.ll | 34 ; Expected layout order is: Entry, TrueBlock, FalseBlock 66 ; Expected layout order is: Entry, FalseBlock, TrueBlock 67 ; Entry->FalseBlock is the common path, which should be taken whenever the
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiInstrInfo.cpp | 567 MachineBasicBlock *&FalseBlock, in analyzeBranch() argument 605 FalseBlock = nullptr; in analyzeBranch() 632 FalseBlock = TrueBlock; in analyzeBranch() 665 MachineBasicBlock *FalseBlock, in InsertBranch() argument 673 assert(!FalseBlock && "Unconditional branch with multiple successors!"); in InsertBranch() 686 if (!FalseBlock) in InsertBranch() 689 BuildMI(&MBB, DL, get(Lanai::BT)).addMBB(FalseBlock); in InsertBranch()
|
D | LanaiInstrInfo.h | 85 MachineBasicBlock *&FalseBlock, 136 MachineBasicBlock *FalseBlock,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiInstrInfo.cpp | 564 MachineBasicBlock *&FalseBlock, in analyzeBranch() argument 602 FalseBlock = nullptr; in analyzeBranch() 629 FalseBlock = TrueBlock; in analyzeBranch() 662 MachineBasicBlock *FalseBlock, in insertBranch() argument 672 assert(!FalseBlock && "Unconditional branch with multiple successors!"); in insertBranch() 685 if (!FalseBlock) in insertBranch() 688 BuildMI(&MBB, DL, get(Lanai::BT)).addMBB(FalseBlock); in insertBranch()
|
D | LanaiInstrInfo.h | 87 MachineBasicBlock *&FalseBlock, 139 MachineBasicBlock *FalseBlock,
|
/external/llvm-project/llvm/lib/Target/Lanai/ |
D | LanaiInstrInfo.cpp | 564 MachineBasicBlock *&FalseBlock, in analyzeBranch() argument 602 FalseBlock = nullptr; in analyzeBranch() 629 FalseBlock = TrueBlock; in analyzeBranch() 662 MachineBasicBlock *FalseBlock, in insertBranch() argument 672 assert(!FalseBlock && "Unconditional branch with multiple successors!"); in insertBranch() 685 if (!FalseBlock) in insertBranch() 688 BuildMI(&MBB, DL, get(Lanai::BT)).addMBB(FalseBlock); in insertBranch()
|
D | LanaiInstrInfo.h | 88 MachineBasicBlock *&FalseBlock, 140 MachineBasicBlock *FalseBlock,
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 1188 llvm::BasicBlock *FalseBlock, in EmitBranchOnBoolExpr() argument 1203 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1212 return EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1226 EmitBranchOnBoolExpr(CondBOp->getLHS(), LHSTrue, FalseBlock, RHSCount); 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() 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 | 1458 llvm::BasicBlock *FalseBlock, uint64_t TrueCount) { in emitPreCond() argument 1471 CGF.EmitBranchOnBoolExpr(Cond, TrueBlock, FalseBlock, TrueCount); in emitPreCond()
|
D | CodeGenFunction.h | 3185 llvm::BasicBlock *FalseBlock, uint64_t TrueCount);
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 1512 llvm::BasicBlock *FalseBlock, in EmitBranchOnBoolExpr() argument 1528 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1537 return EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1554 EmitBranchOnBoolExpr(CondBOp->getLHS(), LHSTrue, FalseBlock, RHSCount, in EmitBranchOnBoolExpr() 1564 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, TrueCount, in EmitBranchOnBoolExpr() 1579 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1588 return EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() 1618 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, RHSCount, in EmitBranchOnBoolExpr() 1635 return EmitBranchOnBoolExpr(CondUOp->getSubExpr(), FalseBlock, TrueBlock, in EmitBranchOnBoolExpr() 1668 EmitBranchOnBoolExpr(CondOp->getLHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr() [all …]
|
D | CGStmtOpenMP.cpp | 2083 llvm::BasicBlock *FalseBlock, uint64_t TrueCount) { in emitPreCond() argument 2115 CGF.EmitBranchOnBoolExpr(Cond, TrueBlock, FalseBlock, TrueCount); in emitPreCond()
|
D | CodeGenFunction.h | 4403 llvm::BasicBlock *FalseBlock, uint64_t TrueCount,
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4645 BasicBlock *FalseBlock = nullptr; in optimizeSelectInst() local 4657 FalseBlock = BasicBlock::Create(SI->getContext(), "select.false.sink", in optimizeSelectInst() 4659 auto *FalseBranch = BranchInst::Create(EndBlock, FalseBlock); in optimizeSelectInst() 4666 if (TrueBlock == FalseBlock) { in optimizeSelectInst() 4670 FalseBlock = BasicBlock::Create(SI->getContext(), "select.false", in optimizeSelectInst() 4672 BranchInst::Create(EndBlock, FalseBlock); in optimizeSelectInst() 4681 BranchInst::Create(EndBlock, FalseBlock, SI->getCondition(), SI); in optimizeSelectInst() 4683 } else if (FalseBlock == nullptr) { in optimizeSelectInst() 4685 FalseBlock = StartBlock; in optimizeSelectInst() 4687 BranchInst::Create(TrueBlock, FalseBlock, SI->getCondition(), SI); in optimizeSelectInst() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | MergeICmps.cpp | 383 BasicBlock *const FalseBlock = BranchI->getSuccessor(1); in visitCmpBlock() local 385 CmpI, FalseBlock == PhiBlock ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, in visitCmpBlock()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | MergeICmps.cpp | 383 BasicBlock *const FalseBlock = BranchI->getSuccessor(1); in visitCmpBlock() local 385 CmpI, FalseBlock == PhiBlock ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, in visitCmpBlock()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 469 CFGBlock *FalseBlock); 1669 CFGBlock *FalseBlock) { in VisitLogicalOperator() argument 1681 VisitLogicalOperator(B_RHS, Term, TrueBlock, FalseBlock); in VisitLogicalOperator() 1692 assert(TrueBlock == FalseBlock); in VisitLogicalOperator() 1701 addSuccessor(RHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator() 1718 FalseBlock = RHSBlock; in VisitLogicalOperator() 1725 return VisitLogicalOperator(B_LHS, B, TrueBlock, FalseBlock); in VisitLogicalOperator() 1749 addSuccessor(LHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 6133 BasicBlock *FalseBlock = nullptr; in optimizeSelectInst() local 6151 if (FalseBlock == nullptr) { in optimizeSelectInst() 6152 FalseBlock = BasicBlock::Create(SI->getContext(), "select.false.sink", in optimizeSelectInst() 6154 FalseBranch = BranchInst::Create(EndBlock, FalseBlock); in optimizeSelectInst() 6164 if (TrueBlock == FalseBlock) { in optimizeSelectInst() 6168 FalseBlock = BasicBlock::Create(SI->getContext(), "select.false", in optimizeSelectInst() 6170 auto *FalseBranch = BranchInst::Create(EndBlock, FalseBlock); in optimizeSelectInst() 6182 FT = FalseBlock; in optimizeSelectInst() 6184 } else if (FalseBlock == nullptr) { in optimizeSelectInst() 6187 FalseBlock = StartBlock; in optimizeSelectInst() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 6609 BasicBlock *FalseBlock = nullptr; in optimizeSelectInst() local 6627 if (FalseBlock == nullptr) { in optimizeSelectInst() 6628 FalseBlock = BasicBlock::Create(SI->getContext(), "select.false.sink", in optimizeSelectInst() 6630 FalseBranch = BranchInst::Create(EndBlock, FalseBlock); in optimizeSelectInst() 6640 if (TrueBlock == FalseBlock) { in optimizeSelectInst() 6644 FalseBlock = BasicBlock::Create(SI->getContext(), "select.false", in optimizeSelectInst() 6646 auto *FalseBranch = BranchInst::Create(EndBlock, FalseBlock); in optimizeSelectInst() 6658 FT = FalseBlock; in optimizeSelectInst() 6660 } else if (FalseBlock == nullptr) { in optimizeSelectInst() 6663 FalseBlock = StartBlock; in optimizeSelectInst() [all …]
|
/external/llvm-project/clang/lib/Analysis/ |
D | CFG.cpp | 587 CFGBlock *FalseBlock); 2422 CFGBlock *FalseBlock) { in VisitLogicalOperator() argument 2433 VisitLogicalOperator(B_RHS, Term, TrueBlock, FalseBlock); in VisitLogicalOperator() 2451 assert(TrueBlock == FalseBlock); in VisitLogicalOperator() 2457 addSuccessor(RHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator() 2474 FalseBlock = RHSBlock; in VisitLogicalOperator() 2481 return VisitLogicalOperator(B_LHS, B, TrueBlock, FalseBlock); in VisitLogicalOperator() 2505 addSuccessor(LHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator()
|