Home
last modified time | relevance | path

Searched refs:TrueBlock (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCExpandISEL.cpp51 MachineBasicBlock *TrueBlock; member in __anon73ec9bbc0111::PPCExpandISEL
371 TrueBlock = MF->CreateMachineBasicBlock(LLVM_BB); in reorganizeBlockLayout()
372 MF->insert(It, TrueBlock); in reorganizeBlockLayout()
396 MBB->addSuccessor(IsTrueBlockRequired ? TrueBlock : Successor); in reorganizeBlockLayout()
400 TrueBlockI = TrueBlock->begin(); in reorganizeBlockLayout()
401 TrueBlock->addSuccessor(Successor); in reorganizeBlockLayout()
412 .addMBB(IsTrueBlockRequired ? TrueBlock : Successor); in reorganizeBlockLayout()
446 BuildMI(*TrueBlock, TrueBlockI, dl, in populateBlocks()
468 computeAndAddLiveIns(LPR, *TrueBlock); in populateBlocks()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCExpandISEL.cpp51 MachineBasicBlock *TrueBlock; member in __anon7de405300111::PPCExpandISEL
371 TrueBlock = MF->CreateMachineBasicBlock(LLVM_BB); in reorganizeBlockLayout()
372 MF->insert(It, TrueBlock); in reorganizeBlockLayout()
407 MBB->addSuccessor(IsTrueBlockRequired ? TrueBlock : Successor); in reorganizeBlockLayout()
411 TrueBlockI = TrueBlock->begin(); in reorganizeBlockLayout()
412 TrueBlock->addSuccessor(Successor); in reorganizeBlockLayout()
423 .addMBB(IsTrueBlockRequired ? TrueBlock : Successor); in reorganizeBlockLayout()
458 BuildMI(*TrueBlock, TrueBlockI, dl, in populateBlocks()
465 TrueBlock->addLiveIn(TrueValue.getReg()); in populateBlocks()
/external/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp566 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()
DLanaiInstrInfo.h84 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TrueBlock,
135 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TrueBlock,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp563 MachineBasicBlock *&TrueBlock, in analyzeBranch() argument
592 TrueBlock = Instruction->getOperand(0).getMBB(); in analyzeBranch()
606 TrueBlock = nullptr; in analyzeBranch()
613 TrueBlock = Instruction->getOperand(0).getMBB(); in analyzeBranch()
629 FalseBlock = TrueBlock; in analyzeBranch()
630 TrueBlock = Instruction->getOperand(0).getMBB(); in analyzeBranch()
661 MachineBasicBlock *TrueBlock, in insertBranch() argument
667 assert(TrueBlock && "insertBranch must not be told to insert a fallthrough"); in insertBranch()
673 BuildMI(&MBB, DL, get(Lanai::BT)).addMBB(TrueBlock); in insertBranch()
681 BuildMI(&MBB, DL, get(Lanai::BRCC)).addMBB(TrueBlock).addImm(ConditionalCode); in insertBranch()
DLanaiInstrInfo.h86 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TrueBlock,
138 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TrueBlock,
/external/llvm-project/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp563 MachineBasicBlock *&TrueBlock, in analyzeBranch() argument
592 TrueBlock = Instruction->getOperand(0).getMBB(); in analyzeBranch()
606 TrueBlock = nullptr; in analyzeBranch()
613 TrueBlock = Instruction->getOperand(0).getMBB(); in analyzeBranch()
629 FalseBlock = TrueBlock; in analyzeBranch()
630 TrueBlock = Instruction->getOperand(0).getMBB(); in analyzeBranch()
661 MachineBasicBlock *TrueBlock, in insertBranch() argument
667 assert(TrueBlock && "insertBranch must not be told to insert a fallthrough"); in insertBranch()
673 BuildMI(&MBB, DL, get(Lanai::BT)).addMBB(TrueBlock); in insertBranch()
681 BuildMI(&MBB, DL, get(Lanai::BRCC)).addMBB(TrueBlock).addImm(ConditionalCode); in insertBranch()
DLanaiInstrInfo.h87 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TrueBlock,
139 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TrueBlock,
/external/llvm-project/llvm/test/CodeGen/RISCV/
Danalyze-branch.ll34 ; 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/
DCodeGenFunction.cpp1187 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 …]
DCGStmtOpenMP.cpp1457 const Expr *Cond, llvm::BasicBlock *TrueBlock, in emitPreCond() argument
1471 CGF.EmitBranchOnBoolExpr(Cond, TrueBlock, FalseBlock, TrueCount); in emitPreCond()
DCodeGenFunction.h3184 void EmitBranchOnBoolExpr(const Expr *Cond, llvm::BasicBlock *TrueBlock,
/external/llvm-project/clang/lib/CodeGen/
DCodeGenFunction.cpp1511 llvm::BasicBlock *TrueBlock, in EmitBranchOnBoolExpr() argument
1528 return EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, in EmitBranchOnBoolExpr()
1537 return EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, FalseBlock, 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()
1608 EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, LHSFalse, LHSCount, 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 …]
DCGStmtOpenMP.cpp2082 const Expr *Cond, llvm::BasicBlock *TrueBlock, in emitPreCond() argument
2115 CGF.EmitBranchOnBoolExpr(Cond, TrueBlock, FalseBlock, TrueCount); in emitPreCond()
DCodeGenFunction.h4402 void EmitBranchOnBoolExpr(const Expr *Cond, llvm::BasicBlock *TrueBlock,
/external/clang/lib/Analysis/
DCFG.cpp468 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-project/clang/lib/Analysis/
DCFG.cpp586 CFGBlock *TrueBlock,
2421 CFGBlock *TrueBlock, in VisitLogicalOperator() argument
2433 VisitLogicalOperator(B_RHS, Term, TrueBlock, FalseBlock); in VisitLogicalOperator()
2451 assert(TrueBlock == FalseBlock); in VisitLogicalOperator()
2452 addSuccessor(RHSBlock, TrueBlock); in VisitLogicalOperator()
2456 addSuccessor(RHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator()
2476 TrueBlock = RHSBlock; in VisitLogicalOperator()
2481 return VisitLogicalOperator(B_LHS, B, TrueBlock, FalseBlock); in VisitLogicalOperator()
2500 addSuccessor(LHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator()
4877 CFGBlock *TrueBlock = Block; in VisitConditionalOperatorForTemporaryDtors() local
[all …]
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4644 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-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6132 BasicBlock *TrueBlock = nullptr; in optimizeSelectInst() local
6141 if (TrueBlock == nullptr) { in optimizeSelectInst()
6142 TrueBlock = BasicBlock::Create(SI->getContext(), "select.true.sink", in optimizeSelectInst()
6144 TrueBranch = BranchInst::Create(EndBlock, TrueBlock); in optimizeSelectInst()
6164 if (TrueBlock == FalseBlock) { in optimizeSelectInst()
6165 assert(TrueBlock == nullptr && in optimizeSelectInst()
6180 if (TrueBlock == nullptr) { in optimizeSelectInst()
6183 TrueBlock = StartBlock; in optimizeSelectInst()
6185 TT = TrueBlock; in optimizeSelectInst()
6189 TT = TrueBlock; in optimizeSelectInst()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6608 BasicBlock *TrueBlock = nullptr; in optimizeSelectInst() local
6617 if (TrueBlock == nullptr) { in optimizeSelectInst()
6618 TrueBlock = BasicBlock::Create(SI->getContext(), "select.true.sink", in optimizeSelectInst()
6620 TrueBranch = BranchInst::Create(EndBlock, TrueBlock); in optimizeSelectInst()
6640 if (TrueBlock == FalseBlock) { in optimizeSelectInst()
6641 assert(TrueBlock == nullptr && in optimizeSelectInst()
6656 if (TrueBlock == nullptr) { in optimizeSelectInst()
6659 TrueBlock = StartBlock; in optimizeSelectInst()
6661 TT = TrueBlock; in optimizeSelectInst()
6665 TT = TrueBlock; in optimizeSelectInst()
[all …]