Home
last modified time | relevance | path

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

/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp596 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/
Dtoy.cpp707 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/
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/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.cpp812 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/
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/Orc/lazy_codegen/
Dtoy.cpp845 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/
Dtoy.cpp1003 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/
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.cpp845 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/
Dtoy.cpp845 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/
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/docs/tutorial/
DLangImpl5.rst289 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/
DCodeGenFunction.cpp1304 llvm::Value *CondV; in EmitBranchOnBoolExpr() local
1307 CondV = EvaluateExprAsBool(Cond); in EmitBranchOnBoolExpr()
1309 Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights, Unpredictable); in EmitBranchOnBoolExpr()
DCGStmt.cpp1470 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt() local
1477 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
DCGExprScalar.cpp3263 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/
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.cpp1791 DefinedOrUnknownSVal CondV = CondV_untested.castAs<DefinedOrUnknownSVal>(); in processSwitch() local
1817 if (Optional<NonLoc> NL = CondV.getAs<NonLoc>()) in processSwitch()