Home
last modified time | relevance | path

Searched refs:CondBr (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RedundantCopyElimination.cpp93 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp212 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlan.cpp223 auto *CondBr = BranchInst::Create(NewBB, nullptr, NewCond); in execute() local
224 CondBr->setSuccessor(0, nullptr); in execute()
225 ReplaceInstWithInst(CurrentTerminator, CondBr); in execute()
DLoopVectorize.cpp7466 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CondBrFolding.cpp577 X86CondBrFolding CondBr(TII, MBPI, MF); in runOnMachineFunction() local
578 return CondBr.optimize(); in runOnMachineFunction()
DX86SpeculativeLoadHardening.cpp719 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp2082 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.td744 let Name = "CondBr"; let PredicateMethod = "isCondBr";
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/
DPPCGenAsmMatcher.inc3380 // 'CondBr' class