Home
last modified time | relevance | path

Searched refs:falseBlock (Results 1 – 19 of 19) sorted by relevance

/third_party/glslang/glslang/MachineIndependent/
DIntermTraverse.cpp204 if (falseBlock) in traverse()
205 falseBlock->traverse(it); in traverse()
213 if (falseBlock) in traverse()
214 falseBlock->traverse(it); in traverse()
DIntermediate.cpp2452 … TIntermediate::addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, in addSelection() argument
2456 if (trueBlock->getBasicType() == EbtVoid && falseBlock->getBasicType() == EbtVoid) { in addSelection()
2457 TIntermNodePair pair = { trueBlock, falseBlock }; in addSelection()
2468 auto children = addPairConversion(EOpSequence, trueBlock, falseBlock); in addSelection()
2470 falseBlock = std::get<1>(children); in addSelection()
2472 if (trueBlock == nullptr || falseBlock == nullptr) in addSelection()
2481 falseBlock = addUniShapeConversion(EOpMix, targetVectorType, falseBlock); in addSelection()
2484 if (falseBlock->getType() != trueBlock->getType()) in addSelection()
2489 mix = growAggregate(mix, falseBlock); in addSelection()
2501 addBiShapeConversion(EOpMix, trueBlock, falseBlock); in addSelection()
[all …]
Dlocalintermediate.h539 …ddSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, const TSourceLo…
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DIntermTraverse.cpp203 if (falseBlock) in traverse()
204 falseBlock->traverse(it); in traverse()
212 if (falseBlock) in traverse()
213 falseBlock->traverse(it); in traverse()
Dintermediate.h613 …TIntermTyped(TType(EbtVoid, EbpUndefined)), condition(cond), trueBlock(trueB), falseBlock(falseB) … in TIntermSelection()
615 TIntermTyped(type), condition(cond), trueBlock(trueB), falseBlock(falseB) in TIntermSelection()
625 TIntermNode* getFalseBlock() const { return falseBlock; } in getFalseBlock()
631 TIntermNode* falseBlock; variable
Dlocalintermediate.h43 …TIntermTyped* addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, …
DOutputASM.cpp1746 TIntermNode *falseBlock = node->getFalseBlock(); in visitSelection() local
1764 falseBlock->traverse(this); in visitSelection()
1765 copy(node, falseBlock); in visitSelection()
1771 falseBlock->traverse(this); in visitSelection()
1772 emit(sw::Shader::OPCODE_SELECT, node, condition, trueBlock, falseBlock); in visitSelection()
1784 if(falseBlock) in visitSelection()
1787 falseBlock->traverse(this); in visitSelection()
1788 copy(node, falseBlock); in visitSelection()
1809 if(falseBlock) in visitSelection()
1811 falseBlock->traverse(this); in visitSelection()
[all …]
DIntermediate.cpp659 …ddSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, const TSourceLo… in addSelection() argument
661 if (trueBlock->getType() != falseBlock->getType()) in addSelection()
670 …if (cond->getAsConstantUnion() && trueBlock->getAsConstantUnion() && falseBlock->getAsConstantUnio… in addSelection()
674 return falseBlock; in addSelection()
680 TIntermSelection* node = new TIntermSelection(cond, trueBlock, falseBlock, trueBlock->getType()); in addSelection()
DParseHelper.cpp3719 …rySelection(TIntermTyped *cond, TIntermTyped *trueBlock, TIntermTyped *falseBlock, const TSourceLo… in addTernarySelection() argument
3724 if(trueBlock->getType() != falseBlock->getType()) in addTernarySelection()
3726 binaryOpError(loc, ":", trueBlock->getCompleteString(), falseBlock->getCompleteString()); in addTernarySelection()
3728 return falseBlock; in addTernarySelection()
3737 return falseBlock; in addTernarySelection()
3739 return intermediate.addSelection(cond, trueBlock, falseBlock, loc); in addTernarySelection()
DParseHelper.h240 …rySelection(TIntermTyped *cond, TIntermTyped *trueBlock, TIntermTyped *falseBlock, const TSourceLo…
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DRewriteElseBlocks.cpp76 TIntermBlock *falseBlock = nullptr; in rewriteIfElse() local
99 falseBlock = EnsureBlock(falseIfElse); in rewriteIfElse()
104 new TIntermIfElse(conditionSymbolSel, ifElse->getTrueBlock(), falseBlock); in rewriteIfElse()
DUnfoldShortCircuitToIf.cpp156 TIntermBlock *falseBlock = new TIntermBlock(); in visitTernary() local
159 falseBlock->getSequence()->push_back(falseAssignment); in visitTernary()
162 new TIntermIfElse(node->getCondition()->getAsTyped(), trueBlock, falseBlock); in visitTernary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DReplaceClipCullDistanceVariable.cpp235 TIntermBlock *falseBlock = new TIntermBlock(); in assignFuncWithEnableFlags() local
236 falseBlock->appendStatement(zeroAssignment); in assignFuncWithEnableFlags()
238 return new TIntermIfElse(nonZero, trueBlock, falseBlock); in assignFuncWithEnableFlags()
/third_party/glslang/glslang/Include/
Dintermediate.h1730 TIntermTyped(EbtVoid), condition(cond), trueBlock(trueB), falseBlock(falseB), in TIntermSelection()
1734 TIntermTyped(type), condition(cond), trueBlock(trueB), falseBlock(falseB), in TIntermSelection()
1742 virtual TIntermNode* getFalseBlock() const { return falseBlock; } in getFalseBlock()
1743 virtual void setFalseBlock(TIntermTyped* fb) { falseBlock = fb; } in setFalseBlock()
1758 TIntermNode* falseBlock; variable
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DVertexProgram.cpp1229 BasicBlock *falseBlock = ifFalseBlock[ifDepth]; in ELSE() local
1237 branch(notAllFalse, falseBlock, endBlock); in ELSE()
1244 Nucleus::setInsertBlock(falseBlock); in ELSE()
1350 BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IFb() local
1352 branch(condition, trueBlock, falseBlock); in IFb()
1355 ifFalseBlock[ifDepth] = falseBlock; in IFb()
1399 BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IF() local
1403 branch(notAllFalse, trueBlock, falseBlock); in IF()
1406 ifFalseBlock[ifDepth] = falseBlock; in IF()
DPixelProgram.cpp1545 BasicBlock *falseBlock = ifFalseBlock[ifDepth]; in ELSE() local
1553 branch(notAllFalse, falseBlock, endBlock); in ELSE()
1560 Nucleus::setInsertBlock(falseBlock); in ELSE()
1666 BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IFb() local
1668 branch(condition, trueBlock, falseBlock); in IFb()
1671 ifFalseBlock[ifDepth] = falseBlock; in IFb()
1715 BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IF() local
1719 branch(notAllFalse, trueBlock, falseBlock); in IF()
1722 ifFalseBlock[ifDepth] = falseBlock; in IF()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DBuildSPIRV.h366 spirv::IdRef falseBlock,
DBuildSPIRV.cpp1789 spirv::IdRef falseBlock, in writeBranchConditional() argument
1800 falseBlock, {}); in writeBranchConditional()
DOutputSPIRV.cpp1964 const spirv::IdRef falseBlock = node->getOp() == EOpLogicalOr ? ifBlock : mergeBlock; in startShortCircuit() local
1968 mBuilder.writeBranchConditional(left, trueBlock, falseBlock, mergeBlock); in startShortCircuit()
5251 spirv::IdRef falseBlock = mergeBlock; in visitIfElse() local
5260 falseBlock = conditional->blockIds[nextBlockIndex++]; in visitIfElse()
5263 mBuilder.writeBranchConditional(conditionValue, trueBlock, falseBlock, mergeBlock); in visitIfElse()