Home
last modified time | relevance | path

Searched refs:CondV (Results 1 – 20 of 20) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp571 Value *CondV = Cond->Codegen(); in Codegen() local
572 if (CondV == 0) in Codegen()
576 CondV = Builder.CreateFCmpONE( in Codegen()
577 CondV, ConstantFP::get(getGlobalContext(), APFloat(0.0)), "ifcond"); in Codegen()
588 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp679 Value *CondV = Cond->Codegen(); in Codegen() local
680 if (CondV == 0) in Codegen()
684 CondV = Builder.CreateFCmpONE( in Codegen()
685 CondV, ConstantFP::get(getGlobalContext(), APFloat(0.0)), "ifcond"); in Codegen()
696 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp739 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()
Dtoy.cpp1103 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/
Dtoy.cpp784 Value *CondV = Cond->Codegen(); in Codegen() local
785 if (CondV == 0) in Codegen()
789 CondV = Builder.CreateFCmpONE( in Codegen()
790 CondV, ConstantFP::get(getGlobalContext(), APFloat(0.0)), "ifcond"); in Codegen()
801 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp721 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()
Dtoy.cpp1001 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/initial/
Dtoy.cpp961 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/Chapter8/
Dtoy.cpp983 Value *CondV = Cond->Codegen(); in Codegen() local
984 if (CondV == 0) in Codegen()
988 CondV = Builder.CreateFCmpONE( in Codegen()
989 CondV, ConstantFP::get(getGlobalContext(), APFloat(0.0)), "ifcond"); in Codegen()
1000 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1181 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/
Dtoy.cpp846 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/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp846 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/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp846 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/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp847 Value *CondV = Cond->IRGen(C); in IRGen() local
848 if (!CondV) return nullptr; in IRGen()
853 CondV = C.getBuilder().CreateFCmpONE(CondV, FPZero, "ifcond"); in IRGen()
863 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
/external/llvm/docs/tutorial/
DLangImpl5.rst271 Value *CondV = Cond->Codegen();
272 if (CondV == 0) return 0;
275 CondV = Builder.CreateFCmpONE(CondV,
293 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp1195 llvm::Value *CondV; in EmitBranchOnBoolExpr() local
1198 CondV = EvaluateExprAsBool(Cond); in EmitBranchOnBoolExpr()
1200 Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights); in EmitBranchOnBoolExpr()
DCGStmt.cpp1564 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt() local
1571 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
DCGExprScalar.cpp3264 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local
3275 llvm::Value *TestMSB = Builder.CreateICmpSLT(CondV, zeroVec); in VisitAbstractConditionalOperator()
3309 llvm::Value *CondV = CGF.EvaluateExprAsBool(condExpr); in VisitAbstractConditionalOperator() local
3317 return Builder.CreateSelect(CondV, LHS, RHS, "cond"); in VisitAbstractConditionalOperator()
/external/llvm/lib/IR/
DConstantFold.cpp733 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/
DExprEngine.cpp1745 DefinedOrUnknownSVal CondV = CondV_untested.castAs<DefinedOrUnknownSVal>(); in processSwitch() local
1777 CondV, CaseVal); in processSwitch()
1786 if (CondV.getAs<nonloc::ConcreteInt>()) in processSwitch()