Searched refs:BoolCondVal (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 712 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitWhileStmt() local 717 if (llvm::ConstantInt *C = dyn_cast<llvm::ConstantInt>(BoolCondVal)) in EmitWhileStmt() 728 Builder.CreateCondBr(BoolCondVal, LoopBody, ExitBlock, in EmitWhileStmt() 798 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitDoStmt() local 805 if (llvm::ConstantInt *C = dyn_cast<llvm::ConstantInt>(BoolCondVal)) in EmitDoStmt() 812 Builder.CreateCondBr(BoolCondVal, LoopBody, LoopExit.getBlock(), in EmitDoStmt() 882 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitForStmt() local 884 Builder.CreateCondBr(BoolCondVal, ForBody, ExitBlock, in EmitForStmt() 962 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitCXXForRangeStmt() local 964 BoolCondVal, ForBody, ExitBlock, PGO.createLoopWeights(S.getCond(), Cnt)); in EmitCXXForRangeStmt()
|
D | CGStmtOpenMP.cpp | 907 llvm::Value *BoolCondVal = nullptr; in EmitOMPForOuterLoop() local 914 BoolCondVal = EvaluateExprAsBool(S.getCond(false)); in EmitOMPForOuterLoop() 916 BoolCondVal = RT.emitForNext(*this, S.getLocStart(), IVSize, IVSigned, in EmitOMPForOuterLoop() 927 Builder.CreateCondBr(BoolCondVal, LoopBody, ExitBlock); in EmitOMPForOuterLoop()
|