Home
last modified time | relevance | path

Searched refs:ifFalse (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/sksl/ast/
DSkSLASTTernaryExpression.h21 std::unique_ptr<ASTExpression> ifFalse) in ASTTernaryExpression()
25 , fIfFalse(std::move(ifFalse)) {} in ASTTernaryExpression()
DSkSLASTIfStatement.h20 std::unique_ptr<ASTStatement> ifTrue, std::unique_ptr<ASTStatement> ifFalse) in ASTIfStatement()
25 , fIfFalse(std::move(ifFalse)) {} in ASTIfStatement()
/external/skia/src/sksl/ir/
DSkSLIfStatement.h21 std::unique_ptr<Statement> ifTrue, std::unique_ptr<Statement> ifFalse) in IfStatement()
26 , fIfFalse(std::move(ifFalse)) {} in IfStatement()
DSkSLTernaryExpression.h21 std::unique_ptr<Expression> ifTrue, std::unique_ptr<Expression> ifFalse) in TernaryExpression()
25 , fIfFalse(std::move(ifFalse)) { in TernaryExpression()
/external/skia/src/sksl/
DSkSLIRGenerator.cpp321 std::unique_ptr<Statement> ifFalse; in convertIf() local
323 ifFalse = this->convertStatement(*s.fIfFalse); in convertIf()
324 if (!ifFalse) { in convertIf()
333 return ifFalse; in convertIf()
342 std::move(ifTrue), std::move(ifFalse))); in convertIf()
1256 std::unique_ptr<Expression> ifFalse = this->convertExpression(*expression.fIfFalse); in convertTernaryExpression() local
1257 if (!ifFalse) { in convertTernaryExpression()
1263 if (!determine_binary_type(fContext, Token::EQEQ, ifTrue->fType, ifFalse->fType, &trueType, in convertTernaryExpression()
1267 ifFalse->fType.fName + "'"); in convertTernaryExpression()
1274 ifFalse = this->coerce(std::move(ifFalse), *falseType); in convertTernaryExpression()
[all …]
DSkSLParser.cpp1006 std::unique_ptr<ASTStatement> ifFalse; in ifStatement() local
1008 ifFalse = this->statement(); in ifStatement()
1009 if (!ifFalse) { in ifStatement()
1017 std::move(ifFalse))); in ifStatement()
DSkSLSPIRVCodeGenerator.cpp2874 SpvId ifFalse = this->nextId(); in writeIfStatement() local
2878 this->writeInstruction(SpvOpBranchConditional, test, ifTrue, ifFalse, out); in writeIfStatement()
2884 this->writeLabel(ifFalse, out); in writeIfStatement()
2891 this->writeInstruction(SpvOpSelectionMerge, ifFalse, SpvSelectionControlMaskNone, out); in writeIfStatement()
2892 this->writeInstruction(SpvOpBranchConditional, test, ifTrue, ifFalse, out); in writeIfStatement()
2896 this->writeInstruction(SpvOpBranch, ifFalse, out); in writeIfStatement()
2898 this->writeLabel(ifFalse, out); in writeIfStatement()
/external/swiftshader/src/Reactor/
DNucleus.hpp70 static void createCondBr(Value *cond, BasicBlock *ifTrue, BasicBlock *ifFalse);
147 static Value *createSelect(Value *C, Value *ifTrue, Value *ifFalse);
DReactor.hpp2670 RValue<T> IfThenElse(RValue<Bool> condition, RValue<T> ifTrue, RValue<T> ifFalse) in IfThenElse() argument
2672 return RValue<T>(Nucleus::createSelect(condition.value, ifTrue.value, ifFalse.value)); in IfThenElse()
2676 RValue<T> IfThenElse(RValue<Bool> condition, const T &ifTrue, RValue<T> ifFalse) in IfThenElse() argument
2680 return RValue<T>(Nucleus::createSelect(condition.value, trueValue, ifFalse.value)); in IfThenElse()
2684 RValue<T> IfThenElse(RValue<Bool> condition, RValue<T> ifTrue, const T &ifFalse) in IfThenElse() argument
2686 Value *falseValue = ifFalse.loadValue(); in IfThenElse()
2692 RValue<T> IfThenElse(RValue<Bool> condition, const T &ifTrue, const T &ifFalse) in IfThenElse() argument
2695 Value *falseValue = ifFalse.loadValue(); in IfThenElse()
DSubzeroReactor.cpp687 void Nucleus::createCondBr(Value *cond, BasicBlock *ifTrue, BasicBlock *ifFalse) in createCondBr() argument
689 auto br = Ice::InstBr::create(::function, cond, ifTrue, ifFalse); in createCondBr()
1246 Value *Nucleus::createSelect(Value *C, Value *ifTrue, Value *ifFalse) in createSelect() argument
1248 assert(ifTrue->getType() == ifFalse->getType()); in createSelect()
1251 auto *select = Ice::InstSelect::create(::function, result, C, ifTrue, ifFalse); in createSelect()
DLLVMReactor.cpp404 void Nucleus::createCondBr(Value *cond, BasicBlock *ifTrue, BasicBlock *ifFalse) in createCondBr() argument
406 ::builder->CreateCondBr(cond, ifTrue, ifFalse); in createCondBr()
812 Value *Nucleus::createSelect(Value *C, Value *ifTrue, Value *ifFalse) in createSelect() argument
814 return V(::builder->CreateSelect(C, ifTrue, ifFalse)); in createSelect()