Lines Matching defs:vector

365 Id Builder::makeStructType(const std::vector<Id>& members, const char* name, bool const compilerGenerated)
405 std::vector<spv::Id> members;
535 Id Builder::makeGenericType(spv::Op opcode, std::vector<spv::IdImmediate>& operands)
617 Id Builder::makeFunctionType(Id returnType, const std::vector<Id>& paramTypes)
668 Id Builder::makeDebugFunctionType(Id returnType, const std::vector<Id>& paramTypes)
989 type->addIdOperand(debugId[vectorType]); // vector type id
1025 Id Builder::makeCompositeDebugType(std::vector<Id> const& memberTypes, char const*const name,
1029 std::vector<Id> memberDebugTypes;
1745 Id Builder::findCompositeConstant(Op typeClass, Id typeId, const std::vector<Id>& comps)
1772 Id Builder::findStructConstant(Id typeId, const std::vector<Id>& comps)
1797 Id Builder::makeCompositeConstant(Id typeId, const std::vector<Id>& members, bool specConstant)
1872 void Builder::addExecutionMode(Function* entryPoint, ExecutionMode mode, const std::vector<unsigned>& literals)
1887 void Builder::addExecutionModeId(Function* entryPoint, ExecutionMode mode, const std::vector<Id>& operandIds)
1948 void Builder::addDecoration(Id id, Decoration decoration, const std::vector<unsigned>& literals)
1962 void Builder::addDecoration(Id id, Decoration decoration, const std::vector<const char*>& strings)
1999 void Builder::addDecorationId(Id id, Decoration decoration, const std::vector<Id>& operandIds)
2043 void Builder::addMemberDecoration(Id id, unsigned int member, Decoration decoration, const std::vector<unsigned>& literals)
2058 void Builder::addMemberDecoration(Id id, unsigned int member, Decoration decoration, const std::vector<const char*>& strings)
2095 const std::vector<Id>& paramTypes,
2096 const std::vector<std::vector<Decoration>>& decorations, Block** entry)
2133 void Builder::setupDebugFunctionEntry(Function* function, const char* name, int line, const std::vector<Id>& paramTypes,
2134 const std::vector<char const*>& paramNames)
2333 void Builder::makeStatementTerminator(spv::Op opcode, const std::vector<Id>& operands, const char* name)
2463 Id Builder::createAccessChain(StorageClass storageClass, Id base, const std::vector<Id>& offsets)
2497 return createSpecConstantOp(OpCooperativeMatrixLengthKHR, intType, std::vector<Id>(1, type), std::vector<Id>());
2514 return createSpecConstantOp(OpCooperativeMatrixLengthNV, intType, std::vector<Id>(1, type), std::vector<Id>());
2529 return createSpecConstantOp(OpCompositeExtract, typeId, std::vector<Id>(1, composite),
2530 std::vector<Id>(1, index));
2540 Id Builder::createCompositeExtract(Id composite, Id typeId, const std::vector<unsigned>& indexes)
2545 return createSpecConstantOp(OpCompositeExtract, typeId, std::vector<Id>(1, composite), indexes);
2567 Id Builder::createCompositeInsert(Id object, Id composite, Id typeId, const std::vector<unsigned>& indexes)
2579 Id Builder::createVectorExtractDynamic(Id vector, Id typeId, Id componentIndex)
2582 extract->addIdOperand(vector);
2589 Id Builder::createVectorInsertDynamic(Id vector, Id typeId, Id component, Id componentIndex)
2592 insert->addIdOperand(vector);
2616 void Builder::createNoResultOp(Op opCode, const std::vector<Id>& operands)
2626 void Builder::createNoResultOp(Op opCode, const std::vector<IdImmediate>& operands)
2661 return createSpecConstantOp(opCode, typeId, std::vector<Id>(1, operand), std::vector<Id>());
2675 std::vector<Id> operands(2);
2677 return createSpecConstantOp(opCode, typeId, operands, std::vector<Id>());
2692 std::vector<Id> operands(3);
2697 opCode, typeId, operands, std::vector<Id>());
2708 Id Builder::createOp(Op opCode, Id typeId, const std::vector<Id>& operands)
2718 Id Builder::createOp(Op opCode, Id typeId, const std::vector<IdImmediate>& operands)
2732 Id Builder::createSpecConstantOp(Op opCode, Id typeId, const std::vector<Id>& operands,
2733 const std::vector<unsigned>& literals)
2755 Id Builder::createFunctionCall(spv::Function* function, const std::vector<spv::Id>& args)
2767 Id Builder::createRvalueSwizzle(Decoration precision, Id typeId, Id source, const std::vector<unsigned>& channels)
2773 std::vector<Id> operands(2);
2789 Id Builder::createLvalueSwizzle(Id typeId, Id target, Id source, const std::vector<unsigned>& channels)
2846 auto members = std::vector<spv::Id>(numComponents, scalar);
2847 // Sometime even in spec-constant-op mode, the temporary vector created by
2852 // In such cases, the temporary vector created from a_front_end_const_scalar
2853 // is not a spec constant vector, even though the binary operation node is marked
2868 Id Builder::createBuiltinCall(Id resultType, Id builtins, int entryPoint, const std::vector<Id>& args)
2886 std::vector<Id> texArgs;
3194 // vector
3197 // reduce vector compares...
3210 std::vector<unsigned> indexes(1, constituent);
3229 Id Builder::createCompositeConstruct(Id typeId, const std::vector<Id>& constituents)
3239 // The first column vector should be a spec constant one, as a_spec_const is a spec constant.
3240 // The second column vector should NOT be spec constant, as it does not contain any spec constants.
3241 // To handle such cases, we check the constituents of the constant vector to determine whether this
3242 // vector should be created as a spec constant.
3257 Id Builder::createConstructor(Decoration precision, const std::vector<Id>& sources, Id resultTypeId)
3263 // Special case: when calling a vector constructor with a single scalar
3269 std::vector<Id> constituents;
3281 // lambda to visit a vector argument's components
3289 std::vector<unsigned> swiz;
3309 std::vector<Id> indexes;
3334 // If the result is a vector, make it from the gathered constituents.
3342 Id Builder::createMatrixConstructor(Decoration precision, const std::vector<Id>& sources, Id resultTypeId)
3360 std::vector<unsigned> channels;
3364 std::vector<Id> matrixColumns;
3366 std::vector<unsigned> indexes;
3411 std::vector<unsigned> indexes;
3450 std::vector<Id> matrixColumns;
3452 std::vector<Id> vectorComponents;
3521 void Builder::makeSwitch(Id selector, unsigned int control, int numSegments, const std::vector<int>& caseValues,
3522 const std::vector<int>& valueIndexToSegment, int defaultSegment,
3523 std::vector<Block*>& segmentBlocks)
3562 void Builder::nextSwitchSegment(std::vector<Block*>& segmentBlock, int nextSegment)
3576 void Builder::endSwitch(std::vector<Block*>& /*segmentBlock*/)
3644 void Builder::accessChainPushSwizzle(std::vector<unsigned>& swizzle, Id preSwizzleBaseType,
3657 std::vector<unsigned> oldSwizzle = accessChain.swizzle;
3714 // If swizzle still exists, it may be out-of-order, we must load the target vector,
3745 std::vector<unsigned> indexes;
3832 // If swizzle exists, it is out-of-order or not full, we must load the target vector,
3874 void Builder::dump(std::vector<unsigned int>& out) const
3980 // build a vector of the swizzle for the component to map into
3981 std::vector<Id> components;
3997 // If the swizzle has fewer components than the vector, it is subsetting, and must stay
4079 const std::vector<unsigned int>& operands)
4105 std::vector<unsigned int>& out) const
4145 void Builder::dumpSourceInstructions(std::vector<unsigned int>& out) const
4153 void Builder::dumpInstructions(std::vector<unsigned int>& out,
4154 const std::vector<std::unique_ptr<Instruction> >& instructions) const
4161 void Builder::dumpModuleProcesses(std::vector<unsigned int>& out) const