Searched refs:ifFalse (Results 1 - 18 of 18) sorted by relevance

/external/skia/src/sksl/ast/
H A DSkSLASTIfStatement.h20 std::unique_ptr<ASTStatement> ifTrue, std::unique_ptr<ASTStatement> ifFalse)
25 , fIfFalse(std::move(ifFalse)) {}
19 ASTIfStatement(int offset, bool isStatic, std::unique_ptr<ASTExpression> test, std::unique_ptr<ASTStatement> ifTrue, std::unique_ptr<ASTStatement> ifFalse) argument
H A DSkSLASTTernaryExpression.h16 * A ternary expression (test ? ifTrue : ifFalse).
21 std::unique_ptr<ASTExpression> ifFalse)
25 , fIfFalse(std::move(ifFalse)) {}
19 ASTTernaryExpression(std::unique_ptr<ASTExpression> test, std::unique_ptr<ASTExpression> ifTrue, std::unique_ptr<ASTExpression> ifFalse) argument
/external/skia/src/sksl/ir/
H A DSkSLIfStatement.h21 std::unique_ptr<Statement> ifTrue, std::unique_ptr<Statement> ifFalse)
26 , fIfFalse(std::move(ifFalse)) {}
20 IfStatement(int offset, bool isStatic, std::unique_ptr<Expression> test, std::unique_ptr<Statement> ifTrue, std::unique_ptr<Statement> ifFalse) argument
H A DSkSLTernaryExpression.h17 * A ternary expression (test ? ifTrue : ifFalse).
21 std::unique_ptr<Expression> ifTrue, std::unique_ptr<Expression> ifFalse)
25 , fIfFalse(std::move(ifFalse)) {
20 TernaryExpression(int offset, std::unique_ptr<Expression> test, std::unique_ptr<Expression> ifTrue, std::unique_ptr<Expression> ifFalse) argument
/external/skqp/src/sksl/ast/
H A DSkSLASTIfStatement.h20 std::unique_ptr<ASTStatement> ifTrue, std::unique_ptr<ASTStatement> ifFalse)
25 , fIfFalse(std::move(ifFalse)) {}
19 ASTIfStatement(int offset, bool isStatic, std::unique_ptr<ASTExpression> test, std::unique_ptr<ASTStatement> ifTrue, std::unique_ptr<ASTStatement> ifFalse) argument
H A DSkSLASTTernaryExpression.h16 * A ternary expression (test ? ifTrue : ifFalse).
21 std::unique_ptr<ASTExpression> ifFalse)
25 , fIfFalse(std::move(ifFalse)) {}
19 ASTTernaryExpression(std::unique_ptr<ASTExpression> test, std::unique_ptr<ASTExpression> ifTrue, std::unique_ptr<ASTExpression> ifFalse) argument
/external/skqp/src/sksl/ir/
H A DSkSLIfStatement.h21 std::unique_ptr<Statement> ifTrue, std::unique_ptr<Statement> ifFalse)
26 , fIfFalse(std::move(ifFalse)) {}
20 IfStatement(int offset, bool isStatic, std::unique_ptr<Expression> test, std::unique_ptr<Statement> ifTrue, std::unique_ptr<Statement> ifFalse) argument
H A DSkSLTernaryExpression.h17 * A ternary expression (test ? ifTrue : ifFalse).
21 std::unique_ptr<Expression> ifTrue, std::unique_ptr<Expression> ifFalse)
25 , fIfFalse(std::move(ifFalse)) {
20 TernaryExpression(int offset, std::unique_ptr<Expression> test, std::unique_ptr<Expression> ifTrue, std::unique_ptr<Expression> ifFalse) argument
/external/swiftshader/src/Reactor/
H A DNucleus.hpp70 static void createCondBr(Value *cond, BasicBlock *ifTrue, BasicBlock *ifFalse);
147 static Value *createSelect(Value *C, Value *ifTrue, Value *ifFalse);
H A DReactor.hpp2672 RValue<T> IfThenElse(RValue<Bool> condition, RValue<T> ifTrue, RValue<T> ifFalse) argument
2674 return RValue<T>(Nucleus::createSelect(condition.value, ifTrue.value, ifFalse.value));
2678 RValue<T> IfThenElse(RValue<Bool> condition, const T &ifTrue, RValue<T> ifFalse) argument
2682 return RValue<T>(Nucleus::createSelect(condition.value, trueValue, ifFalse.value));
2686 RValue<T> IfThenElse(RValue<Bool> condition, RValue<T> ifTrue, const T &ifFalse) argument
2688 Value *falseValue = ifFalse.loadValue();
2694 RValue<T> IfThenElse(RValue<Bool> condition, const T &ifTrue, const T &ifFalse) argument
2697 Value *falseValue = ifFalse.loadValue();
H A DSubzeroReactor.cpp687 void Nucleus::createCondBr(Value *cond, BasicBlock *ifTrue, BasicBlock *ifFalse)
689 auto br = Ice::InstBr::create(::function, cond, ifTrue, ifFalse);
1246 Value *Nucleus::createSelect(Value *C, Value *ifTrue, Value *ifFalse)
1248 assert(ifTrue->getType() == ifFalse->getType());
1251 auto *select = Ice::InstSelect::create(::function, result, C, ifTrue, ifFalse);
H A DLLVMReactor.cpp404 void Nucleus::createCondBr(Value *cond, BasicBlock *ifTrue, BasicBlock *ifFalse) argument
406 ::builder->CreateCondBr(cond, ifTrue, ifFalse);
812 Value *Nucleus::createSelect(Value *C, Value *ifTrue, Value *ifFalse) argument
814 return V(::builder->CreateSelect(C, ifTrue, ifFalse));
/external/skia/src/sksl/
H A DSkSLIRGenerator.cpp347 std::unique_ptr<Statement> ifFalse; local
349 ifFalse = this->convertStatement(*s.fIfFalse);
350 if (!ifFalse) {
359 return ifFalse;
368 std::move(ifTrue), std::move(ifFalse)));
1429 std::unique_ptr<Expression> ifFalse = this->convertExpression(*expression.fIfFalse); local
1430 if (!ifFalse) {
1436 if (!determine_binary_type(fContext, Token::EQEQ, ifTrue->fType, ifFalse->fType, &trueType,
1440 ifFalse->fType.fName + "'");
1447 ifFalse
[all...]
H A DSkSLParser.cpp1073 std::unique_ptr<ASTStatement> ifFalse; local
1075 ifFalse = this->statement();
1076 if (!ifFalse) {
1084 std::move(ifFalse)));
H A DSkSLSPIRVCodeGenerator.cpp1637 SpvId ifFalse = this->getLValue(*t.fIfFalse, out)->getPointer(); local
1638 ASSERT(ifFalse);
1643 ifTrueLabel, ifFalse, ifFalseLabel, out);
2645 SpvId ifFalse = this->nextId(); local
2649 this->writeInstruction(SpvOpBranchConditional, test, ifTrue, ifFalse, out);
2655 this->writeLabel(ifFalse, out);
2662 this->writeInstruction(SpvOpSelectionMerge, ifFalse, SpvSelectionControlMaskNone, out);
2663 this->writeInstruction(SpvOpBranchConditional, test, ifTrue, ifFalse, out);
2667 this->writeInstruction(SpvOpBranch, ifFalse, out);
2669 this->writeLabel(ifFalse, ou
[all...]
/external/skqp/src/sksl/
H A DSkSLIRGenerator.cpp348 std::unique_ptr<Statement> ifFalse; local
350 ifFalse = this->convertStatement(*s.fIfFalse);
351 if (!ifFalse) {
360 return ifFalse;
369 std::move(ifTrue), std::move(ifFalse)));
1428 std::unique_ptr<Expression> ifFalse = this->convertExpression(*expression.fIfFalse); local
1429 if (!ifFalse) {
1435 if (!determine_binary_type(fContext, Token::EQEQ, ifTrue->fType, ifFalse->fType, &trueType,
1439 ifFalse->fType.fName + "'");
1446 ifFalse
[all...]
H A DSkSLParser.cpp1073 std::unique_ptr<ASTStatement> ifFalse; local
1075 ifFalse = this->statement();
1076 if (!ifFalse) {
1084 std::move(ifFalse)));
H A DSkSLSPIRVCodeGenerator.cpp1629 SpvId ifFalse = this->getLValue(*t.fIfFalse, out)->getPointer(); local
1630 ASSERT(ifFalse);
1635 ifTrueLabel, ifFalse, ifFalseLabel, out);
2641 SpvId ifFalse = this->nextId(); local
2645 this->writeInstruction(SpvOpBranchConditional, test, ifTrue, ifFalse, out);
2651 this->writeLabel(ifFalse, out);
2658 this->writeInstruction(SpvOpSelectionMerge, ifFalse, SpvSelectionControlMaskNone, out);
2659 this->writeInstruction(SpvOpBranchConditional, test, ifTrue, ifFalse, out);
2663 this->writeInstruction(SpvOpBranch, ifFalse, out);
2665 this->writeLabel(ifFalse, ou
[all...]

Completed in 344 milliseconds