| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/ |
| H A D | toy.cpp | 623 Value *CondV = Cond->codegen(); in codegen() local 624 if (!CondV) in codegen() 628 CondV = Builder->CreateFCmpONE( in codegen() 629 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond"); in codegen() 639 Builder->CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
| H A D | toy-jit.cpp | 720 Value *CondV = Cond->Codegen(); in Codegen() local 721 if (CondV == 0) return 0; in Codegen() 724 CondV = Builder.CreateFCmpONE( in Codegen() 725 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen() 735 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
| H A D | toy.cpp | 1000 Value *CondV = Cond->Codegen(); in Codegen() local 1001 if (CondV == 0) return 0; in Codegen() 1004 CondV = Builder.CreateFCmpONE( in Codegen() 1005 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen() 1015 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | toy-jit.cpp | 738 Value *CondV = Cond->Codegen(); in Codegen() local 739 if (CondV == 0) return 0; in Codegen() 742 CondV = Builder.CreateFCmpONE( in Codegen() 743 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen() 753 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
| H A D | toy.cpp | 1102 Value *CondV = Cond->Codegen(); in Codegen() local 1103 if (CondV == 0) return 0; in Codegen() 1106 CondV = Builder.CreateFCmpONE( in Codegen() 1107 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen() 1117 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/ |
| H A D | toy.cpp | 735 Value *CondV = Cond->codegen(); in codegen() local 736 if (!CondV) in codegen() 740 CondV = Builder->CreateFCmpONE( in codegen() 741 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond"); in codegen() 751 Builder->CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/ |
| H A D | toy.cpp | 841 Value *CondV = Cond->codegen(); in codegen() local 842 if (!CondV) in codegen() 846 CondV = Builder->CreateFCmpONE( in codegen() 847 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond"); in codegen() 857 Builder->CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
| H A D | toy.cpp | 836 Value *CondV = Cond->codegen(); in codegen() local 837 if (!CondV) in codegen() 841 CondV = Builder->CreateFCmpONE( in codegen() 842 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond"); in codegen() 852 Builder->CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/ |
| H A D | toy.cpp | 842 Value *CondV = Cond->codegen(); in codegen() local 843 if (!CondV) in codegen() 847 CondV = Builder->CreateFCmpONE( in codegen() 848 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond"); in codegen() 858 Builder->CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
| H A D | toy.cpp | 836 Value *CondV = Cond->codegen(); in codegen() local 837 if (!CondV) in codegen() 841 CondV = Builder->CreateFCmpONE( in codegen() 842 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond"); in codegen() 852 Builder->CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
| H A D | toy.cpp | 836 Value *CondV = Cond->codegen(); in codegen() local 837 if (!CondV) in codegen() 841 CondV = Builder->CreateFCmpONE( in codegen() 842 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond"); in codegen() 852 Builder->CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
| H A D | toy.cpp | 819 Value *CondV = Cond->codegen(); in codegen() local 820 if (!CondV) in codegen() 824 CondV = Builder->CreateFCmpONE( in codegen() 825 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond"); in codegen() 835 Builder->CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/ |
| H A D | toy.cpp | 960 Value *CondV = Cond->Codegen(); in Codegen() local 961 if (CondV == 0) return 0; in Codegen() 964 CondV = Builder.CreateFCmpONE( in Codegen() 965 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen() 975 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/ |
| H A D | toy.cpp | 1010 Value *CondV = Cond->codegen(); in codegen() local 1011 if (!CondV) in codegen() 1015 CondV = Builder->CreateFCmpONE( in codegen() 1016 CondV, ConstantFP::get(*TheContext, APFloat(0.0)), "ifcond"); in codegen() 1026 Builder->CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | toy.cpp | 1180 Value *CondV = Cond->Codegen(); in Codegen() local 1181 if (CondV == 0) return 0; in Codegen() 1184 CondV = Builder.CreateFCmpONE( in Codegen() 1185 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen() 1195 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 694 Value *CondV = SelI->getCondition(); in matchLeftShift() local 703 if (!match(CondV, m_ICmp(P, m_And(m_Value(A), m_Value(B)), m_Value(C))) && in matchLeftShift() 704 !match(CondV, m_ICmp(P, m_Value(C), m_And(m_Value(A), m_Value(B))))) in matchLeftShift() 809 Value *CondV = SelI->getCondition(); in matchRightShift() local 819 if (match(CondV, m_ICmp(P, m_Value(C), m_Zero())) || in matchRightShift() 820 match(CondV, m_ICmp(P, m_Zero(), m_Value(C)))) { in matchRightShift() 826 } else if (match(CondV, m_ICmp(P, m_Value(C), m_One())) || in matchRightShift() 827 match(CondV, m_ICmp(P, m_One(), m_Value(C)))) { in matchRightShift()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 1783 llvm::Value *CondV; in EmitBranchOnBoolExpr() local 1786 CondV = EvaluateExprAsBool(Cond); in EmitBranchOnBoolExpr() 1806 llvm::Value *NewCondV = emitCondLikelihoodViaExpectIntrinsic(CondV, LH); in EmitBranchOnBoolExpr() 1807 if (CondV != NewCondV) in EmitBranchOnBoolExpr() 1808 CondV = NewCondV; in EmitBranchOnBoolExpr() 1815 Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights, Unpredictable); in EmitBranchOnBoolExpr()
|
| H A D | CGExprScalar.cpp | 4533 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local 4544 llvm::Value *TestMSB = Builder.CreateICmpSLT(CondV, zeroVec); in VisitAbstractConditionalOperator() 4572 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local 4580 CondV = Builder.CreateICmpNE(CondV, ZeroVec, "vector_cond"); in VisitAbstractConditionalOperator() 4581 return Builder.CreateSelect(CondV, LHS, RHS, "vector_select"); in VisitAbstractConditionalOperator() 4589 llvm::Value *CondV = CGF.EvaluateExprAsBool(condExpr); in VisitAbstractConditionalOperator() local 4590 llvm::Value *StepV = Builder.CreateZExtOrBitCast(CondV, CGF.Int64Ty); in VisitAbstractConditionalOperator() 4601 return Builder.CreateSelect(CondV, LHS, RHS, "cond"); in VisitAbstractConditionalOperator()
|
| H A D | CGStmt.cpp | 1852 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt() local 1859 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
| H A D | LangImpl05.rst | 290 Value *CondV = Cond->codegen(); 291 if (!CondV) 295 CondV = Builder.CreateFCmpONE( 296 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); 313 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 2661 SDValue CondV = Op.getOperand(0); in lowerSELECT() local 2673 if (Op.getSimpleValueType() == XLenVT && CondV.getOpcode() == ISD::SETCC && in lowerSELECT() 2674 CondV.getOperand(0).getSimpleValueType() == XLenVT) { in lowerSELECT() 2675 SDValue LHS = CondV.getOperand(0); in lowerSELECT() 2676 SDValue RHS = CondV.getOperand(1); in lowerSELECT() 2677 auto CC = cast<CondCodeSDNode>(CondV.getOperand(2)); in lowerSELECT() 2692 return DAG.getNode(ISD::ADD, DL, Op.getValueType(), CondV, FalseV); in lowerSELECT() 2694 return DAG.getNode(ISD::SUB, DL, Op.getValueType(), FalseV, CondV); in lowerSELECT() 2710 SDValue Ops[] = {CondV, Zero, SetNE, TrueV, FalseV}; in lowerSELECT() 2716 SDValue CondV = Op.getOperand(1); in lowerBRCOND() local [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 776 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() local 777 auto *V1VTy = CondV->getType(); in ConstantFoldSelectInstruction() 779 Type *Ty = IntegerType::get(CondV->getContext(), 32); in ConstantFoldSelectInstruction() 786 auto *Cond = cast<Constant>(CondV->getOperand(i)); in ConstantFoldSelectInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 2457 DefinedOrUnknownSVal CondV = CondV_untested.castAs<DefinedOrUnknownSVal>(); in processSwitch() local 2483 if (Optional<NonLoc> NL = CondV.getAs<NonLoc>()) in processSwitch()
|