/external/llvm/utils/TableGen/ |
AsmWriterEmitter.cpp | 816 std::string Cond; 817 Cond = std::string("MI->getNumOperands() == ") + llvm::utostr(NumMIOps); 818 IAP.addCond(Cond); 859 Cond = std::string("MRI.getRegClass(") + Target.getName() + "::" + 863 Cond = Op + ".getReg() == MI->getOperand(" + 881 Cond = Target.getName() + ClassName + "ValidateMCOperand(" + 885 IAP.addCond(Cond); [all...] |
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 159 ExprAST *Cond, *Then, *Else; 161 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 162 : Cond(cond), Then(then), Else(_else) {} 306 ExprAST *Cond = ParseExpression(); 307 if (!Cond) return 0; 324 return new IfExprAST(Cond, Then, Else); 615 Value *CondV = Cond->Codegen();
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 164 ExprAST *Cond, *Then, *Else; 166 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 167 : Cond(cond), Then(then), Else(_else) {} 324 ExprAST *Cond = ParseExpression(); 325 if (!Cond) return 0; 342 return new IfExprAST(Cond, Then, Else); 711 Value *CondV = Cond->Codegen(); [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
BranchFolding.cpp | 189 SmallVector<MachineOperand, 4> Cond; 190 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true)) 191 MadeChange |= MBB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty()); 455 SmallVector<MachineOperand, 4> Cond; 458 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) { 460 if (TBB == NextBB && !Cond.empty() && !FBB) { 461 if (!TII->ReverseBranchCondition(Cond)) { 463 TII->InsertBranch(*CurMBB, SuccBB, NULL, Cond, dl); 874 SmallVector<MachineOperand, 4> Cond [all...] |
IfConversion.cpp | 81 /// TargetInstrInfo::AnalyzeBranch() (i.e. TBB, FBB, and Cond), and its 186 bool FeasibilityAnalysis(BBInfo &BBI, SmallVectorImpl<MachineOperand> &Cond, 197 SmallVectorImpl<MachineOperand> &Cond, 200 SmallVectorImpl<MachineOperand> &Cond, 726 SmallVector<MachineOperand, 4> Cond(BBI.BrCond.begin(), BBI.BrCond.end()); 728 if (TII->ReverseBranchCondition(Cond)) 732 !TII->SubsumesPredicate(Cond, RevPred)) [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
JumpThreading.cpp | 122 bool ProcessThreadableEdges(Value *Cond, BasicBlock *BB, 552 Constant *Cond = Conds[i].first; 556 if (ConstantInt *CI = dyn_cast<ConstantInt>(Cond)) { 560 assert(isa<UndefValue>(Cond) && "Unexpected condition value"); [all...] |
SimplifyLibCalls.cpp | [all...] |
/external/v8/src/arm64/ |
assembler-arm64-inl.h | 961 Instr Assembler::Cond(Condition cond) { 962 return cond << Condition_offset; [all...] |
/external/valgrind/memcheck/ |
mc_errors.c | 106 } Cond; 449 /* Could also show extra->Err.Cond.otag if debugging origin 467 if (extra->Err.Cond.origin_ec) 468 mc_pp_origin( extra->Err.Cond.origin_ec, 469 extra->Err.Cond.otag & 3 ); 471 /* Could also show extra->Err.Cond.otag if debugging origin 476 if (extra->Err.Cond.origin_ec) 477 mc_pp_origin( extra->Err.Cond.origin_ec, 478 extra->Err.Cond.otag & 3 ); 788 extra.Err.Cond.otag = otag [all...] |
/external/clang/include/clang/AST/ |
StmtOpenMP.h | 426 void setCond(Expr *Cond) { 427 *std::next(child_begin(), CondOffset) = Cond; 525 Expr *Cond; 568 Cond != nullptr && Init != nullptr && Inc != nullptr; 578 Cond = nullptr; [all...] |
/external/clang/lib/CodeGen/ |
CGStmt.cpp | 663 JumpDest LoopHeader = getJumpDestInCurrentScope("while.cond"); 748 JumpDest LoopCond = getJumpDestInCurrentScope("do.cond"); 820 JumpDest Continue = getJumpDestInCurrentScope("for.cond"); 850 ExitBlock = createBasicBlock("for.cond.cleanup"); 919 llvm::BasicBlock *CondBlock = createBasicBlock("for.cond"); 928 ExitBlock = createBasicBlock("for.cond.cleanup"); [all...] |
/external/clang/lib/Sema/ |
AnalysisBasedWarnings.cpp | [all...] |
/external/llvm/examples/Kaleidoscope/Chapter9/ |
toy.cpp | 295 std::unique_ptr<ExprAST> Cond, Then, Else; 298 IfExprAST(SourceLocation Loc, std::unique_ptr<ExprAST> Cond, 300 : ExprAST(Loc), Cond(std::move(Cond)), Then(std::move(Then)), 305 Cond->dump(indent(out, ind) << "Cond:", ind + 1); 326 Start->dump(indent(out, ind) << "Cond:", ind + 1); 508 auto Cond = ParseExpression(); 509 if (!Cond) 529 return llvm::make_unique<IfExprAST>(IfLoc, std::move(Cond), std::move(Then) [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy.cpp | 189 ExprAST *Cond, *Then, *Else; 191 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 192 : Cond(cond), Then(then), Else(_else) {} 349 ExprAST *Cond = ParseExpression(); 350 if (!Cond) return 0; 367 return new IfExprAST(Cond, Then, Else); 1102 Value *CondV = Cond->Codegen(); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | 208 ExprAST *Cond, *Then, *Else; 210 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 211 : Cond(cond), Then(then), Else(_else) {} 368 ExprAST *Cond = ParseExpression(); 369 if (!Cond) return 0; 386 return new IfExprAST(Cond, Then, Else); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
toy.cpp | 166 ExprAST *Cond, *Then, *Else; 168 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 169 : Cond(cond), Then(then), Else(_else) {} 326 ExprAST *Cond = ParseExpression(); 327 if (!Cond) return 0; 344 return new IfExprAST(Cond, Then, Else); 960 Value *CondV = Cond->Codegen(); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
toy.cpp | 168 ExprAST *Cond, *Then, *Else; 170 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 171 : Cond(cond), Then(then), Else(_else) {} 328 ExprAST *Cond = ParseExpression(); 329 if (!Cond) return 0; 346 return new IfExprAST(Cond, Then, Else); 1000 Value *CondV = Cond->Codegen(); [all...] |
/external/llvm/include/llvm/IR/ |
PatternMatch.h | 746 SelectClass_match(const Cond_t &Cond, const LHS_t &LHS, const RHS_t &RHS) 747 : C(Cond), L(LHS), R(RHS) {} 757 template <typename Cond, typename LHS, typename RHS> 758 inline SelectClass_match<Cond, LHS, RHS> m_Select(const Cond &C, const LHS &L, 760 return SelectClass_match<Cond, LHS, RHS>(C, L, R); 765 template <int64_t L, int64_t R, typename Cond> 766 inline SelectClass_match<Cond, constantint_match<L>, constantint_match<R>> 767 m_SelectCst(const Cond &C) { 925 Cond_t Cond; [all...] |
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | 341 // For example, select (cond, X, X & Z) & Z -> X & Z. 383 Value *Cond = SI->getCondition(); 387 // Now that we have "cmp select(Cond, TV, FV), RHS", analyse it. 390 if (TCmp == Cond) { 393 TCmp = getTrue(Cond->getType()); 397 if (!isSameCompare(Cond, Pred, TV, RHS)) 399 TCmp = getTrue(Cond->getType()); 404 if (FCmp == Cond) { 407 FCmp = getFalse(Cond->getType()); 411 if (!isSameCompare(Cond, Pred, FV, RHS) [all...] |
/external/llvm/lib/CodeGen/ |
IfConversion.cpp | 90 /// TargetInstrInfo::analyzeBranch() (i.e. TBB, FBB, and Cond), and its 209 bool FeasibilityAnalysis(BBInfo &BBI, SmallVectorImpl<MachineOperand> &Cond, 221 SmallVectorImpl<MachineOperand> &Cond, 224 SmallVectorImpl<MachineOperand> &Cond, 785 SmallVector<MachineOperand, 4> Cond(BBI.BrCond.begin(), BBI.BrCond.end()); 787 if (TII->ReverseBranchCondition(Cond)) 791 !TII->SubsumesPredicate(Cond, RevPred)) [all...] |
MachineVerifier.cpp | 624 SmallVector<MachineOperand, 4> Cond; 626 Cond)) { 653 if (!Cond.empty()) { 657 } else if (TBB && !FBB && Cond.empty()) { 680 } else if (TBB && !FBB && !Cond.empty()) { 739 if (Cond.empty()) { [all...] |
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUISelDAGToDAG.cpp | 46 SDValue Cond = N->getOperand(1); 47 if (Cond.getOpcode() == ISD::CopyToReg) 48 Cond = Cond.getOperand(2); 49 return Cond.getOpcode() == ISD::SETCC && 50 Cond.getOperand(0).getValueType() == MVT::i32 && Cond.hasOneUse(); [all...] |
R600ISelLowering.cpp | [all...] |
/external/llvm/lib/Target/ARM/ |
ARMConstantIslandPass.cpp | 42 STATISTIC(NumCBrFixed, "Number of cond branches fixed"); 249 ImmBranch(MachineInstr *mi, unsigned maxdisp, bool cond, unsigned ubr) 250 : MI(mi), MaxDisp(maxdisp), isCond(cond), UncondBr(ubr) {} 677 SmallVector<MachineOperand, 4> Cond; 678 bool TooDifficult = TII->analyzeBranch(*MBB, TBB, FBB, Cond); [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonHardwareLoops.cpp | 437 SmallVector<MachineOperand,2> Cond; 439 bool NotAnalyzed = TII->analyzeBranch(*ExitingBlock, TB, FB, Cond, false); 444 if (!TII->getPredReg(Cond, PredR, PredPos, PredRegFlags)) 584 SmallVector<MachineOperand,2> Cond; 586 bool NotAnalyzed = TII->analyzeBranch(*ExitingBlock, TB, FB, Cond, false); 611 // to put imm(0), followed by P in the vector Cond. 614 bool Negated = TII->predOpcodeHasNot(Cond) ^ (TB != Header); 616 if (!TII->getPredReg(Cond, PredReg, PredPos, PredRegFlags)) [all...] |