/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64RedundantCopyElimination.cpp | 93 bool knownRegValInBlock(MachineInstr &CondBr, MachineBasicBlock *MBB, 125 MachineInstr &CondBr, MachineBasicBlock *MBB, in knownRegValInBlock() argument 127 unsigned Opc = CondBr.getOpcode(); in knownRegValInBlock() 132 MBB == CondBr.getOperand(1).getMBB()) || in knownRegValInBlock() 134 MBB != CondBr.getOperand(1).getMBB())) { in knownRegValInBlock() 135 FirstUse = CondBr; in knownRegValInBlock() 136 KnownRegs.push_back(RegImm(CondBr.getOperand(0).getReg(), 0)); in knownRegValInBlock() 145 AArch64CC::CondCode CC = (AArch64CC::CondCode)CondBr.getOperand(0).getImm(); in knownRegValInBlock() 149 MachineBasicBlock *BrTarget = CondBr.getOperand(1).getMBB(); in knownRegValInBlock() 156 assert(PredMBB == CondBr.getParent() && in knownRegValInBlock() [all …]
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64RedundantCopyElimination.cpp | 93 bool knownRegValInBlock(MachineInstr &CondBr, MachineBasicBlock *MBB, 125 MachineInstr &CondBr, MachineBasicBlock *MBB, in knownRegValInBlock() argument 127 unsigned Opc = CondBr.getOpcode(); in knownRegValInBlock() 132 MBB == CondBr.getOperand(1).getMBB()) || in knownRegValInBlock() 134 MBB != CondBr.getOperand(1).getMBB())) { in knownRegValInBlock() 135 FirstUse = CondBr; in knownRegValInBlock() 136 KnownRegs.push_back(RegImm(CondBr.getOperand(0).getReg(), 0)); in knownRegValInBlock() 145 AArch64CC::CondCode CC = (AArch64CC::CondCode)CondBr.getOperand(0).getImm(); in knownRegValInBlock() 149 MachineBasicBlock *BrTarget = CondBr.getOperand(1).getMBB(); in knownRegValInBlock() 156 assert(PredMBB == CondBr.getParent() && in knownRegValInBlock() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 220 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in updatePredecessorProfileMetadata() local 221 if (!CondBr) in updatePredecessorProfileMetadata() 225 if (!CondBr->extractProfMetadata(TrueWeight, FalseWeight)) in updatePredecessorProfileMetadata() 1134 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in processBlock() local 1136 if (CondBr && CondConst) { in processBlock() 1140 assert(CondBr->isConditional() && "Threading on unconditional terminator"); in processBlock() 1144 CondConst, CondBr); in processBlock() 1148 BasicBlock *ToRemoveSucc = CondBr->getSuccessor(ToRemove); in processBlock() 1151 BranchInst::Create(CondBr->getSuccessor(ToKeep), CondBr); in processBlock() 1152 UncondBr->setDebugLoc(CondBr->getDebugLoc()); in processBlock() [all …]
|
/external/llvm-project/polly/lib/CodeGen/ |
D | Utils.cpp | 149 BranchInst *CondBr = Builder.CreateCondBr(RTC, StartBlock, S.getEntry()); in executeScopConditionally() local 218 return std::make_pair(std::make_pair(StartBlock, ExitingBlock), CondBr); in executeScopConditionally()
|
D | PPCGCodeGeneration.cpp | 3466 BranchInst *CondBr = nullptr; in generateCode() local 3467 std::tie(StartExitBlocks, CondBr) = in generateCode() 3471 assert(CondBr && "CondBr not initialized by executeScopConditionally"); in generateCode() 3543 CondBr->setOperand(0, Builder.getFalse()); in generateCode() 3546 CondBr->setOperand(0, Builder.getFalse()); in generateCode()
|
/external/llvm-project/llvm/unittests/FuzzMutate/ |
D | OperationsTest.cpp | 202 auto *CondBr = cast<BranchInst>(BB1->getTerminator()); in TEST() local 203 EXPECT_THAT(CondBr->getCondition(), Eq(Cond)); in TEST() 204 ASSERT_THAT(CondBr->getNumSuccessors(), Eq(2u)); in TEST() 205 ASSERT_THAT(CondBr->getSuccessor(0), Eq(BB1)); in TEST() 206 auto *BB2 = CondBr->getSuccessor(1); in TEST()
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 812 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in ProcessBlock() local 814 if (CondBr && CondConst && CondBr->isConditional()) { in ProcessBlock() 817 CondConst, CondBr); in ProcessBlock() 821 CondBr->getSuccessor(ToRemove)->removePredecessor(BB, true); in ProcessBlock() 822 BranchInst::Create(CondBr->getSuccessor(ToKeep), CondBr); in ProcessBlock() 823 CondBr->eraseFromParent(); in ProcessBlock() 839 if (CondBr && CondConst && TryToUnfoldSelect(CondCmp, BB)) in ProcessBlock() 1836 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in TryToUnfoldSelect() local 1840 if (!CondBr || !CondBr->isConditional() || !CondLHS || in TryToUnfoldSelect()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 212 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in updatePredecessorProfileMetadata() local 213 if (!CondBr) in updatePredecessorProfileMetadata() 218 if (!CondBr->extractProfMetadata(TrueWeight, FalseWeight)) in updatePredecessorProfileMetadata() 1101 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in ProcessBlock() local 1103 if (CondBr && CondConst) { in ProcessBlock() 1107 assert(CondBr->isConditional() && "Threading on unconditional terminator"); in ProcessBlock() 1115 CondConst, CondBr); in ProcessBlock() 1119 BasicBlock *ToRemoveSucc = CondBr->getSuccessor(ToRemove); in ProcessBlock() 1122 BranchInst::Create(CondBr->getSuccessor(ToKeep), CondBr); in ProcessBlock() 1123 UncondBr->setDebugLoc(CondBr->getDebugLoc()); in ProcessBlock() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | VPlan.cpp | 223 auto *CondBr = BranchInst::Create(NewBB, nullptr, NewCond); in execute() local 224 CondBr->setSuccessor(0, nullptr); in execute() 225 ReplaceInstWithInst(CurrentTerminator, CondBr); in execute()
|
D | LoopVectorize.cpp | 7466 auto *CondBr = BranchInst::Create(State.CFG.PrevBB, nullptr, ConditionBit); in execute() local 7467 CondBr->setSuccessor(0, nullptr); in execute() 7468 ReplaceInstWithInst(CurrentTerminator, CondBr); in execute()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86SpeculativeLoadHardening.cpp | 720 for (auto *CondBr : CondBrs) in tracePredStateThroughCFG() local 721 ++SuccCounts[CondBr->getOperand(0).getMBB()]; in tracePredStateThroughCFG() 786 for (auto *CondBr : CondBrs) { in tracePredStateThroughCFG() local 787 MachineBasicBlock &Succ = *CondBr->getOperand(0).getMBB(); in tracePredStateThroughCFG() 790 X86::CondCode Cond = X86::getCondFromBranch(*CondBr); in tracePredStateThroughCFG() 794 BuildCheckingBlockForSuccAndConds(MBB, Succ, SuccCount, CondBr, UncondBr, in tracePredStateThroughCFG()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86CondBrFolding.cpp | 577 X86CondBrFolding CondBr(TII, MBPI, MF); in runOnMachineFunction() local 578 return CondBr.optimize(); in runOnMachineFunction()
|
D | X86SpeculativeLoadHardening.cpp | 719 for (auto *CondBr : CondBrs) in tracePredStateThroughCFG() local 720 ++SuccCounts[CondBr->getOperand(0).getMBB()]; in tracePredStateThroughCFG() 785 for (auto *CondBr : CondBrs) { in tracePredStateThroughCFG() local 786 MachineBasicBlock &Succ = *CondBr->getOperand(0).getMBB(); in tracePredStateThroughCFG() 789 X86::CondCode Cond = X86::getCondFromBranch(*CondBr); in tracePredStateThroughCFG() 793 BuildCheckingBlockForSuccAndConds(MBB, Succ, SuccCount, CondBr, UncondBr, in tracePredStateThroughCFG()
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | VPlan.cpp | 368 auto *CondBr = BranchInst::Create(NewBB, nullptr, NewCond); in execute() local 369 CondBr->setSuccessor(0, nullptr); in execute() 370 ReplaceInstWithInst(CurrentTerminator, CondBr); in execute()
|
D | LoopVectorize.cpp | 8786 auto *CondBr = BranchInst::Create(State.CFG.PrevBB, nullptr, ConditionBit); in execute() local 8787 CondBr->setSuccessor(0, nullptr); in execute() 8788 ReplaceInstWithInst(CurrentTerminator, CondBr); in execute()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | ir_builder_mixin.h | 98 llvm::BranchInst* CondBr(Args&&... args) { in CondBr() function
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emitter.cc | 489 CondBr(ExtractValue(ret_value, 1, "success"), loop_exit_bb, loop_body_bb); in EmitAtomicOperationUsingCAS()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SIInstrInfo.cpp | 2412 MachineInstr *CondBr = in insertBranch() local 2417 preserveCondRegFlags(CondBr->getOperand(1), Cond[1]); in insertBranch() 2418 fixImplicitOperands(*CondBr); in insertBranch() 2427 MachineInstr *CondBr = in insertBranch() local 2433 MachineOperand &CondReg = CondBr->getOperand(1); in insertBranch()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIInstrInfo.cpp | 2082 MachineInstr *CondBr = in insertBranch() local 2087 preserveCondRegFlags(CondBr->getOperand(1), Cond[1]); in insertBranch() 2096 MachineInstr *CondBr = in insertBranch() local 2102 MachineOperand &CondReg = CondBr->getOperand(1); in insertBranch()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | ir_emitter.cc | 2427 CondBr(while_predicate, body_bb, exit_bb); in HandleWhile()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 1845 CondBr(ICmpULT(source_index[concat_dim], in EmitElementalConcatenate()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.td | 609 let Name = "CondBr"; let PredicateMethod = "isCondBr";
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.td | 744 let Name = "CondBr"; let PredicateMethod = "isCondBr";
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.td | 867 let Name = "CondBr"; let PredicateMethod = "isCondBr";
|
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/ |
D | PPCGenAsmMatcher.inc | 3380 // 'CondBr' class
|