HomeSort by relevance Sort by last modified time
    Searched defs:Cond (Results 51 - 75 of 188) sorted by null

1 23 4 5 6 7 8

  /external/clang/lib/StaticAnalyzer/Core/
BugReporterVisitors.cpp     [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
toy.cpp 202 std::unique_ptr<ExprAST> Cond, Then, Else;
205 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then,
207 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
379 auto Cond = ParseExpression();
380 if (!Cond)
400 return llvm::make_unique<IfExprAST>(std::move(Cond), std::move(Then),
823 Value *CondV = Cond->codegen();
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
toy.cpp 202 std::unique_ptr<ExprAST> Cond, Then, Else;
205 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then,
207 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
379 auto Cond = ParseExpression();
380 if (!Cond)
400 return llvm::make_unique<IfExprAST>(std::move(Cond), std::move(Then),
823 Value *CondV = Cond->codegen();
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
toy.cpp 202 std::unique_ptr<ExprAST> Cond, Then, Else;
205 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then,
207 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
379 auto Cond = ParseExpression();
380 if (!Cond)
400 return llvm::make_unique<IfExprAST>(std::move(Cond), std::move(Then),
823 Value *CondV = Cond->codegen();
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
toy.cpp 203 std::unique_ptr<ExprAST> Cond, Then, Else;
206 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then,
208 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
367 auto Cond = ParseExpression();
368 if (!Cond)
388 return llvm::make_unique<IfExprAST>(std::move(Cond), std::move(Then),
812 Value *CondV = Cond->codegen();
    [all...]
  /external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
toy.cpp 218 std::unique_ptr<ExprAST> Cond, Then, Else;
221 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then,
223 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
382 auto Cond = ParseExpression();
383 if (!Cond)
403 return llvm::make_unique<IfExprAST>(std::move(Cond), std::move(Then),
834 Value *CondV = Cond->codegen();
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter6/
toy.cpp 195 std::unique_ptr<ExprAST> Cond, Then, Else;
198 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then,
200 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
359 auto Cond = ParseExpression();
360 if (!Cond)
380 return llvm::make_unique<IfExprAST>(std::move(Cond), std::move(Then),
719 Value *CondV = Cond->codegen();
  /external/llvm/examples/Kaleidoscope/Chapter7/
toy.cpp 202 std::unique_ptr<ExprAST> Cond, Then, Else;
205 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then,
207 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
379 auto Cond = ParseExpression();
380 if (!Cond)
400 return llvm::make_unique<IfExprAST>(std::move(Cond), std::move(Then),
824 Value *CondV = Cond->codegen();
    [all...]
  /external/llvm/examples/Kaleidoscope/Chapter8/
toy.cpp 199 std::unique_ptr<ExprAST> Cond, Then, Else;
202 IfExprAST(std::unique_ptr<ExprAST> Cond, std::unique_ptr<ExprAST> Then,
204 : Cond(std::move(Cond)), Then(std::move(Then)), Else(std::move(Else)) {}
376 auto Cond = ParseExpression();
377 if (!Cond)
397 return llvm::make_unique<IfExprAST>(std::move(Cond), std::move(Then),
819 Value *CondV = Cond->codegen();
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/cached/
toy-jit.cpp 182 ExprAST *Cond, *Then, *Else;
184 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else)
185 : Cond(cond), Then(then), Else(_else) {}
342 ExprAST *Cond = ParseExpression();
343 if (!Cond) return 0;
360 return new IfExprAST(Cond, Then, Else);
738 Value *CondV = Cond->Codegen();
    [all...]
  /external/llvm/examples/Kaleidoscope/MCJIT/lazy/
toy-jit.cpp 167 ExprAST *Cond, *Then, *Else;
169 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else)
170 : Cond(cond), Then(then), Else(_else) {}
327 ExprAST *Cond = ParseExpression();
328 if (!Cond) return 0;
345 return new IfExprAST(Cond, Then, Else);
720 Value *CondV = Cond->Codegen();
    [all...]
  /external/llvm/lib/Analysis/
InlineCost.cpp     [all...]
  /external/llvm/lib/CodeGen/
BranchFolding.cpp 224 SmallVector<MachineOperand, 4> Cond;
225 if (!TII->analyzeBranch(MBB, TBB, FBB, Cond, true))
226 MadeChange |= MBB.CorrectExtraCFGEdges(TBB, FBB, !Cond.empty());
509 SmallVector<MachineOperand, 4> Cond;
511 if (I != MF->end() && !TII->analyzeBranch(*CurMBB, TBB, FBB, Cond, true)) {
513 if (TBB == NextBB && !Cond.empty() && !FBB) {
514 if (!TII->ReverseBranchCondition(Cond)) {
516 TII->InsertBranch(*CurMBB, SuccBB, nullptr, Cond, dl);
    [all...]
MachineBasicBlock.cpp 411 SmallVector<MachineOperand, 4> Cond;
413 bool B = TII->analyzeBranch(*this, TBB, FBB, Cond);
416 if (Cond.empty()) {
441 TII->InsertBranch(*this, TBB, nullptr, Cond, DL);
451 if (TII->ReverseBranchCondition(Cond))
454 TII->InsertBranch(*this, FBB, nullptr, Cond, DL);
457 TII->InsertBranch(*this, TBB, nullptr, Cond, DL);
484 TII->InsertBranch(*this, TBB, nullptr, Cond, DL);
492 Cond.clear();
493 TII->InsertBranch(*this, TBB, nullptr, Cond, DL)
    [all...]
MachineBlockPlacement.cpp     [all...]
MachineLICM.cpp 766 SmallVector<MachineOperand, 4> Cond;
767 if (!TII->analyzeBranch(*BB, TBB, FBB, Cond, false) && Cond.empty())
    [all...]
PeepholeOptimizer.cpp 587 SmallVector<MachineOperand, 4> Cond;
588 if (TII->analyzeSelect(*MI, Cond, TrueOp, FalseOp, Optimizable))
    [all...]
  /external/llvm/lib/IR/
ConstantFold.cpp 725 Constant *llvm::ConstantFoldSelectInstruction(Constant *Cond,
728 if (Cond->isNullValue()) return V2;
729 if (Cond->isAllOnesValue()) return V1;
732 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) {
741 Constant *Cond = dyn_cast<Constant>(CondV->getOperand(i));
744 } else if (isa<UndefValue>(Cond)) {
747 if (!isa<ConstantInt>(Cond)) break;
748 V = Cond->isNullValue() ? V2Element : V1Element;
758 if (isa<UndefValue>(Cond)) {
768 if (TrueVal->getOperand(0) == Cond)
    [all...]
  /external/llvm/lib/Target/Hexagon/
HexagonSplitDouble.cpp 438 // the header (either "br-cond header" or "br-cond exit; br header").
441 SmallVector<MachineOperand,2> Cond;
442 bool BadLB = TII->analyzeBranch(*TmpLB, TB, FB, Cond, false);
444 // the branch opcode as the first element of Cond, and the predicate
446 if (BadLB || Cond.size() != 2)
449 if (!TII->PredOpcodeHasJMP_c(Cond[0].getImm()))
454 assert(Cond[1].isReg() && "Unexpected Cond vector from AnalyzeBranch");
456 unsigned PR = Cond[1].getReg()
    [all...]
  /external/llvm/lib/Target/Lanai/
LanaiISelLowering.cpp 857 SDValue Cond = Op.getOperand(1);
863 LPCC::CondCode CC = IntCondCCodeToICC(Cond, DL, LHS, RHS, DAG);
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineVectorOps.cpp 269 Value *Cond = SI->getCondition();
270 if (Cond->getType()->isVectorTy()) {
271 Cond = Builder->CreateExtractElement(Cond,
273 Cond->getName() + ".elt");
285 return SelectInst::Create(Cond,
    [all...]
  /external/llvm/lib/Transforms/Instrumentation/
GCOVProfiling.cpp 916 Value *Cond = Builder.CreateICmpEQ(Pred, Builder.getInt32(0xffffffff));
917 BranchInst::Create(Exit, PredNotNegOne, Cond, BB);
928 Cond = Builder.CreateICmpEQ(Counter,
931 Builder.CreateCondBr(Cond, Exit, CounterEnd);
    [all...]
  /external/llvm/lib/Transforms/Scalar/
JumpThreading.cpp 631 Constant *Cond = C.first;
635 if (ConstantInt *CI = dyn_cast<ConstantInt>(Cond)) {
639 assert(isa<UndefValue>(Cond) && "Unexpected condition value");
    [all...]
LoopUnswitch.cpp 243 void UnswitchTrivialCondition(Loop *L, Value *Cond, Constant *Val,
391 /// Cond is a condition that occurs in L. If it is invariant in the loop, or has
393 static Value *FindLIVLoopCondition(Value *Cond, Loop *L, bool &Changed,
395 auto CacheIt = Cache.find(Cond);
403 if (Cond->getType()->isVectorTy())
407 if (isa<Constant>(Cond)) return nullptr;
412 if (L->makeLoopInvariant(Cond, Changed)) {
413 Cache[Cond] = Cond;
414 return Cond;
    [all...]
StructurizeCFG.cpp 418 Value *Cond = Invert ? BoolFalse : BoolTrue;
420 Cond = Term->getCondition();
423 Cond = invert(Cond);
425 return Cond;

Completed in 757 milliseconds

1 23 4 5 6 7 8