/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 511 Value *CondV = Cond->Codegen(); in Codegen() local 512 if (CondV == 0) return 0; in Codegen() 515 CondV = Builder.CreateFCmpONE(CondV, in Codegen() 527 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 615 Value *CondV = Cond->Codegen(); in Codegen() local 616 if (CondV == 0) return 0; in Codegen() 619 CondV = Builder.CreateFCmpONE(CondV, in Codegen() 631 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 608 Value *CondV = Cond->codegen(); in codegen() local 609 if (!CondV) in codegen() 613 CondV = Builder.CreateFCmpONE( in codegen() 614 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen() 624 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 711 Value *CondV = Cond->Codegen(); in Codegen() local 712 if (CondV == 0) return 0; in Codegen() 715 CondV = Builder.CreateFCmpONE(CondV, in Codegen() 727 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
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()
|
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()
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
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()
|
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()
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 719 Value *CondV = Cond->codegen(); in codegen() local 720 if (!CondV) 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()
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
D | toy.cpp | 823 Value *CondV = Cond->codegen(); in codegen() local 824 if (!CondV) in codegen() 828 CondV = Builder.CreateFCmpONE( in codegen() 829 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen() 839 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
D | toy.cpp | 823 Value *CondV = Cond->codegen(); in codegen() local 824 if (!CondV) in codegen() 828 CondV = Builder.CreateFCmpONE( in codegen() 829 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen() 839 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
D | toy.cpp | 823 Value *CondV = Cond->codegen(); in codegen() local 824 if (!CondV) in codegen() 828 CondV = Builder.CreateFCmpONE( in codegen() 829 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen() 839 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
D | toy.cpp | 812 Value *CondV = Cond->codegen(); in codegen() local 813 if (!CondV) in codegen() 817 CondV = Builder.CreateFCmpONE( in codegen() 818 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen() 828 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
D | toy.cpp | 834 Value *CondV = Cond->codegen(); in codegen() local 835 if (!CondV) in codegen() 839 CondV = Builder.CreateFCmpONE( in codegen() 840 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen() 850 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
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()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 824 Value *CondV = Cond->codegen(); in codegen() local 825 if (!CondV) in codegen() 829 CondV = Builder.CreateFCmpONE( in codegen() 830 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen() 840 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
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()
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
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()
|
/external/llvm/examples/Kaleidoscope/Chapter9/ |
D | toy.cpp | 1003 Value *CondV = Cond->codegen(); in codegen() local 1004 if (!CondV) in codegen() 1008 CondV = Builder.CreateFCmpONE( in codegen() 1009 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen() 1019 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
/external/llvm/docs/tutorial/ |
D | LangImpl05.rst | 289 Value *CondV = Cond->codegen(); 290 if (!CondV) 294 CondV = Builder.CreateFCmpONE( 295 CondV, ConstantFP::get(LLVMContext, APFloat(0.0)), "ifcond"); 312 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 1373 llvm::Value *CondV; in EmitBranchOnBoolExpr() local 1376 CondV = EvaluateExprAsBool(Cond); in EmitBranchOnBoolExpr() 1378 Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights, Unpredictable); in EmitBranchOnBoolExpr()
|
D | CGStmt.cpp | 1530 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt() local 1537 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
|
D | CGExprScalar.cpp | 3252 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local 3263 llvm::Value *TestMSB = Builder.CreateICmpSLT(CondV, zeroVec); in VisitAbstractConditionalOperator() 3297 llvm::Value *CondV = CGF.EvaluateExprAsBool(condExpr); in VisitAbstractConditionalOperator() local 3305 return Builder.CreateSelect(CondV, LHS, RHS, "cond"); in VisitAbstractConditionalOperator()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 732 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() local 734 Type *Ty = IntegerType::get(CondV->getContext(), 32); in ConstantFoldSelectInstruction() 741 Constant *Cond = dyn_cast<Constant>(CondV->getOperand(i)); in ConstantFoldSelectInstruction()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 699 if (ConstantVector* CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() local 701 if (CondV->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction() 717 ConstantInt* c = dyn_cast<ConstantInt>(CondV->getOperand(i)); in ConstantFoldSelectInstruction()
|