/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/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/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/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emitter.cc | 425 CondBr(old_eq_new, loop_exit_bb, loop_cas_bb); in EmitAtomicOperationUsingCAS() 441 CondBr(ExtractValue(ret_value, 1, "success"), loop_exit_bb, loop_body_bb); in EmitAtomicOperationUsingCAS()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | ir_builder_mixin.h | 98 llvm::BranchInst* CondBr(Args&&... args) { in CondBr() function
|
/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 | 2587 CondBr(while_predicate, body_bb, exit_bb); in HandleWhile()
|
/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/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/ |
D | PPCGenAsmMatcher.inc | 3380 // 'CondBr' class
|