HomeSort by relevance Sort by last modified time
    Searched defs:Cond (Results 26 - 50 of 102) sorted by null

12 3 4 5

  /external/llvm/lib/CodeGen/
EarlyIfConversion.cpp 113 // Latencies from Cond+Branch, TReg, and FReg to DstReg.
124 SmallVector<MachineOperand, 4> Cond;
388 Cond.clear();
389 if (TII->AnalyzeBranch(*Head, TBB, FBB, Cond)) {
423 if (!TII->canInsertSelect(*Head, Cond, PI.TReg, PI.FReg,
464 TII->insertSelect(*Head, FirstTerm, HeadDL, DstReg, Cond, PI.TReg, PI.FReg);
485 TII->insertSelect(*Head, FirstTerm, HeadDL, DstReg, Cond, PI.TReg, PI.FReg);
MachineBasicBlock.cpp 398 SmallVector<MachineOperand, 4> Cond;
400 bool B = TII->AnalyzeBranch(*this, TBB, FBB, Cond);
403 if (Cond.empty()) {
428 TII->InsertBranch(*this, TBB, nullptr, Cond, dl);
436 if (TII->ReverseBranchCondition(Cond))
439 TII->InsertBranch(*this, FBB, nullptr, Cond, dl);
442 TII->InsertBranch(*this, TBB, nullptr, Cond, dl);
466 TII->InsertBranch(*this, TBB, nullptr, Cond, dl);
472 if (TII->ReverseBranchCondition(Cond)) {
474 Cond.clear()
    [all...]
MachineBlockPlacement.cpp     [all...]
PeepholeOptimizer.cpp 438 SmallVector<MachineOperand, 4> Cond;
439 if (TII->analyzeSelect(MI, Cond, TrueOp, FalseOp, Optimizable))
    [all...]
BranchFolding.cpp 206 SmallVector<MachineOperand, 4> Cond;
207 if (!TII->AnalyzeBranch(*MBB, TBB, FBB, Cond, true))
208 MadeChange |= MBB->CorrectExtraCFGEdges(TBB, FBB, !Cond.empty());
471 SmallVector<MachineOperand, 4> Cond;
474 !TII->AnalyzeBranch(*CurMBB, TBB, FBB, Cond, true)) {
476 if (TBB == NextBB && !Cond.empty() && !FBB) {
477 if (!TII->ReverseBranchCondition(Cond)) {
479 TII->InsertBranch(*CurMBB, SuccBB, nullptr, Cond, dl);
    [all...]
MachineLICM.cpp 809 SmallVector<MachineOperand, 4> Cond;
810 if (!TII->AnalyzeBranch(*BB, TBB, FBB, Cond, false) && Cond.empty())
    [all...]
MachineVerifier.cpp 556 SmallVector<MachineOperand, 4> Cond;
558 TBB, FBB, Cond)) {
585 if (!Cond.empty()) {
589 } else if (TBB && !FBB && Cond.empty()) {
608 } else if (TBB && !FBB && !Cond.empty()) {
667 if (Cond.empty()) {
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineVectorOps.cpp 300 Value *Cond = SI->getCondition();
301 if (Cond->getType()->isVectorTy()) {
302 Cond = Builder->CreateExtractElement(Cond,
304 Cond->getName() + ".elt");
316 return SelectInst::Create(Cond,
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopRerollPass.cpp     [all...]
  /external/llvm/lib/Transforms/Utils/
Local.cpp 72 if (ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition())) {
75 BasicBlock *Destination = Cond->getZExtValue() ? Dest1 : Dest2;
76 BasicBlock *OldDest = Cond->getZExtValue() ? Dest2 : Dest1;
94 // br bool %cond, label %Dest, label %Dest
103 Value *Cond = BI->getCondition();
106 RecursivelyDeleteTriviallyDeadInstructions(Cond, TLI);
191 Value *Cond = SI->getCondition();
194 RecursivelyDeleteTriviallyDeadInstructions(Cond, TLI);
202 Value *Cond = Builder.CreateICmpEQ(SI->getCondition(),
203 FirstCase.getCaseValue(), "cond");
    [all...]
  /external/llvm/tools/llvm-stress/
llvm-stress.cpp 578 Value *Cond = getRandomValue(CondTy);
579 Value *V = SelectInst::Create(Cond, Val0, Val1, "Sl", BB->getTerminator());
  /frameworks/compile/libbcc/lib/Renderscript/
RSForEachExpand.cpp 298 llvm::Value *Cond, *IVNext;
311 Cond = Builder.CreateICmpULT(LowerBound, UpperBound);
312 Builder.CreateCondBr(Cond, HeaderBB, AfterBB);
325 Cond = Builder.CreateICmpULT(IVNext, UpperBound);
326 Builder.CreateCondBr(Cond, HeaderBB, AfterBB);
  /external/clang/lib/Analysis/
Consumed.cpp     [all...]
  /external/clang/lib/Parse/
ParseStmt.cpp     [all...]
  /external/clang/lib/Sema/
AnalysisBasedWarnings.cpp     [all...]
  /external/clang/lib/StaticAnalyzer/Core/
BugReporterVisitors.cpp     [all...]
  /external/llvm/examples/Kaleidoscope/Chapter6/
toy.cpp 160 ExprAST *Cond, *Then, *Else;
162 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else)
163 : Cond(cond), Then(then), Else(_else) {}
308 ExprAST *Cond = ParseExpression();
309 if (!Cond) return 0;
326 return new IfExprAST(Cond, Then, Else);
617 Value *CondV = Cond->Codegen();
  /external/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp 165 ExprAST *Cond, *Then, *Else;
167 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else)
168 : Cond(cond), Then(then), Else(_else) {}
326 ExprAST *Cond = ParseExpression();
327 if (!Cond) return 0;
344 return new IfExprAST(Cond, Then, Else);
713 Value *CondV = Cond->Codegen();
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/cached/
toy-jit.cpp 183 ExprAST *Cond, *Then, *Else;
185 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else)
186 : Cond(cond), Then(then), Else(_else) {}
343 ExprAST *Cond = ParseExpression();
344 if (!Cond) return 0;
361 return new IfExprAST(Cond, Then, Else);
740 Value *CondV = Cond->Codegen();
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/lazy/
toy-jit.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);
722 Value *CondV = Cond->Codegen();
    [all...]
  /external/llvm/include/llvm/IR/
PatternMatch.h 704 SelectClass_match(const Cond_t &Cond, const LHS_t &LHS,
706 : C(Cond), L(LHS), R(RHS) {}
718 template<typename Cond, typename LHS, typename RHS>
719 inline SelectClass_match<Cond, LHS, RHS>
720 m_Select(const Cond &C, const LHS &L, const RHS &R) {
721 return SelectClass_match<Cond, LHS, RHS>(C, L, R);
726 template<int64_t L, int64_t R, typename Cond>
727 inline SelectClass_match<Cond, constantint_match<L>, constantint_match<R> >
728 m_SelectCst(const Cond &C) {
908 Cond_t Cond;
    [all...]
  /external/llvm/lib/Analysis/IPA/
InlineCost.cpp     [all...]
  /external/llvm/lib/Analysis/
InstructionSimplify.cpp 329 // For example, select (cond, X, X & Z) & Z -> X & Z.
372 Value *Cond = SI->getCondition();
376 // Now that we have "cmp select(Cond, TV, FV), RHS", analyse it.
379 if (TCmp == Cond) {
382 TCmp = getTrue(Cond->getType());
386 if (!isSameCompare(Cond, Pred, TV, RHS))
388 TCmp = getTrue(Cond->getType());
393 if (FCmp == Cond) {
396 FCmp = getFalse(Cond->getType());
400 if (!isSameCompare(Cond, Pred, FV, RHS)
    [all...]
  /external/llvm/lib/IR/
ConstantFold.cpp 700 Constant *llvm::ConstantFoldSelectInstruction(Constant *Cond,
703 if (Cond->isNullValue()) return V2;
704 if (Cond->isAllOnesValue()) return V1;
707 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) {
716 Constant *Cond = dyn_cast<Constant>(CondV->getOperand(i));
719 } else if (isa<UndefValue>(Cond)) {
722 if (!isa<ConstantInt>(Cond)) break;
723 V = Cond->isNullValue() ? V2Element : V1Element;
733 if (isa<UndefValue>(Cond)) {
743 if (TrueVal->getOperand(0) == Cond)
    [all...]
  /external/llvm/lib/Target/Hexagon/
HexagonInstrInfo.cpp 124 const SmallVectorImpl<MachineOperand> &Cond,
136 if (!Cond.empty() && Cond[0].isImm() && Cond[0].getImm() == 0) {
142 if (Cond.empty()) {
148 SmallVector<MachineOperand, 4> Cond;
150 if (isPredicated(Term) && !AnalyzeBranch(MBB, NewTBB, NewFBB, Cond,
155 ReverseBranchCondition(Cond);
157 return InsertBranch(MBB, TBB, nullptr, Cond, DL);
163 get(BccOpc)).addReg(Cond[regPos].getReg()).addMBB(TBB)
    [all...]

Completed in 488 milliseconds

12 3 4 5