HomeSort by: relevance | last modified time | path
    Searched defs:CondVal (Results 1 - 7 of 7) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
SCCPSolver.cpp 1257 ValueLatticeElement CondVal = getValueState(OtherOp);
1259 if (CondVal.isConstantRange() || CopyOfVal.isConstantRange()) {
1264 if (CondVal.isConstantRange())
1266 Pred, CondVal.getConstantRange());
1285 } else if (Pred == CmpInst::ICMP_EQ && CondVal.isConstant()) {
1289 mergeInValue(IV, &CB, CondVal);
1291 } else if (Pred == CmpInst::ICMP_NE && CondVal.isConstant() &&
1296 ValueLatticeElement::getNot(CondVal.getConstant()));
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp 1722 Value *CondVal = SI.getCondition();
1772 Value *NewSel = Builder.CreateSelect(CondVal, NewTrueOp, NewFalseOp,
1797 Value *CondVal = SI.getCondition();
1802 if (!match(CondVal, m_ExtractValue<1>(m_WithOverflowInst(II))) ||
1976 Value *CondVal = SI.getCondition();
1978 auto *CondValTy = dyn_cast<FixedVectorType>(CondVal->getType());
1979 if (!CondValTy || !match(CondVal, m_Constant(CondC)))
2587 Value *CondVal = SI.getCondition();
2594 Optional<bool> Res = isImpliedCondition(Op, CondVal, DL, IsAnd);
2605 // if op = true implies condval = true
    [all...]
InstructionCombining.cpp 3486 APInt CondVal(1, isa<Constant>(SI->getFalseValue()) ? 0 : 1);
3487 C = Constant::getIntegerValue(I.getType(), CondVal);
3901 bool CondVal = cast<ConstantInt>(BI->getCondition())->getZExtValue();
3902 BasicBlock *ReachableBB = BI->getSuccessor(!CondVal);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopUnswitch.cpp 1215 // CondVal is the condition that controls the trivial condition.
1217 Constant *CondVal = nullptr;
1240 CondVal = ConstantInt::getTrue(Context);
1243 CondVal = ConstantInt::getFalse(Context);
1254 unswitchTrivialCondition(CurrentLoop, LoopCond, CondVal, LoopExitBB,
1287 CondVal = CaseVal;
1297 unswitchTrivialCondition(CurrentLoop, LoopCond, CondVal, LoopExitBB,
1301 BranchesInfo.setUnswitched(SI, CondVal);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
IRTranslator.cpp 576 const Value *CondVal = BrInst.getCondition();
599 const Instruction *CondI = dyn_cast<Instruction>(CondVal);
636 SwitchCG::CaseBlock CB(CmpInst::ICMP_EQ, false, CondVal,
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp 2360 const Value *CondVal = I.getCondition();
2380 const Instruction *BOp = dyn_cast<Instruction>(CondVal);
2425 CaseBlock CB(ISD::SETEQ, CondVal, ConstantInt::getTrue(*DAG.getContext()),
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGOpenMPRuntime.cpp 6731 llvm::Value *CondVal = nullptr;
6765 CondVal = CGF.EvaluateExprAsBool(Cond);
6802 if (CondVal) {
6803 NumThreads = CGF.Builder.CreateSelect(CondVal, NumThreads,
6924 llvm::Value *CondVal = nullptr;
6944 CondVal = CGF.EvaluateExprAsBool(Cond);
6971 if (CondVal)
6972 return Bld.CreateSelect(CondVal, ThreadLimitVal, Bld.getInt32(1));

Completed in 81 milliseconds