Home
last modified time | relevance | path

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

/external/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/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/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/clang/lib/CodeGen/
DCodeGenFunction.cpp619 llvm::Value *CondV = EvaluateExprAsBool(Cond); in EmitBranchOnBoolExpr() local
620 Builder.CreateCondBr(CondV, TrueBlock, FalseBlock); in EmitBranchOnBoolExpr()
DCGStmt.cpp1163 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt() local
1174 SwitchInsn = Builder.CreateSwitch(CondV, DefaultBlock); in EmitSwitchStmt()
DCGExprScalar.cpp2472 llvm::Value *CondV = CGF.EmitScalarExpr(condExpr); in VisitAbstractConditionalOperator() local
2487 llvm::Value *TestMSB = Builder.CreateICmpSLT(CondV, zeroVec); in VisitAbstractConditionalOperator()
2519 llvm::Value *CondV = CGF.EvaluateExprAsBool(condExpr); in VisitAbstractConditionalOperator() local
2522 return Builder.CreateSelect(CondV, LHS, RHS, "cond"); in VisitAbstractConditionalOperator()
/external/llvm/lib/VMCore/
DConstantFold.cpp700 if (ConstantVector* CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() local
702 if (CondV->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction()
718 ConstantInt* c = dyn_cast<ConstantInt>(CondV->getOperand(i)); in ConstantFoldSelectInstruction()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1087 DefinedOrUnknownSVal CondV = cast<DefinedOrUnknownSVal>(CondV_untested); in processSwitch() local
1131 CondV, CaseVal); in processSwitch()
1140 if (isa<nonloc::ConcreteInt>(CondV)) in processSwitch()