/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
H A D | CodePlacementOpt.cpp | 166 MachineBasicBlock *Pred = *PI; local 167 if (Pred == TopMBB) continue; 168 if (HasFallthrough(Pred)) continue; 169 if (!L->contains(Pred)) continue; 173 if (Pred == MF.begin()) 175 if (!HasAnalyzableTerminator(Pred)) 177 if (!HasAnalyzableTerminator(prior(MachineFunction::iterator(Pred)))) 181 DEBUG(dbgs() << "CGP: Moving blocks starting at BB#" << Pred->getNumber() 187 MachineFunction::iterator Begin = Pred;
|
H A D | LatencyPriorityQueue.cpp | 59 SUnit &Pred = *I->getSUnit(); local 60 if (!Pred.isScheduled) { 63 if (OnlyAvailablePred && OnlyAvailablePred != &Pred) 65 OnlyAvailablePred = &Pred;
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 129 static bool isSignBitCheck(ICmpInst::Predicate Pred, ConstantInt *RHS, argument 131 switch (Pred) { 157 static bool isSignTest(ICmpInst::Predicate &Pred, const ConstantInt *RHS) { argument 158 if (!ICmpInst::isSigned(Pred)) 162 return ICmpInst::isRelational(Pred); 165 if (Pred == ICmpInst::ICMP_SLT) { 166 Pred = ICmpInst::ICMP_SLE; 170 if (Pred == ICmpInst::ICMP_SGT) { 171 Pred = ICmpInst::ICMP_SGE; 1139 ICmpInst::Predicate Pred) { 1137 FoldICmpAddOpCst(Instruction &ICI, Value *X, ConstantInt *CI, ICmpInst::Predicate Pred) argument 1225 ICmpInst::Predicate Pred = ICI.getPredicate(); local 1606 ICmpInst::Predicate Pred = ICI.isSigned() local 1616 ICmpInst::Predicate Pred = ICI.isSigned() local 1929 ICmpInst::Predicate Pred = ICI.getPredicate(); local 3100 ICmpInst::Predicate Pred = I.getPredicate(); local 3335 ICmpInst::Predicate Pred; local 3631 ICmpInst::Predicate Pred = I.getPredicate() == ICmpInst::ICMP_EQ local 3791 CmpInst::Predicate Pred = I.getPredicate(); local 4015 ICmpInst::Predicate Pred = I.isSigned() local 4023 ICmpInst::Predicate Pred = I.isSigned() local 4217 ICmpInst::Predicate Pred = I.getPredicate() == ICmpInst::ICMP_NE local 4367 ICmpInst::Predicate Pred; local [all...] |
H A D | InstCombineSelect.cpp | 65 CmpInst::Predicate Pred = getCmpPredicateForMinMax(SPF); local 66 assert(CmpInst::isIntPredicate(Pred)); 67 return Builder->CreateSelect(Builder->CreateICmp(Pred, A, B), A, B); 350 ICmpInst::Predicate Pred = IC->getPredicate(); local 351 if ((Pred == ICmpInst::ICMP_NE && OrOnFalseVal) || 352 (Pred == ICmpInst::ICMP_EQ && OrOnTrueVal)) 372 ICmpInst::Predicate Pred = ICI->getPredicate(); local 382 if (Pred == ICmpInst::ICMP_NE) 418 ICmpInst::Predicate Pred = ICI->getPredicate(); local 429 switch (Pred) { 1112 CmpInst::Predicate Pred = getCmpPredicateForMinMax(SPF, SPR.Ordered); local [all...] |
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
H A D | default-sfinae.pass.cpp | 27 #define STATIC_ASSERT_CXX14(Pred) static_assert(Pred, "") 30 #define STATIC_ASSERT_CXX14(Pred) assert(Pred)
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
H A D | Thumb2RegisterInfo.cpp | 40 ARMCC::CondCodes Pred, unsigned PredReg, 35 emitLoadConstPool(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, unsigned DestReg, unsigned SubIdx, int Val, ARMCC::CondCodes Pred, unsigned PredReg, unsigned MIFlags) const argument
|
H A D | ARMLoadStoreOptimizer.cpp | 92 ARMCC::CondCodes Pred, unsigned PredReg, unsigned Scratch, 103 ARMCC::CondCodes Pred, 110 ARMCC::CondCodes Pred, unsigned PredReg, 292 int Opcode, ARMCC::CondCodes Pred, 346 .addImm(Pred).addReg(PredReg).addReg(0); 357 .addImm(Pred).addReg(PredReg); 373 ARMCC::CondCodes Pred, unsigned PredReg, 408 Pred, PredReg, Scratch, dl, Regs)) 440 ARMCC::CondCodes Pred, unsigned PredReg, 493 Base, false, Opcode, Pred, PredRe 289 MergeOps(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, int Offset, unsigned Base, bool BaseKill, int Opcode, ARMCC::CondCodes Pred, unsigned PredReg, unsigned Scratch, DebugLoc dl, SmallVector<std::pair<unsigned, bool>, 8> &Regs) argument 367 MergeOpsUpdate(MachineBasicBlock &MBB, MemOpQueue &memOps, unsigned memOpsBegin, unsigned memOpsEnd, unsigned insertAfter, int Offset, unsigned Base, bool BaseKill, int Opcode, ARMCC::CondCodes Pred, unsigned PredReg, unsigned Scratch, DebugLoc dl, SmallVector<MachineBasicBlock::iterator, 4> &Merges) argument 438 MergeLDR_STR(MachineBasicBlock &MBB, unsigned SIndex, unsigned Base, int Opcode, unsigned Size, ARMCC::CondCodes Pred, unsigned PredReg, unsigned Scratch, MemOpQueue &MemOps, SmallVector<MachineBasicBlock::iterator, 4> &Merges) argument 509 isMatchingDecrement(MachineInstr *MI, unsigned Base, unsigned Bytes, unsigned Limit, ARMCC::CondCodes Pred, unsigned PredReg) argument 532 isMatchingIncrement(MachineInstr *MI, unsigned Base, unsigned Bytes, unsigned Limit, ARMCC::CondCodes Pred, unsigned PredReg) argument 689 ARMCC::CondCodes Pred = llvm::getInstrPredicate(MI, PredReg); local 844 ARMCC::CondCodes Pred = llvm::getInstrPredicate(MI, PredReg); local 1044 InsertLDR_STR(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, int Offset, bool isDef, DebugLoc dl, unsigned NewOpc, unsigned Reg, bool RegDeadKill, bool RegUndef, unsigned BaseReg, bool BaseKill, bool BaseUndef, bool OffKill, bool OffUndef, ARMCC::CondCodes Pred, unsigned PredReg, const TargetInstrInfo *TII, bool isT2) argument 1098 ARMCC::CondCodes Pred = llvm::getInstrPredicate(MI, PredReg); local 1209 ARMCC::CondCodes Pred = llvm::getInstrPredicate(MBBI, PredReg); local 1502 CanFormLdStDWord(MachineInstr *Op0, MachineInstr *Op1, DebugLoc &dl, unsigned &NewOpc, unsigned &EvenReg, unsigned &OddReg, unsigned &BaseReg, int &Offset, unsigned &PredReg, ARMCC::CondCodes &Pred, bool &isT2) argument 1667 ARMCC::CondCodes Pred = ARMCC::AL; local [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | ArrayRef.h | 193 template <class PredicateT> ArrayRef<T> drop_while(PredicateT Pred) const { 194 return ArrayRef<T>(find_if_not(*this, Pred), end()); 199 template <class PredicateT> ArrayRef<T> drop_until(PredicateT Pred) const { 200 return ArrayRef<T>(find_if(*this, Pred), end()); 219 template <class PredicateT> ArrayRef<T> take_while(PredicateT Pred) const { 220 return ArrayRef<T>(begin(), find_if_not(*this, Pred)); 225 template <class PredicateT> ArrayRef<T> take_until(PredicateT Pred) const { 226 return ArrayRef<T>(begin(), find_if(*this, Pred)); 368 MutableArrayRef<T> drop_while(PredicateT Pred) const { 369 return MutableArrayRef<T>(find_if_not(*this, Pred), en [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | PlaceSafepoints.cpp | 193 /// to the loop header via an edge from Pred. Returns a conservative correct 196 BasicBlock *Pred, 199 // there's a call safepoint along every edge between Header and Pred. 202 // loop latch (Pred) block. Somewhat surprisingly, walking the entire chain 204 // checking the Pred and Header blocks themselves. This may be due to the 208 assert(DT.dominates(Header, Pred) && "loop latch not dominated by header?"); 210 BasicBlock *Current = Pred; 237 BasicBlock *Pred) { 248 if (L->isLoopExiting(Pred)) { 251 const SCEV *MaxExec = SE->getExitCount(L, Pred); 195 containsUnconditionalCallSafepoint(Loop *L, BasicBlock *Header, BasicBlock *Pred, DominatorTree &DT) argument 236 mustBeFiniteCountedLoop(Loop *L, ScalarEvolution *SE, BasicBlock *Pred) argument [all...] |
/external/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ |
H A D | max_element_comp.pass.cpp | 65 template <class Iter, class Pred> 66 void test_eq0(Iter first, Iter last, Pred p)
|
H A D | min_element_comp.pass.cpp | 65 template <class Iter, class Pred> 66 void test_eq0(Iter first, Iter last, Pred p)
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMLoadStoreOptimizer.cpp | 150 ARMCC::CondCodes Pred, unsigned PredReg); 154 ARMCC::CondCodes Pred, unsigned PredReg, const DebugLoc &DL, 159 ARMCC::CondCodes Pred, unsigned PredReg, const DebugLoc &DL, 459 ARMCC::CondCodes Pred, 528 .addReg(Base).addImm(WordOffset * 4).addImm(Pred).addReg(PredReg); 546 .addReg(Base).addImm(WordOffset * 4).addImm(Pred).addReg(PredReg); 596 ARMCC::CondCodes Pred, unsigned PredReg, const DebugLoc &DL, 704 if (Pred != ARMCC::AL) 711 .addImm(Pred).addReg(PredReg); 721 .addImm(Pred) 455 UpdateBaseRegUses(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, const DebugLoc &DL, unsigned Base, unsigned WordOffset, ARMCC::CondCodes Pred, unsigned PredReg) argument 593 CreateLoadStoreMulti( MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, int Offset, unsigned Base, bool BaseKill, unsigned Opcode, ARMCC::CondCodes Pred, unsigned PredReg, const DebugLoc &DL, ArrayRef<std::pair<unsigned, bool>> Regs) argument 790 CreateLoadStoreDouble( MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, int Offset, unsigned Base, bool BaseKill, unsigned Opcode, ARMCC::CondCodes Pred, unsigned PredReg, const DebugLoc &DL, ArrayRef<std::pair<unsigned, bool>> Regs) const argument 861 ARMCC::CondCodes Pred = getInstrPredicate(*First, PredReg); local 1126 isIncrementOrDecrement(const MachineInstr &MI, unsigned Reg, ARMCC::CondCodes Pred, unsigned PredReg) argument 1156 findIncDecBefore(MachineBasicBlock::iterator MBBI, unsigned Reg, ARMCC::CondCodes Pred, unsigned PredReg, int &Offset) argument 1176 findIncDecAfter(MachineBasicBlock::iterator MBBI, unsigned Reg, ARMCC::CondCodes Pred, unsigned PredReg, int &Offset) argument 1212 ARMCC::CondCodes Pred = getInstrPredicate(*MI, PredReg); local 1354 ARMCC::CondCodes Pred = getInstrPredicate(*MI, PredReg); local [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
H A D | MBlazeAsmPrinter.cpp | 303 const MachineBasicBlock *Pred = *PI; local 305 if (!Pred->isLayoutSuccessor(MBB)) 309 if (Pred->empty()) 313 MachineBasicBlock::const_iterator I = Pred->end(); 314 while (I != Pred->begin() && !(--I)->getDesc().isTerminator()) 316 return I == Pred->end() || !I->getDesc().isBarrier();
|
/external/v8/src/compiler/ |
H A D | operator.h | 169 template <typename T, typename Pred = OpEqualTo<T>, typename Hash = OpHash<T>> 175 T parameter, Pred const& pred = Pred(), Hash const& hash = Hash()) 186 const Operator1<T, Pred, Hash>* that = 187 reinterpret_cast<const Operator1<T, Pred, Hash>*>(other); 210 Pred const pred_; 172 Operator1(Opcode opcode, Properties properties, const char* mnemonic, size_t value_in, size_t effect_in, size_t control_in, size_t value_out, size_t effect_out, size_t control_out, T parameter, Pred const& pred = Pred(), Hash const& hash = Hash()) argument
|
/external/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 705 CmpClass_match(PredicateTy &Pred, const LHS_t &LHS, const RHS_t &RHS) argument 706 : Predicate(Pred), L(LHS), R(RHS) {} 720 m_Cmp(CmpInst::Predicate &Pred, const LHS &L, const RHS &R) { argument 721 return CmpClass_match<LHS, RHS, CmpInst, CmpInst::Predicate>(Pred, L, R); 726 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) { argument 727 return CmpClass_match<LHS, RHS, ICmpInst, ICmpInst::Predicate>(Pred, L, R); 732 m_FCmp(FCmpInst::Predicate &Pred, const LHS &L, const RHS &R) { argument 733 return CmpClass_match<LHS, RHS, FCmpInst, FCmpInst::Predicate>(Pred, L, R); 974 typename CmpInst_t::Predicate Pred = 977 if (!Pred_t::match(Pred)) 986 match(ICmpInst::Predicate Pred) argument 993 match(ICmpInst::Predicate Pred) argument 1000 match(ICmpInst::Predicate Pred) argument 1007 match(ICmpInst::Predicate Pred) argument 1014 match(FCmpInst::Predicate Pred) argument 1021 match(FCmpInst::Predicate Pred) argument 1028 match(FCmpInst::Predicate Pred) argument 1035 match(FCmpInst::Predicate Pred) argument 1124 ICmpInst::Predicate Pred; local 1324 m_c_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) argument [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
H A D | BasicBlockUtils.cpp | 156 // Make all PHI nodes that referred to BB now refer to Pred as their 336 BasicBlock *Pred = *i; local 341 if (Loop *PL = LI->getLoopFor(Pred)) 348 if (L->contains(Pred)) 370 BasicBlock *Pred = *i; local 371 if (Loop *PredLoop = LI->getLoopFor(Pred)) { 549 BasicBlock *Pred = *i++; local 550 if (Pred == NewBB1) continue; 551 assert(!isa<IndirectBrInst>(Pred->getTerminator()) && 553 NewBB2Preds.push_back(Pred); 656 FoldReturnIntoUncondBranch(ReturnInst *RI, BasicBlock *BB, BasicBlock *Pred) argument [all...] |
/external/llvm/lib/CodeGen/ |
H A D | MachineTraceMetrics.cpp | 170 if (!TBI->Pred) { 180 unsigned PredNum = TBI->Pred->getNumber(); 183 const FixedBlockInfo *PredFBI = MTM.getResources(TBI->Pred); 323 for (const MachineBasicBlock *Pred : MBB->predecessors()) { 325 getDepthResources(Pred); 332 Best = Pred; 470 TBI.Pred = pickTracePred(I); 472 if (TBI.Pred) 473 dbgs() << "BB#" << TBI.Pred->getNumber() << '\n'; 516 for (const MachineBasicBlock *Pred [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/PTX/ |
H A D | PTXISelDAGToDAG.cpp | 93 SDValue Pred = Node->getOperand(1); local 99 assert(Pred.getValueType() == MVT::i1); 102 SDValue Ops[] = { Target, Pred, PredOp, Chain }; 133 SDValue Pred = CurDAG->getRegister(PTX::NoRegister, MVT::i1); local 137 SDValue Ops[] = { Index, Pred, PredOp, Chain }; 171 SDValue Pred = CurDAG->getRegister(PTX::NoRegister, MVT::i1); local 175 SDValue Ops[] = { Value, Pred, PredOp, Chain };
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | ScheduleDAGRRList.cpp | 1030 for (SDep &Pred : SU->Preds) { 1031 if (Pred.isCtrl()) 1032 ChainPreds.push_back(Pred); 1033 else if (isOperandOf(Pred.getSUnit(), LoadNode)) 1034 LoadPreds.push_back(Pred); 1036 NodePreds.push_back(Pred); 1046 for (const SDep &Pred : ChainPreds) { 1047 RemovePred(SU, Pred); 1049 AddPred(LoadSU, Pred); 1051 for (const SDep &Pred [all...] |
/external/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFixIrreducibleControlFlow.cpp | 94 for (MachineBasicBlock *Pred : Block->predecessors()) 95 if (!Loop->contains(Pred)) 96 Preds.push_back(Pred); 212 for (auto Pred : MBB->predecessors()) 213 RewriteSuccs.insert(Pred);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | PatternMatch.h | 453 CmpClass_match(PredicateTy &Pred, const LHS_t &LHS, const RHS_t &RHS) argument 454 : Predicate(Pred), L(LHS), R(RHS) {} 469 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) { argument 471 ICmpInst, ICmpInst::Predicate>(Pred, L, R); 476 m_FCmp(FCmpInst::Predicate &Pred, const LHS &L, const RHS &R) { argument 478 FCmpInst, FCmpInst::Predicate>(Pred, L, R); 728 ICmpInst::Predicate Pred = LHS == TrueVal ? 731 if (!Pred_t::match(Pred)) 740 static bool match(ICmpInst::Predicate Pred) { argument 741 return Pred 747 match(ICmpInst::Predicate Pred) argument 754 match(ICmpInst::Predicate Pred) argument 761 match(ICmpInst::Predicate Pred) argument [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/ |
H A D | SparcAsmPrinter.cpp | 233 const MachineBasicBlock *Pred = *PI; local 235 if (!Pred->isLayoutSuccessor(MBB)) 239 MachineBasicBlock::const_iterator I = Pred->end(); 240 while (I != Pred->begin() && !(--I)->getDesc().isTerminator()) 242 return I == Pred->end() || !I->getDesc().isBarrier();
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
H A D | BasicBlock.cpp | 216 void BasicBlock::removePredecessor(BasicBlock *Pred, argument 219 find(pred_begin(this), pred_end(this), Pred) != pred_end(this)) && 241 BasicBlock *Other = APN->getIncomingBlock(APN->getIncomingBlock(0) == Pred); 252 PN->removeIncomingValue(Pred, !DontDeleteUselessPHIs); 273 PN->removeIncomingValue(Pred, false);
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 404 static Value *ThreadCmpOverSelect(CmpInst::Predicate Pred, Value *LHS, argument 415 Pred = CmpInst::getSwappedPredicate(Pred); 422 if (Value *TCmp = SimplifyCmpInst(Pred, SI->getTrueValue(), RHS, TD, DT, 425 if (Value *FCmp = SimplifyCmpInst(Pred, SI->getFalseValue(), RHS, TD, DT, 504 static Value *ThreadCmpOverPHI(CmpInst::Predicate Pred, Value *LHS, Value *RHS, argument 514 Pred = CmpInst::getSwappedPredicate(Pred); 529 Value *V = SimplifyCmpInst(Pred, Incoming, RHS, TD, DT, MaxRecurse); 1400 /// equivalent to the comparison "LHS Pred RH 1402 ExtractEquivalentCondition(Value *V, CmpInst::Predicate Pred, Value *LHS, Value *RHS) argument 1424 CmpInst::Predicate Pred = (CmpInst::Predicate)Predicate; local 2118 CmpInst::Predicate Pred = (CmpInst::Predicate)Predicate; local [all...] |
/external/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 1152 ICmpInst::Predicate *Pred, 1156 *Pred = ICmpInst::ICMP_SLT; 1161 *Pred = ICmpInst::ICMP_SGT; 1172 ICmpInst::Predicate *Pred, 1175 *Pred = ICmpInst::ICMP_ULT; 1196 // ICmpInst::Predicate *Pred, 1207 ICmpInst::Predicate *Pred, 1209 return getSignedOverflowLimitForStep(Step, Pred, SE); 1223 ICmpInst::Predicate *Pred, 1225 return getUnsignedOverflowLimitForStep(Step, Pred, S 1151 getSignedOverflowLimitForStep(const SCEV *Step, ICmpInst::Predicate *Pred, ScalarEvolution *SE) argument 1171 getUnsignedOverflowLimitForStep(const SCEV *Step, ICmpInst::Predicate *Pred, ScalarEvolution *SE) argument 1206 getOverflowLimitForStep(const SCEV *Step, ICmpInst::Predicate *Pred, ScalarEvolution *SE) argument 1222 getOverflowLimitForStep(const SCEV *Step, ICmpInst::Predicate *Pred, ScalarEvolution *SE) argument 1302 ICmpInst::Predicate Pred; local 1393 ICmpInst::Predicate Pred = ICmpInst::BAD_ICMP_PREDICATE; local 1772 ICmpInst::Predicate Pred; local [all...] |