/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 596 Value *CondV = Cond->codegen(); in codegen() local 597 if (!CondV) in codegen() 601 CondV = Builder.CreateFCmpONE( in codegen() 602 CondV, ConstantFP::get(getGlobalContext(), APFloat(0.0)), "ifcond"); in codegen() 613 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 707 Value *CondV = Cond->codegen(); in codegen() local 708 if (!CondV) in codegen() 712 CondV = Builder.CreateFCmpONE( in codegen() 713 CondV, ConstantFP::get(getGlobalContext(), APFloat(0.0)), "ifcond"); in codegen() 724 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy-jit.cpp | 721 Value *CondV = Cond->Codegen(); in Codegen() local 722 if (CondV == 0) return 0; in Codegen() 725 CondV = Builder.CreateFCmpONE(CondV, in Codegen() 737 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
D | toy.cpp | 1001 Value *CondV = Cond->Codegen(); in Codegen() local 1002 if (CondV == 0) return 0; in Codegen() 1005 CondV = Builder.CreateFCmpONE(CondV, in Codegen() 1017 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy-jit.cpp | 739 Value *CondV = Cond->Codegen(); in Codegen() local 740 if (CondV == 0) return 0; in Codegen() 743 CondV = Builder.CreateFCmpONE(CondV, in Codegen() 755 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
D | toy.cpp | 1103 Value *CondV = Cond->Codegen(); in Codegen() local 1104 if (CondV == 0) return 0; in Codegen() 1107 CondV = Builder.CreateFCmpONE(CondV, in Codegen() 1119 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
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(getGlobalContext(), APFloat(0.0)), "ifcond"); in codegen() 829 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 961 Value *CondV = Cond->Codegen(); in Codegen() local 962 if (CondV == 0) return 0; in Codegen() 965 CondV = Builder.CreateFCmpONE(CondV, in Codegen() 977 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
D | toy.cpp | 845 Value *CondV = Cond->IRGen(C); in IRGen() local 846 if (!CondV) return nullptr; in IRGen() 851 CondV = C.getBuilder().CreateFCmpONE(CondV, FPZero, "ifcond"); in IRGen() 861 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
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(getGlobalContext(), APFloat(0.0)), "ifcond"); in codegen() 1020 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
D | toy.cpp | 1181 Value *CondV = Cond->Codegen(); in Codegen() local 1182 if (CondV == 0) return 0; in Codegen() 1185 CondV = Builder.CreateFCmpONE(CondV, in Codegen() 1197 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
D | toy.cpp | 845 Value *CondV = Cond->IRGen(C); in IRGen() local 846 if (!CondV) return nullptr; in IRGen() 851 CondV = C.getBuilder().CreateFCmpONE(CondV, FPZero, "ifcond"); in IRGen() 861 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
|
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
D | toy.cpp | 845 Value *CondV = Cond->IRGen(C); in IRGen() local 846 if (!CondV) return nullptr; in IRGen() 851 CondV = C.getBuilder().CreateFCmpONE(CondV, FPZero, "ifcond"); in IRGen() 861 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
|
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
D | toy.cpp | 846 Value *CondV = Cond->IRGen(C); in IRGen() local 847 if (!CondV) return nullptr; in IRGen() 852 CondV = C.getBuilder().CreateFCmpONE(CondV, FPZero, "ifcond"); in IRGen() 862 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
|
/external/llvm/docs/tutorial/ |
D | LangImpl5.rst | 289 Value *CondV = Cond->codegen(); 290 if (!CondV) 294 CondV = Builder.CreateFCmpONE( 295 CondV, ConstantFP::get(getGlobalContext(), APFloat(0.0)), "ifcond"); 312 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 1304 llvm::Value *CondV; in EmitBranchOnBoolExpr() local 1307 CondV = EvaluateExprAsBool(Cond); in EmitBranchOnBoolExpr() 1309 Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights, Unpredictable); in EmitBranchOnBoolExpr()
|
D | CGStmt.cpp | 1470 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt() local 1477 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
|
D | CGExprScalar.cpp | 3263 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local 3274 llvm::Value *TestMSB = Builder.CreateICmpSLT(CondV, zeroVec); in VisitAbstractConditionalOperator() 3308 llvm::Value *CondV = CGF.EvaluateExprAsBool(condExpr); in VisitAbstractConditionalOperator() local 3316 return Builder.CreateSelect(CondV, LHS, RHS, "cond"); in VisitAbstractConditionalOperator()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 733 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() local 735 Type *Ty = IntegerType::get(CondV->getContext(), 32); in ConstantFoldSelectInstruction() 742 Constant *Cond = dyn_cast<Constant>(CondV->getOperand(i)); in ConstantFoldSelectInstruction()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngine.cpp | 1791 DefinedOrUnknownSVal CondV = CondV_untested.castAs<DefinedOrUnknownSVal>(); in processSwitch() local 1817 if (Optional<NonLoc> NL = CondV.getAs<NonLoc>()) in processSwitch()
|