/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 299 llvm::BranchInst *BI = local 301 if (BI && BI->isUnconditional() && 302 BI->getSuccessor(0) == ReturnBlock.getBlock()) { 305 llvm::DebugLoc Loc = BI->getDebugLoc(); 306 Builder.SetInsertPoint(BI->getParent()); 307 BI->eraseFromParent();
|
H A D | CGStmt.cpp | 550 llvm::BranchInst *BI = dyn_cast<llvm::BranchInst>(BB->getTerminator()); local 559 if (!BI || !BI->isUnconditional()) 563 if (BI->getIterator() != BB->begin()) 566 BB->replaceAllUsesWith(BI->getSuccessor(0)); 567 BI->eraseFromParent();
|
H A D | CGException.cpp | 1327 auto *BI = cast<llvm::BranchInst>(TI); local 1328 assert(BI->isConditional()); 1329 RethrowBlock = BI->getSuccessor(1);
|
H A D | CGDecl.cpp | 1724 for (const auto *BI : CS->body()) 1725 if (const auto *BIE = dyn_cast<Expr>(BI)) { 1729 else if (const auto *DS = dyn_cast<DeclStmt>(BI)) {
|
/freebsd-current/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | RegisterInfoEmitter.cpp | 1086 BitsInit *BI = Reg->getValueAsBitsInit("HWEncoding"); local 1088 for (unsigned b = 0, be = BI->getNumBits(); b != be; ++b) { 1089 if (BitInit *B = dyn_cast<BitInit>(BI->getBit(b)))
|
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 4974 BranchInst *BI = dyn_cast<BranchInst>(Latch->getTerminator()); 4975 if (BI && BI->isConditional()) { 4976 assert(BI->getSuccessor(0) != BI->getSuccessor(1) && 4978 BECond = BI->getCondition(); 4979 IsPosBECond = BI->getSuccessor(0) == L->getHeader(); 5957 // Try to match a control flow sequence that branches out at BI and merges back 5960 static bool BrPHIToSelect(DominatorTree &DT, BranchInst *BI, PHINode *Merge, 5962 C = BI [all...] |
H A D | ValueTracking.cpp | 716 for (BranchInst *BI : Q.DC->conditionsFor(V)) { 717 auto *Cmp = dyn_cast<ICmpInst>(BI->getCondition()); 721 BasicBlockEdge Edge0(BI->getParent(), BI->getSuccessor(0)); 726 BasicBlockEdge Edge1(BI->getParent(), BI->getSuccessor(1)); 2233 if (const BranchInst *BI = dyn_cast<BranchInst>(Curr)) { 2234 assert(BI->isConditional() && "uses a comparison!"); 2237 BI->getSuccessor(NonNullIfTrue ? 0 : 1); 2238 BasicBlockEdge Edge(BI [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 1807 const BranchInst *BI = cast<BranchInst>(I); local 1809 if (BI->isUnconditional()) { 1810 const BasicBlock *LLVMSucc = BI->getSuccessor(0); 1812 fastEmitBranch(MSucc, BI->getDebugLoc());
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 740 bool canSaveCmp(Loop *L, BranchInst **BI, ScalarEvolution *SE, LoopInfo *LI, 1832 virtual bool canSaveCmp(Loop *L, BranchInst **BI, ScalarEvolution *SE, 2298 bool canSaveCmp(Loop *L, BranchInst **BI, ScalarEvolution *SE, LoopInfo *LI, 2301 return Impl.canSaveCmp(L, BI, SE, LI, DT, AC, LibInfo);
|
H A D | IRSimilarityIdentifier.h | 526 InstrType visitBranchInst(BranchInst &BI) { argument
|
H A D | TargetTransformInfoImpl.h | 244 bool canSaveCmp(Loop *L, BranchInst **BI, ScalarEvolution *SE, LoopInfo *LI, argument
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SCCPSolver.cpp | 1023 if (auto *BI = dyn_cast<BranchInst>(&TI)) { 1024 if (BI->isUnconditional()) { 1029 ValueLatticeElement BCValue = getValueState(BI->getCondition()); 1030 ConstantInt *CI = getConstantInt(BCValue, BI->getCondition()->getType());
|
/freebsd-current/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | Record.cpp | 2976 if (BitsInit *BI = dyn_cast<BitsInit>(R->getValue())) 2977 return BI; 3087 if (BitInit *BI = dyn_cast<BitInit>(R->getValue())) 3088 return BI->getValue(); 3104 if (BitInit *BI = dyn_cast<BitInit>(R->getValue())) 3105 return BI->getValue();
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 6782 BranchInst *BI = dyn_cast<BranchInst>(LoopLatch->getTerminator()); 6783 if (!BI || BI->isUnconditional()) 6785 auto *TermCond = dyn_cast<ICmpInst>(BI->getCondition()); 6909 << " BrandInst: " << *BI << "\n" 7030 BranchInst *BI = cast<BranchInst>(LoopLatch->getTerminator()); 7031 ICmpInst *OldTermCond = cast<ICmpInst>(BI->getCondition()); 7037 if (BI->getSuccessor(0) == L->getHeader()) 7038 BI->swapSuccessors(); 7044 BI [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMLoadStoreOptimizer.cpp | 2574 MapIt BI = Base2Ops.find(Base); 2575 if (BI == Base2Ops.end()) { 2580 for (unsigned i = 0, e = BI->second.size(); i != e; ++i) { 2581 if (Offset == getMemoryOpOffset(*BI->second[i])) { 2587 BI->second.push_back(&MI);
|
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | InlineSpiller.cpp | 1551 auto BI = SpillsInSubTreeMap[Child].first.begin(); local 1553 SpillsInSubTree.insert(BI, EI);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 1348 if (Instruction *BI = dyn_cast<Instruction>(B)) 1349 if (cast<Instruction>(A)->isIdenticalToWhenDefined(BI))
|
H A D | InstCombineCompares.cpp | 1390 for (BranchInst *BI : DC.conditionsFor(X)) { 1391 auto *Cond = BI->getCondition(); 1392 BasicBlockEdge Edge0(BI->getParent(), BI->getSuccessor(0)); 1397 BasicBlockEdge Edge1(BI->getParent(), BI->getSuccessor(1)); 6028 auto *BI = dyn_cast_or_null<BranchInst>(BB->getTerminator()); 6029 if (!BI || BI->getNumSuccessors() != 2) 6031 auto *IC = dyn_cast<ICmpInst>(BI [all...] |
/freebsd-current/contrib/wpa/src/common/ |
H A D | dpp_crypto.c | 875 /* R-auth = H(I-nonce | R-nonce | PI.x | PR.x | [BI.x |] BR.x | 0) */ 958 /* I-auth = H(R-nonce | I-nonce | PR.x | PI.x | BR.x | [BI.x |] 1) */ 1039 const struct crypto_ec_point *BI; local 1044 /* L = ((bR + pR) modulo q) * BI */ 1051 BI = crypto_ec_key_get_public_key(auth->peer_bi->pubkey); 1057 if (!q || !BI || !bR || !pR || !sum || !L || !lx || 1059 crypto_ec_point_mul(ec, BI, sum, L) ||
|
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
H A D | LVCodeViewVisitor.cpp | 1953 Error LVLogicalVisitor::visitKnownRecord(CVType &Record, BuildInfoRecord &BI, argument 1957 W.printNumber("NumArgs", static_cast<uint32_t>(BI.getArgs().size())); 1959 for (TypeIndex Arg : BI.getArgs()) 1966 TypeIndex TIName = BI.getArgs()[BuildInfoRecord::BuildInfoArg::SourceFile];
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonConstPropagation.cpp | 768 MachineFunction::const_iterator BI = B.getIterator(); local 769 MachineFunction::const_iterator Next = std::next(BI); 846 MachineFunction::const_iterator BI = MB->getIterator(); local 847 MachineFunction::const_iterator NextI = std::next(BI);
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
H A D | LVCodeViewVisitor.h | 377 Error visitKnownRecord(CVType &Record, BuildInfoRecord &BI, TypeIndex TI,
|
/freebsd-current/contrib/llvm-project/clang/utils/TableGen/ |
H A D | MveEmitter.cpp | 1284 if (auto *BI = dyn_cast<BitInit>(Arg)) 1286 BI->getValue());
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SampleProfile.cpp | 1665 for (auto &BI : F) { 1666 BasicBlock *BB = &BI;
|
/freebsd-current/contrib/llvm-project/llvm/lib/IR/ |
H A D | AsmWriter.cpp | 4187 const BranchInst &BI(cast<BranchInst>(I)); 4189 writeOperand(BI.getCondition(), true); 4191 writeOperand(BI.getSuccessor(0), true); 4193 writeOperand(BI.getSuccessor(1), true);
|