Home
last modified time | relevance | path

Searched refs:FalseBlock (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCExpandISEL.cpp53 MachineBasicBlock *FalseBlock; member in __anon379fc8df0111::PPCExpandISEL
367 FalseBlock = MF->CreateMachineBasicBlock(LLVM_BB); in reorganizeBlockLayout()
368 MF->insert(It, FalseBlock); in reorganizeBlockLayout()
409 MBB->addSuccessor(IsFalseBlockRequired ? FalseBlock : Successor); in reorganizeBlockLayout()
417 FalseBlockI = FalseBlock->begin(); in reorganizeBlockLayout()
418 FalseBlock->addSuccessor(Successor); in reorganizeBlockLayout()
427 BuildMI(*(IsFalseBlockRequired ? FalseBlock : MBB), in reorganizeBlockLayout()
433 FalseBlockI = FalseBlock->begin(); // get the position of PPC::B in reorganizeBlockLayout()
471 FalseBlock->addLiveIn(FalseValue.getReg()); in populateBlocks()
484 BuildMI(*FalseBlock, FalseBlockI, dl, in populateBlocks()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/RISCV/
Danalyze-branch.ll34 ; 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp565 MachineBasicBlock *&FalseBlock, in analyzeBranch() argument
603 FalseBlock = nullptr; in analyzeBranch()
630 FalseBlock = TrueBlock; in analyzeBranch()
663 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()
DLanaiInstrInfo.h86 MachineBasicBlock *&FalseBlock,
138 MachineBasicBlock *FalseBlock,
/external/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp567 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()
DLanaiInstrInfo.h85 MachineBasicBlock *&FalseBlock,
136 MachineBasicBlock *FalseBlock,
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp1188 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 …]
DCGStmtOpenMP.cpp1458 llvm::BasicBlock *FalseBlock, uint64_t TrueCount) { in emitPreCond() argument
1471 CGF.EmitBranchOnBoolExpr(Cond, TrueBlock, FalseBlock, TrueCount); in emitPreCond()
DCodeGenFunction.h3185 llvm::BasicBlock *FalseBlock, uint64_t TrueCount);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMergeICmps.cpp302 BasicBlock *const FalseBlock = BranchI->getSuccessor(1); in visitCmpBlock() local
304 CmpI, FalseBlock == PhiBlock ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE); in visitCmpBlock()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4645 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp5663 BasicBlock *FalseBlock = nullptr; in optimizeSelectInst() local
5680 if (FalseBlock == nullptr) { in optimizeSelectInst()
5681 FalseBlock = BasicBlock::Create(SI->getContext(), "select.false.sink", in optimizeSelectInst()
5683 FalseBranch = BranchInst::Create(EndBlock, FalseBlock); in optimizeSelectInst()
5692 if (TrueBlock == FalseBlock) { in optimizeSelectInst()
5696 FalseBlock = BasicBlock::Create(SI->getContext(), "select.false", in optimizeSelectInst()
5698 BranchInst::Create(EndBlock, FalseBlock); in optimizeSelectInst()
5709 FT = FalseBlock; in optimizeSelectInst()
5711 } else if (FalseBlock == nullptr) { in optimizeSelectInst()
5714 FalseBlock = StartBlock; in optimizeSelectInst()
[all …]
/external/clang/lib/Analysis/
DCFG.cpp469 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()