Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/
Dtoy.cpp511 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/
Dtoy.cpp615 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/
Dtoy.cpp608 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/
Dtoy.cpp711 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/
Dtoy-jit.cpp738 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()
Dtoy.cpp1102 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/
Dtoy-jit.cpp720 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()
Dtoy.cpp1000 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/
Dtoy.cpp719 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/
Dtoy.cpp823 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/
Dtoy.cpp823 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/
Dtoy.cpp823 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/
Dtoy.cpp812 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/
Dtoy.cpp834 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/
Dtoy.cpp819 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/
Dtoy.cpp824 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/
Dtoy.cpp960 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/
Dtoy.cpp1180 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/
Dtoy.cpp1003 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/
DLangImpl05.rst289 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/
DCodeGenFunction.cpp1373 llvm::Value *CondV; in EmitBranchOnBoolExpr() local
1376 CondV = EvaluateExprAsBool(Cond); in EmitBranchOnBoolExpr()
1378 Builder.CreateCondBr(CondV, TrueBlock, FalseBlock, Weights, Unpredictable); in EmitBranchOnBoolExpr()
DCGStmt.cpp1530 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt() local
1537 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
DCGExprScalar.cpp3252 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/
DConstantFold.cpp732 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/
DConstantFold.cpp699 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()

12