/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
H A D | MipsBranchExpansion.cpp | 129 MachineInstr *Br = nullptr; member 156 int64_t computeOffset(const MachineInstr *Br); 158 void replaceBranch(MachineBasicBlock &MBB, Iter Br, const DebugLoc &DL, 223 /// Iterate over list of Br's operands and search for a MachineBasicBlock 225 static MachineBasicBlock *getTargetMBB(const MachineInstr &Br) { in getTargetMBB() argument 226 for (unsigned I = 0, E = Br.getDesc().getNumOperands(); I < E; ++I) { in getTargetMBB() 227 const MachineOperand &MO = Br.getOperand(I); in getTargetMBB() 304 int64_t MipsBranchExpansion::computeOffset(const MachineInstr *Br) { in computeOffset() argument 306 int ThisMBB = Br->getParent()->getNumber(); in computeOffset() 307 int TargetMBB = getTargetMBB(*Br) in computeOffset() 334 replaceBranch(MachineBasicBlock &MBB, Iter Br, const DebugLoc &DL, MachineBasicBlock *MBBOpnd) replaceBranch() argument 790 ReverseIter Br = getNonDebugInstr(MBB->rbegin(), End); handlePossibleLongBranch() local [all...] |
H A D | MipsConstantIslandPass.cpp | 405 bool fixupImmediateBr(ImmBranch &Br); 406 bool fixupConditionalBr(ImmBranch &Br); 407 bool fixupUnconditionalBr(ImmBranch &Br); 1484 bool MipsConstantIslands::fixupImmediateBr(ImmBranch &Br) { in fixupImmediateBr() argument 1485 MachineInstr *MI = Br.MI; in fixupImmediateBr() 1490 if (isBBInRange(MI, DestBB, Br.MaxDisp)) in fixupImmediateBr() 1493 if (!Br.isCond) in fixupImmediateBr() 1494 return fixupUnconditionalBr(Br); in fixupImmediateBr() 1495 return fixupConditionalBr(Br); in fixupImmediateBr() 1503 MipsConstantIslands::fixupUnconditionalBr(ImmBranch &Br) { in fixupUnconditionalBr() argument 1543 fixupConditionalBr(ImmBranch &Br) fixupConditionalBr() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCPreEmitPeephole.cpp | 237 MachineInstr *Br = &*I; variable 238 if (Br->getOpcode() != PPC::BC && Br->getOpcode() != PPC::BCn) 241 Register CRBit = Br->getOperand(0).getReg(); 244 MachineBasicBlock::reverse_iterator It = Br, Er = MBB.rend(); 259 if ((Br->getOpcode() == PPC::BCn && CRSetOp == PPC::CRSET) || 260 (Br->getOpcode() == PPC::BC && CRSetOp == PPC::CRUNSET)) { 262 InstrsToErase.push_back(Br); 263 MBB.removeSuccessor(Br->getOperand(1).getMBB()); 268 MachineBasicBlock::iterator It = Br, E [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | ARMConstantIslandPass.cpp | 270 bool fixupImmediateBr(ImmBranch &Br); 271 bool fixupConditionalBr(ImmBranch &Br); 272 bool fixupUnconditionalBr(ImmBranch &Br); 1603 bool ARMConstantIslands::fixupImmediateBr(ImmBranch &Br) { in fixupImmediateBr() argument 1604 MachineInstr *MI = Br.MI; in fixupImmediateBr() 1608 if (BBUtils->isBBInRange(MI, DestBB, Br.MaxDisp)) in fixupImmediateBr() 1611 if (!Br.isCond) in fixupImmediateBr() 1612 return fixupUnconditionalBr(Br); in fixupImmediateBr() 1613 return fixupConditionalBr(Br); in fixupImmediateBr() 1621 ARMConstantIslands::fixupUnconditionalBr(ImmBranch &Br) { in fixupUnconditionalBr() argument 1648 fixupConditionalBr(ImmBranch &Br) fixupConditionalBr() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanHCFGBuilder.cpp | 203 if (auto *Br = dyn_cast<BranchInst>(Inst)) { in createVPInstructionsForVPBB() 206 if (Br->isConditional()) in createVPInstructionsForVPBB() 207 getOrCreateVPOperand(Br->getCondition()); in createVPInstructionsForVPBB() 290 auto *Br = cast<BranchInst>(TI); in buildPlainCFG() local 291 Value *BrCond = Br->getCondition(); in buildPlainCFG()
|
H A D | LoopVectorizationLegality.cpp | 433 auto *Br = dyn_cast<BranchInst>(BB->getTerminator()); in canVectorizeOuterLoop() local 434 if (!Br) { in canVectorizeOuterLoop() 450 if (!EnableVPlanPredication && Br && Br->isConditional() && in canVectorizeOuterLoop() 451 !TheLoop->isLoopInvariant(Br->getCondition()) && in canVectorizeOuterLoop() 452 !LI->isLoopHeader(Br->getSuccessor(0)) && in canVectorizeOuterLoop() 453 !LI->isLoopHeader(Br->getSuccessor(1))) { in canVectorizeOuterLoop()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | StructurizeCFG.cpp | 950 auto Br = dyn_cast<BranchInst>(E->getEntry()->getTerminator()); 951 if (!Br || !Br->isConditional()) 954 if (!DA.isUniform(Br)) 960 LLVM_DEBUG(dbgs() << "BB: " << Br->getParent()->getName() 973 auto Br = dyn_cast<BranchInst>(BB->getTerminator()); 974 if (!Br || !Br->isConditional()) 977 if (!Br->getMetadata(UniformMDKindID)) {
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetTransformInfo.cpp | 119 if (const BranchInst *Br = dyn_cast<BranchInst>(&I)) { in getUnrollingPreferences() 120 if (UP.Threshold < MaxBoost && Br->isConditional()) { in getUnrollingPreferences() 121 BasicBlock *Succ0 = Br->getSuccessor(0); in getUnrollingPreferences() 122 BasicBlock *Succ1 = Br->getSuccessor(1); in getUnrollingPreferences() 126 if (dependsOnLocalPhi(L, Br->getCondition())) { in getUnrollingPreferences() 130 << *L << " due to " << *Br << '\n'); in getUnrollingPreferences() 512 case Instruction::Br: in getCFInstrCost() 938 case Instruction::Br: in getCFInstrCost()
|
H A D | AMDGPULegalizerInfo.cpp | 1809 MachineInstr *&Br) { 1824 Br = &*Next; 2356 MachineInstr *Br = nullptr; 2357 if (MachineInstr *BrCond = verifyCFIntrinsic(MI, MRI, Br)) { 2366 if (Br) 2367 BrTarget = Br->getOperand(0).getMBB(); 2382 if (Br) 2383 Br->getOperand(0).setMBB(BrCond->getOperand(1).getMBB()); 2395 MachineInstr *Br = nullptr; 2396 if (MachineInstr *BrCond = verifyCFIntrinsic(MI, MRI, Br)) { [all...] |
/third_party/vixl/examples/aarch64/ |
H A D | custom-disassembler.cc | 138 __ Br(x30); in GenerateCustomDisassemblerTestCode() 139 __ Br(lr); in GenerateCustomDisassemblerTestCode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceCfgNode.cpp | 1239 InstBr *Br = nullptr; in shortCircuit() local 1240 if ((Br = llvm::dyn_cast<InstBr>(Last))) { in shortCircuit() 1241 if (!Br->isUnconditional()) { in shortCircuit() 1242 Condition = llvm::dyn_cast<Variable>(Br->getCondition()); in shortCircuit() 1248 auto *JumpOnTrue = Br->getTargetTrue(); in shortCircuit() 1249 auto *JumpOnFalse = Br->getTargetFalse(); in shortCircuit() 1350 // Create new Br instruction in shortCircuit() 1377 Br->replaceSource(0, UnusedOperand); // Index 0 has the condition of the Br in shortCircuit()
|
H A D | IceInstrumentation.cpp | 69 case Inst::Br: in instrumentInst()
|
H A D | IceTargetLoweringX8632.cpp | 762 if (auto *Br = llvm::dyn_cast<InstX86Br>(I)) { in doBranchOpt() 763 return Br->optimizeBranch(NextNode); in doBranchOpt() 2356 void TargetX8632::lowerBr(const InstBr *Br) { in lowerBr() argument 2357 if (Br->isUnconditional()) { in lowerBr() 2358 _br(Br->getTargetUnconditional()); in lowerBr() 2361 Operand *Cond = Br->getCondition(); in lowerBr() 2371 lowerIcmpAndConsumer(llvm::cast<InstIcmp>(Producer), Br); in lowerBr() local 2375 lowerFcmpAndConsumer(llvm::cast<InstFcmp>(Producer), Br); in lowerBr() local 2379 lowerArithAndConsumer(llvm::cast<InstArithmetic>(Producer), Br); in lowerBr() local 2387 _br(CondX86::Br_ne, Br in lowerBr() [all...] |
H A D | IceTargetLoweringX8664.cpp | 772 if (auto *Br = llvm::dyn_cast<InstX86Br>(I)) { in doBranchOpt() 773 return Br->optimizeBranch(NextNode); in doBranchOpt() 2172 void TargetX8664::lowerBr(const InstBr *Br) { in lowerBr() argument 2173 if (Br->isUnconditional()) { in lowerBr() 2174 _br(Br->getTargetUnconditional()); in lowerBr() 2177 Operand *Cond = Br->getCondition(); in lowerBr() 2187 lowerIcmpAndConsumer(llvm::cast<InstIcmp>(Producer), Br); in lowerBr() local 2191 lowerFcmpAndConsumer(llvm::cast<InstFcmp>(Producer), Br); in lowerBr() local 2195 lowerArithAndConsumer(llvm::cast<InstArithmetic>(Producer), Br); in lowerBr() local 2203 _br(CondX86::Br_ne, Br in lowerBr() [all...] |
H A D | IceInst.cpp | 88 X(Br, "br"); in getInstName() 306 : InstHighLevel(Func, Inst::Br, 1, nullptr), TargetFalse(TargetFalse_), in InstBr() 322 : InstHighLevel(Func, Inst::Br, 0, nullptr), TargetFalse(Target), in InstBr()
|
H A D | IceInstMIPS32.cpp | 83 : InstMIPS32(Func, InstMIPS32::Br, 0, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br() 89 : InstMIPS32(Func, InstMIPS32::Br, 1, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br() 98 : InstMIPS32(Func, InstMIPS32::Br, 2, nullptr), TargetTrue(TargetTrue), in InstMIPS32Br()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/ |
H A D | MSP430InstrInfo.cpp | 119 I->getOpcode() != MSP430::Br && in removeBranch() 199 if (I->getOpcode() == MSP430::Br || in analyzeBranch()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | InlineFunction.cpp | 2318 Instruction *Br = OrigBB->getTerminator(); in InlineFunction() local 2319 assert(Br && Br->getOpcode() == Instruction::Br && in InlineFunction() 2321 Br->setOperand(0, &*FirstNewBlock); in InlineFunction() 2413 assert(cast<BranchInst>(Br)->isUnconditional() && "splitBasicBlock broken!"); in InlineFunction() 2414 BasicBlock *CalleeEntry = cast<BranchInst>(Br)->getSuccessor(0); in InlineFunction() 2419 OrigBB->getInstList().splice(Br->getIterator(), CalleeEntry->getInstList()); in InlineFunction() 2422 OrigBB->getInstList().erase(Br); in InlineFunction()
|
H A D | BreakCriticalEdges.cpp | 345 case Instruction::Br: in findIBRPredecessor()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFastISel.cpp | 1270 const auto *Br = cast<BranchInst>(I); in selectBr() local 1271 if (Br->isUnconditional()) { in selectBr() 1272 MachineBasicBlock *MSucc = FuncInfo.MBBMap[Br->getSuccessor(0)]; in selectBr() 1273 fastEmitBranch(MSucc, Br->getDebugLoc()); in selectBr() 1277 MachineBasicBlock *TBB = FuncInfo.MBBMap[Br->getSuccessor(0)]; in selectBr() 1278 MachineBasicBlock *FBB = FuncInfo.MBBMap[Br->getSuccessor(1)]; in selectBr() 1281 unsigned CondReg = getRegForI1Value(Br->getCondition(), Not); in selectBr() 1293 finishCondBranch(Br->getParent(), TBB, FBB); in selectBr() 1384 case Instruction::Br: in fastSelectInstruction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
H A D | X86SpeculativeLoadHardening.cpp | 225 MachineInstr *Br, MachineInstr *&UncondBr, in splitEdge() 239 if (Br) { in splitEdge() 240 assert(Br->getOperand(0).getMBB() == &Succ && in splitEdge() 242 Br->getOperand(0).setMBB(&NewMBB); in splitEdge() 263 TII.insertBranch(NewMBB, &Succ, nullptr, Cond, Br->getDebugLoc()); in splitEdge() 726 MachineInstr *Br, MachineInstr *&UncondBr, in tracePredStateThroughCFG() 733 : splitEdge(MBB, Succ, SuccCount, Br, UncondBr, *TII); in tracePredStateThroughCFG() 223 splitEdge(MachineBasicBlock &MBB, MachineBasicBlock &Succ, int SuccCount, MachineInstr *Br, MachineInstr *&UncondBr, const X86InstrInfo &TII) splitEdge() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/ |
H A D | WebAssemblyAsmParser.cpp | 136 for (auto Br : BrL.List) in addBrListOperands() 137 Inst.addOperand(MCOperand::createImm(Br)); in addBrListOperands()
|
/third_party/node/deps/v8/src/diagnostics/ |
H A D | unwinding-info-win64.cc | 485 masm.Br(x16);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
H A D | LowerTypeTests.cpp | 781 if (auto *Br = dyn_cast<BranchInst>(*CI->user_begin())) in lowerTypeTestCall() 782 if (CI->getNextNode() == Br) { in lowerTypeTestCall() 784 BasicBlock *Else = Br->getSuccessor(1); in lowerTypeTestCall() 787 Br->getMetadata(LLVMContext::MD_prof)); in lowerTypeTestCall()
|
/third_party/skia/src/shaders/gradients/ |
H A D | SkGradientShader.cpp | 575 skvm::F32 Br = gatherF(fbs, ix + 4); in onProgram() local 582 t * Fr + Br, in onProgram()
|