Home
last modified time | relevance | path

Searched refs:Br (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/external/llvm/lib/Target/Mips/
DMipsLongBranch.cpp56 MachineInstr *Br; member
58 MBBInfo() : Size(0), HasLongBranch(false), Br(nullptr) {} in MBBInfo()
83 int64_t computeOffset(const MachineInstr *Br);
84 void replaceBranch(MachineBasicBlock &MBB, Iter Br, const DebugLoc &DL,
107 static MachineBasicBlock *getTargetMBB(const MachineInstr &Br) { in getTargetMBB() argument
108 for (unsigned I = 0, E = Br.getDesc().getNumOperands(); I < E; ++I) { in getTargetMBB()
109 const MachineOperand &MO = Br.getOperand(I); in getTargetMBB()
186 ReverseIter Br = getNonDebugInstr(MBB->rbegin(), End); in initMBBInfo() local
188 if ((Br != End) && !Br->isIndirectBranch() && in initMBBInfo()
189 (Br->isConditionalBranch() || (Br->isUnconditionalBranch() && IsPIC))) in initMBBInfo()
[all …]
DMipsConstantIslandPass.cpp403 bool fixupImmediateBr(ImmBranch &Br);
404 bool fixupConditionalBr(ImmBranch &Br);
405 bool fixupUnconditionalBr(ImmBranch &Br);
1504 bool MipsConstantIslands::fixupImmediateBr(ImmBranch &Br) { in fixupImmediateBr() argument
1505 MachineInstr *MI = Br.MI; in fixupImmediateBr()
1510 if (isBBInRange(MI, DestBB, Br.MaxDisp)) in fixupImmediateBr()
1513 if (!Br.isCond) in fixupImmediateBr()
1514 return fixupUnconditionalBr(Br); in fixupImmediateBr()
1515 return fixupConditionalBr(Br); in fixupImmediateBr()
1523 MipsConstantIslands::fixupUnconditionalBr(ImmBranch &Br) { in fixupUnconditionalBr() argument
[all …]
/external/llvm-project/llvm/lib/Target/Mips/
DMipsBranchExpansion.cpp129 MachineInstr *Br = nullptr; member
156 int64_t computeOffset(const MachineInstr *Br);
158 void replaceBranch(MachineBasicBlock &MBB, Iter Br, const DebugLoc &DL,
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)->getNumber(); in computeOffset()
334 void MipsBranchExpansion::replaceBranch(MachineBasicBlock &MBB, Iter Br, in replaceBranch() argument
[all …]
DMipsConstantIslandPass.cpp405 bool fixupImmediateBr(ImmBranch &Br);
406 bool fixupConditionalBr(ImmBranch &Br);
407 bool fixupUnconditionalBr(ImmBranch &Br);
1478 bool MipsConstantIslands::fixupImmediateBr(ImmBranch &Br) { in fixupImmediateBr() argument
1479 MachineInstr *MI = Br.MI; in fixupImmediateBr()
1484 if (isBBInRange(MI, DestBB, Br.MaxDisp)) in fixupImmediateBr()
1487 if (!Br.isCond) in fixupImmediateBr()
1488 return fixupUnconditionalBr(Br); in fixupImmediateBr()
1489 return fixupConditionalBr(Br); in fixupImmediateBr()
1497 MipsConstantIslands::fixupUnconditionalBr(ImmBranch &Br) { in fixupUnconditionalBr() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsBranchExpansion.cpp129 MachineInstr *Br = nullptr; member
156 int64_t computeOffset(const MachineInstr *Br);
158 void replaceBranch(MachineBasicBlock &MBB, Iter Br, const DebugLoc &DL,
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)->getNumber(); in computeOffset()
334 void MipsBranchExpansion::replaceBranch(MachineBasicBlock &MBB, Iter Br, in replaceBranch() argument
[all …]
DMipsConstantIslandPass.cpp405 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
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCPreEmitPeephole.cpp237 MachineInstr *Br = &*I; in runOnMachineFunction() local
238 if (Br->getOpcode() != PPC::BC && Br->getOpcode() != PPC::BCn) in runOnMachineFunction()
241 Register CRBit = Br->getOperand(0).getReg(); in runOnMachineFunction()
244 MachineBasicBlock::reverse_iterator It = Br, Er = MBB.rend(); in runOnMachineFunction()
259 if ((Br->getOpcode() == PPC::BCn && CRSetOp == PPC::CRSET) || in runOnMachineFunction()
260 (Br->getOpcode() == PPC::BC && CRSetOp == PPC::CRUNSET)) { in runOnMachineFunction()
262 InstrsToErase.push_back(Br); in runOnMachineFunction()
263 MBB.removeSuccessor(Br->getOperand(1).getMBB()); in runOnMachineFunction()
268 MachineBasicBlock::iterator It = Br, Er = MBB.end(); in runOnMachineFunction()
274 if (!MBB.isLayoutSuccessor(Br->getOperand(1).getMBB())) { in runOnMachineFunction()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp266 bool fixupImmediateBr(ImmBranch &Br);
267 bool fixupConditionalBr(ImmBranch &Br);
268 bool fixupUnconditionalBr(ImmBranch &Br);
1605 bool ARMConstantIslands::fixupImmediateBr(ImmBranch &Br) { in fixupImmediateBr() argument
1606 MachineInstr *MI = Br.MI; in fixupImmediateBr()
1610 if (BBUtils->isBBInRange(MI, DestBB, Br.MaxDisp)) in fixupImmediateBr()
1613 if (!Br.isCond) in fixupImmediateBr()
1614 return fixupUnconditionalBr(Br); in fixupImmediateBr()
1615 return fixupConditionalBr(Br); in fixupImmediateBr()
1623 ARMConstantIslands::fixupUnconditionalBr(ImmBranch &Br) { in fixupUnconditionalBr() argument
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DConstraintElimination.cpp214 auto *Br = dyn_cast<BranchInst>(BB.getTerminator()); in eliminateConstraints() local
215 if (!Br || !Br->isConditional()) in eliminateConstraints()
221 if (match(Br->getCondition(), m_Or(m_Cmp(), m_Cmp()))) { in eliminateConstraints()
222 BasicBlock *FalseSuccessor = Br->getSuccessor(1); in eliminateConstraints()
224 auto *OrI = cast<Instruction>(Br->getCondition()); in eliminateConstraints()
236 if (match(Br->getCondition(), m_And(m_Cmp(), m_Cmp()))) { in eliminateConstraints()
237 BasicBlock *TrueSuccessor = Br->getSuccessor(0); in eliminateConstraints()
239 auto *AndI = cast<Instruction>(Br->getCondition()); in eliminateConstraints()
248 auto *CmpI = dyn_cast<CmpInst>(Br->getCondition()); in eliminateConstraints()
251 if (Br->getSuccessor(0)->getSinglePredecessor()) in eliminateConstraints()
[all …]
DStructurizeCFG.cpp963 auto Br = dyn_cast<BranchInst>(E->getEntry()->getTerminator()); in hasOnlyUniformBranches() local
964 if (!Br || !Br->isConditional()) in hasOnlyUniformBranches()
967 if (!DA.isUniform(Br)) in hasOnlyUniformBranches()
973 LLVM_DEBUG(dbgs() << "BB: " << Br->getParent()->getName() in hasOnlyUniformBranches()
986 auto Br = dyn_cast<BranchInst>(BB->getTerminator()); in hasOnlyUniformBranches() local
987 if (!Br || !Br->isConditional()) in hasOnlyUniformBranches()
990 if (!Br->getMetadata(UniformMDKindID)) { in hasOnlyUniformBranches()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp270 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
[all …]
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCPreEmitPeephole.cpp493 MachineInstr *Br = &*I; in runOnMachineFunction() local
494 if (Br->getOpcode() != PPC::BC && Br->getOpcode() != PPC::BCn) in runOnMachineFunction()
497 Register CRBit = Br->getOperand(0).getReg(); in runOnMachineFunction()
500 MachineBasicBlock::reverse_iterator It = Br, Er = MBB.rend(); in runOnMachineFunction()
515 if ((Br->getOpcode() == PPC::BCn && CRSetOp == PPC::CRSET) || in runOnMachineFunction()
516 (Br->getOpcode() == PPC::BC && CRSetOp == PPC::CRUNSET)) { in runOnMachineFunction()
518 InstrsToErase.push_back(Br); in runOnMachineFunction()
519 MBB.removeSuccessor(Br->getOperand(1).getMBB()); in runOnMachineFunction()
524 MachineBasicBlock::iterator It = Br, Er = MBB.end(); in runOnMachineFunction()
530 if (!MBB.isLayoutSuccessor(Br->getOperand(1).getMBB())) { in runOnMachineFunction()
[all …]
/external/eigen/test/
Dsparse_ref.cpp101 Ref<SparseMatrix<float,RowMajor> > Br(B); in call_ref() local
102 VERIFY_EVALUATION_COUNT( call_ref_1(Br.transpose(), Br.transpose()), 0); in call_ref()
103 VERIFY_EVALUATION_COUNT( call_ref_2(Br, Br), 1); in call_ref()
104 VERIFY_EVALUATION_COUNT( call_ref_2(Br.transpose(), Br.transpose()), 0); in call_ref()
/external/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp318 bool fixupImmediateBr(ImmBranch &Br);
319 bool fixupConditionalBr(ImmBranch &Br);
320 bool fixupUnconditionalBr(ImmBranch &Br);
1675 bool ARMConstantIslands::fixupImmediateBr(ImmBranch &Br) { in fixupImmediateBr() argument
1676 MachineInstr *MI = Br.MI; in fixupImmediateBr()
1680 if (isBBInRange(MI, DestBB, Br.MaxDisp)) in fixupImmediateBr()
1683 if (!Br.isCond) in fixupImmediateBr()
1684 return fixupUnconditionalBr(Br); in fixupImmediateBr()
1685 return fixupConditionalBr(Br); in fixupImmediateBr()
1693 ARMConstantIslands::fixupUnconditionalBr(ImmBranch &Br) { in fixupUnconditionalBr() argument
[all …]
/external/clang/test/SemaCXX/
Dfunctional-cast.cpp132 typedef B &Br; in t_529_2() typedef
133 …(void)Br(*((C1*)0)); // expected-warning {{binding dereferenced null pointer to reference has unde… in t_529_2()
164 typedef B &Br; in t_529_5_8() typedef
165 (void)Br(*((A*)0)); in t_529_5_8()
171 (void)Br(*((const A*)0)); // const_cast appended in t_529_5_8()
/external/llvm-project/clang/test/SemaCXX/
Dfunctional-cast.cpp132 typedef B &Br; in t_529_2() typedef
133 …(void)Br(*((C1*)0)); // expected-warning {{binding dereferenced null pointer to reference has unde… in t_529_2()
164 typedef B &Br; in t_529_5_8() typedef
165 (void)Br(*((A*)0)); in t_529_5_8()
171 (void)Br(*((const A*)0)); // const_cast appended in t_529_5_8()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanHCFGBuilder.cpp203 if (auto *Br = dyn_cast<BranchInst>(Inst)) { in createVPInstructionsForVPBB() local
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()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVPlanHCFGBuilder.cpp203 if (auto *Br = dyn_cast<BranchInst>(Inst)) { in createVPInstructionsForVPBB() local
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()
/external/icu/icu4c/source/data/curr/
Dru_BY.txt7 "Br",
16 BYN{"Br"}
Dwo.txt20 "Pound bu Grànd Brëtaañ",
68 other{"Pound yu Grànd Brëtaañ"}
/external/clang/lib/CodeGen/
DCGCleanup.cpp369 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) { in TransitionToCleanupSwitch() local
370 assert(Br->isUnconditional()); in TransitionToCleanupSwitch()
374 llvm::SwitchInst::Create(Load, Br->getSuccessor(0), 4, Block); in TransitionToCleanupSwitch()
375 Br->eraseFromParent(); in TransitionToCleanupSwitch()
485 llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Pred->getTerminator()); in SimplifyCleanupEntry() local
486 if (!Br || Br->isConditional()) return Entry; in SimplifyCleanupEntry()
487 assert(Br->getSuccessor(0) == Entry); in SimplifyCleanupEntry()
496 Br->eraseFromParent(); in SimplifyCleanupEntry()
546 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) { in ForwardPrebranchedFallthrough() local
547 assert(Br->isUnconditional() && Br->getSuccessor(0) == From); in ForwardPrebranchedFallthrough()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGCleanup.cpp363 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) { in TransitionToCleanupSwitch() local
364 assert(Br->isUnconditional()); in TransitionToCleanupSwitch()
368 llvm::SwitchInst::Create(Load, Br->getSuccessor(0), 4, Block); in TransitionToCleanupSwitch()
369 Br->eraseFromParent(); in TransitionToCleanupSwitch()
524 llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Pred->getTerminator()); in SimplifyCleanupEntry() local
525 if (!Br || Br->isConditional()) return Entry; in SimplifyCleanupEntry()
526 assert(Br->getSuccessor(0) == Entry); in SimplifyCleanupEntry()
535 Br->eraseFromParent(); in SimplifyCleanupEntry()
585 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) { in ForwardPrebranchedFallthrough() local
586 assert(Br->isUnconditional() && Br->getSuccessor(0) == From); in ForwardPrebranchedFallthrough()
[all …]
/external/eigen/unsupported/Eigen/src/KroneckerProduct/
DKroneckerTensorProduct.h138 const Index Br = m_B.rows(), in evalTo() local
142 Block<Dest,BlockRows,BlockCols>(dst,i*Br,j*Bc,Br,Bc) = m_A.coeff(i,j) * m_B; in evalTo()
149 Index Br = m_B.rows(), Bc = m_B.cols(); in evalTo() local
190 Index i = itA.row() * Br + itB.row(), in evalTo()
/external/python/cpython3/Lib/test/
Dtokenize_tests.txt115 x = br'abc' + Br'ABC' + bR'ABC' + BR'ABC'
116 y = br"abc" + Br"ABC" + bR"ABC" + BR"ABC"
127 y = Br"""foo
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp950 auto Br = dyn_cast<BranchInst>(E->getEntry()->getTerminator()); in hasOnlyUniformBranches() local
951 if (!Br || !Br->isConditional()) in hasOnlyUniformBranches()
954 if (!DA.isUniform(Br)) in hasOnlyUniformBranches()
960 LLVM_DEBUG(dbgs() << "BB: " << Br->getParent()->getName() in hasOnlyUniformBranches()
973 auto Br = dyn_cast<BranchInst>(BB->getTerminator()); in hasOnlyUniformBranches() local
974 if (!Br || !Br->isConditional()) in hasOnlyUniformBranches()
977 if (!Br->getMetadata(UniformMDKindID)) { in hasOnlyUniformBranches()

12345678910>>...13