Home
last modified time | relevance | path

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

/external/deqp-deps/glslang/glslang/MachineIndependent/
DIntermTraverse.cpp197 if (falseBlock) in traverse()
198 falseBlock->traverse(it); in traverse()
206 if (falseBlock) in traverse()
207 falseBlock->traverse(it); in traverse()
DIntermediate.cpp2286 … TIntermediate::addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, in addSelection() argument
2290 if (trueBlock->getBasicType() == EbtVoid && falseBlock->getBasicType() == EbtVoid) { in addSelection()
2291 TIntermNodePair pair = { trueBlock, falseBlock }; in addSelection()
2302 auto children = addConversion(EOpSequence, trueBlock, falseBlock); in addSelection()
2304 falseBlock = std::get<1>(children); in addSelection()
2306 if (trueBlock == nullptr || falseBlock == nullptr) in addSelection()
2315 falseBlock = addUniShapeConversion(EOpMix, targetVectorType, falseBlock); in addSelection()
2318 if (falseBlock->getType() != trueBlock->getType()) in addSelection()
2323 mix = growAggregate(mix, falseBlock); in addSelection()
2335 addBiShapeConversion(EOpMix, trueBlock, falseBlock); in addSelection()
[all …]
Dlocalintermediate.h478 …ddSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, const TSourceLo…
/external/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.cpp661 …ddSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, const TSourceLo… in addSelection() argument
663 if (trueBlock->getType() != falseBlock->getType()) in addSelection()
672 …if (cond->getAsConstantUnion() && trueBlock->getAsConstantUnion() && falseBlock->getAsConstantUnio… in addSelection()
676 return falseBlock; in addSelection()
682 TIntermSelection* node = new TIntermSelection(cond, trueBlock, falseBlock, trueBlock->getType()); in addSelection()
DParseHelper.cpp3709 …rySelection(TIntermTyped *cond, TIntermTyped *trueBlock, TIntermTyped *falseBlock, const TSourceLo… in addTernarySelection() argument
3714 if(trueBlock->getType() != falseBlock->getType()) in addTernarySelection()
3716 binaryOpError(loc, ":", trueBlock->getCompleteString(), falseBlock->getCompleteString()); in addTernarySelection()
3718 return falseBlock; in addTernarySelection()
3727 return falseBlock; in addTernarySelection()
3729 return intermediate.addSelection(cond, trueBlock, falseBlock, loc); in addTernarySelection()
DParseHelper.h240 …rySelection(TIntermTyped *cond, TIntermTyped *trueBlock, TIntermTyped *falseBlock, const TSourceLo…
/external/skia/src/sksl/
DSkSLJIT.cpp332 LLVMBasicBlockRef falseBlock = LLVMAppendBasicBlockInContext( in getLValue() local
339 LLVMBuildCondBr(builder, fTest, trueBlock, falseBlock); in getLValue()
343 fJIT.setBlock(builder, falseBlock); in getLValue()
350 LLVMBasicBlockRef incomingBlocks[2] = { trueBlock, falseBlock }; in getLValue()
360 LLVMBasicBlockRef falseBlock = LLVMAppendBasicBlockInContext( in getLValue() local
367 LLVMBuildCondBr(builder, fTest, trueBlock, falseBlock); in getLValue()
371 fJIT.setBlock(builder, falseBlock); in getLValue()
1004 LLVMBasicBlockRef falseBlock = LLVMAppendBasicBlockInContext(fContext, fCurrentFunction, in compileTernary() local
1006 LLVMBuildCondBr(builder, test, trueBlock, falseBlock); in compileTernary()
1011 this->setBlock(builder, falseBlock); in compileTernary()
[all …]
/external/skqp/src/sksl/
DSkSLJIT.cpp332 LLVMBasicBlockRef falseBlock = LLVMAppendBasicBlockInContext( in getLValue() local
339 LLVMBuildCondBr(builder, fTest, trueBlock, falseBlock); in getLValue()
343 fJIT.setBlock(builder, falseBlock); in getLValue()
350 LLVMBasicBlockRef incomingBlocks[2] = { trueBlock, falseBlock }; in getLValue()
360 LLVMBasicBlockRef falseBlock = LLVMAppendBasicBlockInContext( in getLValue() local
367 LLVMBuildCondBr(builder, fTest, trueBlock, falseBlock); in getLValue()
371 fJIT.setBlock(builder, falseBlock); in getLValue()
1004 LLVMBasicBlockRef falseBlock = LLVMAppendBasicBlockInContext(fContext, fCurrentFunction, in compileTernary() local
1006 LLVMBuildCondBr(builder, test, trueBlock, falseBlock); in compileTernary()
1011 this->setBlock(builder, falseBlock); in compileTernary()
[all …]
/external/swiftshader/src/Pipeline/
DVertexProgram.cpp1131 BasicBlock *falseBlock = ifFalseBlock[ifDepth]; in ELSE() local
1139 branch(notAllFalse, falseBlock, endBlock); in ELSE()
1146 Nucleus::setInsertBlock(falseBlock); in ELSE()
1252 BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IFb() local
1254 branch(condition, trueBlock, falseBlock); in IFb()
1257 ifFalseBlock[ifDepth] = falseBlock; in IFb()
1301 BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IF() local
1305 branch(notAllFalse, trueBlock, falseBlock); in IF()
1308 ifFalseBlock[ifDepth] = falseBlock; in IF()
DPixelProgram.cpp1479 BasicBlock *falseBlock = ifFalseBlock[ifDepth]; in ELSE() local
1487 branch(notAllFalse, falseBlock, endBlock); in ELSE()
1494 Nucleus::setInsertBlock(falseBlock); in ELSE()
1600 BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IFb() local
1602 branch(condition, trueBlock, falseBlock); in IFb()
1605 ifFalseBlock[ifDepth] = falseBlock; in IFb()
1649 BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IF() local
1653 branch(notAllFalse, trueBlock, falseBlock); in IF()
1656 ifFalseBlock[ifDepth] = falseBlock; in IF()
/external/swiftshader/src/Shader/
DVertexProgram.cpp1215 BasicBlock *falseBlock = ifFalseBlock[ifDepth]; in ELSE() local
1223 branch(notAllFalse, falseBlock, endBlock); in ELSE()
1230 Nucleus::setInsertBlock(falseBlock); in ELSE()
1336 BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IFb() local
1338 branch(condition, trueBlock, falseBlock); in IFb()
1341 ifFalseBlock[ifDepth] = falseBlock; in IFb()
1385 BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IF() local
1389 branch(notAllFalse, trueBlock, falseBlock); in IF()
1392 ifFalseBlock[ifDepth] = falseBlock; in IF()
DPixelProgram.cpp1510 BasicBlock *falseBlock = ifFalseBlock[ifDepth]; in ELSE() local
1518 branch(notAllFalse, falseBlock, endBlock); in ELSE()
1525 Nucleus::setInsertBlock(falseBlock); in ELSE()
1631 BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IFb() local
1633 branch(condition, trueBlock, falseBlock); in IFb()
1636 ifFalseBlock[ifDepth] = falseBlock; in IFb()
1680 BasicBlock *falseBlock = Nucleus::createBasicBlock(); in IF() local
1684 branch(notAllFalse, trueBlock, falseBlock); in IF()
1687 ifFalseBlock[ifDepth] = falseBlock; in IF()
/external/deqp-deps/glslang/glslang/Include/
Dintermediate.h1571 TIntermTyped(EbtVoid), condition(cond), trueBlock(trueB), falseBlock(falseB), in TIntermSelection()
1575 TIntermTyped(type), condition(cond), trueBlock(trueB), falseBlock(falseB), in TIntermSelection()
1581 virtual TIntermNode* getFalseBlock() const { return falseBlock; } in getFalseBlock()
1596 TIntermNode* falseBlock; variable