Home
last modified time | relevance | path

Searched refs:VecPos (Results 1 – 3 of 3) sorted by relevance

/external/spirv-llvm/lib/SPIRV/
DOCL20ToSPIRV.cpp1391 std::vector<unsigned int> VecPos; in visitCallScalToVec() local
1397 VecPos.push_back(0); in visitCallScalToVec()
1400 VecPos.push_back(0); in visitCallScalToVec()
1404 VecPos.push_back(0); in visitCallScalToVec()
1405 VecPos.push_back(1); in visitCallScalToVec()
1408 VecPos.push_back(1); in visitCallScalToVec()
1411 VecPos.push_back(2); in visitCallScalToVec()
1420 Args.resize(VecPos.size() + ScalarPos.size()); in visitCallScalToVec()
1421 for (auto I : VecPos) { in visitCallScalToVec()
1425 CI->getOperand(VecPos[0])->getType()->getVectorNumElements(); in visitCallScalToVec()
[all …]
DSPIRVUtil.cpp777 size_t VecPos) { in expandVector() argument
778 auto Vec = Ops[VecPos]; in expandVector()
785 Ops.insert(Ops.begin() + VecPos + I, Builder.CreateExtractElement(Vec, in expandVector()
787 Ops.erase(Ops.begin() + VecPos + N); in expandVector()
DSPIRVInternal.h718 expandVector(Instruction *InsPos, std::vector<Value *> &Ops, size_t VecPos);