Home
last modified time | relevance | path

Searched refs:Scalars (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/core/grappler/verifiers/
Dstructure_verifier_test.cc45 Status Scalars(shape_inference::InferenceContext* c) { in Scalars() function
52 REGISTER_OP("TestParams").Output("o: float").SetShapeFn(Scalars);
56 .SetShapeFn(Scalars);
61 .SetShapeFn(Scalars);
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp445 TreeEntry() : Scalars(), VectorizedValue(nullptr), in TreeEntry()
450 assert(VL.size() == Scalars.size() && "Invalid size"); in isSame()
451 return std::equal(VL.begin(), VL.end(), Scalars.begin()); in isSame()
455 ValueList Scalars; member
469 Last->Scalars.insert(Last->Scalars.begin(), VL.begin(), VL.end()); in newTreeEntry()
924 for (int Lane = 0, LE = Entry->Scalars.size(); Lane != LE; ++Lane) { in buildTree()
925 Value *Scalar = Entry->Scalars[Lane]; in buildTree()
942 Value *UseScalar = UseEntry->Scalars[0]; in buildTree()
1030 if (E->Scalars[i] != VL[i]) { in buildTree_rec()
1529 ArrayRef<Value*> VL = E->Scalars; in getEntryCost()
[all …]
DLoopVectorize.cpp2646 VectorParts Scalars; in scalarizeInstruction() local
2647 Scalars.append(UF, SrcOp); in scalarizeInstruction()
2648 Params.push_back(Scalars); in scalarizeInstruction()
6247 VectorParts Scalars; in scalarizeInstruction() local
6248 Scalars.append(UF, SrcOp); in scalarizeInstruction()
6249 Params.push_back(Scalars); in scalarizeInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp881 auto It = llvm::find(UserTE->Scalars, U); in getExternalUsesCost()
882 assert(It != UserTE->Scalars.end() && "U is in UserTE"); in getExternalUsesCost()
883 int UserLn = std::distance(UserTE->Scalars.begin(), It); in getExternalUsesCost()
1435 if (VL.size() == Scalars.size()) in isSame()
1436 return std::equal(VL.begin(), VL.end(), Scalars.begin()); in isSame()
1440 [this](Value *V, unsigned Idx) { return V == Scalars[Idx]; }); in isSame()
1444 ValueList Scalars; member
1490 Operands[OpIdx].resize(Scalars.size()); in setOperand()
1491 for (unsigned Lane = 0, E = Scalars.size(); Lane != E; ++Lane) in setOperand()
1498 auto *I0 = cast<Instruction>(Scalars[0]); in setOperandsInOrder()
[all …]
DLoopVectorize.cpp1050 auto Scalars = InstsToScalarize.find(VF); in isProfitableToScalarize() local
1051 assert(Scalars != InstsToScalarize.end() && in isProfitableToScalarize()
1053 return Scalars->second.find(I) != Scalars->second.end(); in isProfitableToScalarize()
1082 auto ScalarsPerVF = Scalars.find(VF); in isScalarAfterVectorization()
1083 assert(ScalarsPerVF != Scalars.end() && in isScalarAfterVectorization()
1414 DenseMap<unsigned, SmallPtrSet<Instruction *, 4>> Scalars; member in llvm::LoopVectorizationCostModel
1466 return Scalars.find(VF) == Scalars.end() || in needsExtract()
4419 assert(VF >= 2 && Scalars.find(VF) == Scalars.end() && in collectLoopScalars()
4598 Scalars[VF].insert(Worklist.begin(), Worklist.end()); in collectLoopScalars()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp631 VectorizableTree[0]->Scalars.size(); in bestOrder()
664 unsigned RootSize = VectorizableTree[0]->Scalars.size(); in findRootOrder()
986 auto It = llvm::find(UserTE->Scalars, U); in getExternalUsesCost()
987 assert(It != UserTE->Scalars.end() && "U is in UserTE"); in getExternalUsesCost()
988 int UserLn = std::distance(UserTE->Scalars.begin(), It); in getExternalUsesCost()
1541 if (VL.size() == Scalars.size()) in isSame()
1542 return std::equal(VL.begin(), VL.end(), Scalars.begin()); in isSame()
1546 [this](Value *V, int Idx) { return V == Scalars[Idx]; }); in isSame()
1550 ValueList Scalars; member
1598 Operands[OpIdx].resize(Scalars.size()); in setOperand()
[all …]
DLoopVectorize.cpp1313 auto Scalars = InstsToScalarize.find(VF); in isProfitableToScalarize() local
1314 assert(Scalars != InstsToScalarize.end() && in isProfitableToScalarize()
1316 return Scalars->second.find(I) != Scalars->second.end(); in isProfitableToScalarize()
1345 auto ScalarsPerVF = Scalars.find(VF); in isScalarAfterVectorization()
1346 assert(ScalarsPerVF != Scalars.end() && in isScalarAfterVectorization()
1600 Scalars.clear(); in invalidateCostModelingDecisions()
1707 DenseMap<ElementCount, SmallPtrSet<Instruction *, 4>> Scalars; member in llvm::LoopVectorizationCostModel
1765 return Scalars.find(VF) == Scalars.end() || in needsExtract()
4938 assert(VF.isVector() && Scalars.find(VF) == Scalars.end() && in collectLoopScalars()
5118 Scalars[VF].insert(Worklist.begin(), Worklist.end()); in collectLoopScalars()
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_StringJoin.pbtxt7 or be scalars. Scalars may be mixed in; these will be broadcast to the shape
/external/deqp-deps/glslang/Test/
Dspv.specConstantOperations.vert10 // Scalars
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dspv.specConstantOperations.vert10 // Scalars
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_constructor_test.cc181 Status Scalars(shape_inference::InferenceContext* c) { in Scalars() function
189 REGISTER_OP("TestParams").Output("o: float").SetShapeFn(Scalars);
193 .SetShapeFn(Scalars);
198 .SetShapeFn(Scalars);
204 .SetShapeFn(Scalars);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp1314 SmallVector<SDValue, 8> Scalars; in UnrollVectorOp_StrictFP() local
1348 Scalars.push_back(Scalar); in UnrollVectorOp_StrictFP()
1353 Scalars.push_back(DAG.getUNDEF(EltVT)); in UnrollVectorOp_StrictFP()
1361 return DAG.getBuildVector(VecVT, dl, Scalars); in UnrollVectorOp_StrictFP()
4144 SmallVector<SDValue, 8> Scalars(WidenNumElts, DAG.getUNDEF(EltVT)); in WidenVecRes_STRICT_FSETCC() local
4154 Scalars[i] = DAG.getNode(N->getOpcode(), dl, {MVT::i1, MVT::Other}, in WidenVecRes_STRICT_FSETCC()
4156 Chains[i] = Scalars[i].getValue(1); in WidenVecRes_STRICT_FSETCC()
4157 Scalars[i] = DAG.getSelect(dl, EltVT, Scalars[i], in WidenVecRes_STRICT_FSETCC()
4165 return DAG.getBuildVector(WidenVT, dl, Scalars); in WidenVecRes_STRICT_FSETCC()
4656 SmallVector<SDValue, 8> Scalars(NumElts); in WidenVecOp_STRICT_FSETCC() local
[all …]
DSelectionDAG.cpp9265 SmallVector<SDValue, 8> Scalars; in UnrollVectorOp() local
9293 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, Operands, in UnrollVectorOp()
9298 Scalars.push_back(getNode(ISD::SELECT, dl, EltVT, Operands)); in UnrollVectorOp()
9305 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, Operands[0], in UnrollVectorOp()
9311 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, in UnrollVectorOp()
9319 Scalars.push_back(getUNDEF(EltVT)); in UnrollVectorOp()
9322 return getBuildVector(VecVT, dl, Scalars); in UnrollVectorOp()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp1420 SmallVector<SDValue, 8> Scalars; in UnrollVectorOp_StrictFP() local
1452 Scalars.push_back(Scalar); in UnrollVectorOp_StrictFP()
1457 Scalars.push_back(DAG.getUNDEF(EltVT)); in UnrollVectorOp_StrictFP()
1465 return DAG.getBuildVector(VecVT, dl, Scalars); in UnrollVectorOp_StrictFP()
4310 SmallVector<SDValue, 8> Scalars(WidenNumElts, DAG.getUNDEF(EltVT)); in WidenVecRes_STRICT_FSETCC() local
4318 Scalars[i] = DAG.getNode(N->getOpcode(), dl, {MVT::i1, MVT::Other}, in WidenVecRes_STRICT_FSETCC()
4320 Chains[i] = Scalars[i].getValue(1); in WidenVecRes_STRICT_FSETCC()
4321 Scalars[i] = DAG.getSelect(dl, EltVT, Scalars[i], in WidenVecRes_STRICT_FSETCC()
4329 return DAG.getBuildVector(WidenVT, dl, Scalars); in WidenVecRes_STRICT_FSETCC()
4818 SmallVector<SDValue, 8> Scalars(NumElts); in WidenVecOp_STRICT_FSETCC() local
[all …]
/external/flatbuffers/docs/source/
DCUsage.md161 Scalars, structs and strings can be used as source, as well vectors of
DInternals.md373 ### Scalars subsection in FlexBuffers
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Dbroadcasting.md48 *Scalars* can always be broadcast over arrays without an explicit specification
/external/deqp-deps/amber/docs/
Dmemory_layout.md15 ## Scalars section in Memory Layout Examples
/external/skqp/docs/
Dundocumented.bmh717 #Alias Scalars ##
/external/llvm-project/llvm/docs/GlobalISel/
DLegalizer.rst276 Minimum Rules For Scalars
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp6898 SmallVector<SDValue, 8> Scalars; in UnrollVectorOp() local
6926 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, Operands, in UnrollVectorOp()
6931 Scalars.push_back(getNode(ISD::SELECT, dl, EltVT, Operands)); in UnrollVectorOp()
6938 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, Operands[0], in UnrollVectorOp()
6945 Scalars.push_back(getNode(N->getOpcode(), dl, EltVT, in UnrollVectorOp()
6953 Scalars.push_back(getUNDEF(EltVT)); in UnrollVectorOp()
6956 EVT::getVectorVT(*getContext(), EltVT, ResNE), Scalars); in UnrollVectorOp()
/external/llvm-project/llvm/docs/
DYamlIO.rst221 Scalars chapter
472 Block Scalars
/external/llvm/docs/
DYamlIO.rst221 Scalars chapter
472 Block Scalars
/external/mesa3d/docs/gallium/
Dtgsi.rst418 .. opcode:: PK2US - Pack Two Unsigned 16-bit Scalars
427 .. opcode:: PK4B - Pack Four Signed 8-bit Scalars
439 .. opcode:: PK4UB - Pack Four Unsigned 8-bit Scalars
604 .. opcode:: UP2US - Unpack Two Unsigned 16-Bit Scalars
620 .. opcode:: UP4UB - Unpack Four Unsigned 8-Bit Scalars
/external/llvm-project/mlir/test/Dialect/Shape/
Dcanonicalize.mlir736 // Scalars are safe to broadcast to unranked sizes.

12