Home
last modified time | relevance | path

Searched refs:NumParts (Results 1 – 25 of 28) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp46 unsigned NumParts = Size / NarrowSize; in getNarrowTypeBreakDown() local
47 unsigned LeftoverSize = Size - NumParts * NarrowSize; in getNarrowTypeBreakDown()
51 return {NumParts, 0}; in getNarrowTypeBreakDown()
63 return std::make_pair(NumParts, NumLeftover); in getNarrowTypeBreakDown()
123 void LegalizerHelper::extractParts(Register Reg, LLT Ty, int NumParts, in extractParts() argument
125 for (int i = 0; i < NumParts; ++i) in extractParts()
138 unsigned NumParts = RegSize / MainSize; in extractParts() local
139 unsigned LeftoverSize = RegSize - NumParts * MainSize; in extractParts()
143 for (unsigned I = 0; I < NumParts; ++I) in extractParts()
159 for (unsigned I = 0; I != NumParts; ++I) { in extractParts()
[all …]
DCallLowering.cpp202 unsigned NumParts = TLI->getNumRegistersForCallingConv( in handleAssignments() local
204 if (NumParts > 1) { in handleAssignments()
206 if (NewVT.getSizeInBits() * NumParts != CurVT.getSizeInBits()) in handleAssignments()
219 if (NumParts == 1) { in handleAssignments()
235 for (unsigned Part = 0; Part < NumParts; ++Part) { in handleAssignments()
243 if (Part == NumParts - 1) in handleAssignments()
257 if (NumParts < 2) in handleAssignments()
265 assert(Unmerge->getNumOperands() == NumParts + 1); in handleAssignments()
270 for (unsigned PartIdx = 0; PartIdx < NumParts; ++PartIdx) { in handleAssignments()
276 if (PartIdx == NumParts - 1) in handleAssignments()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp242 unsigned NumParts = TLI->getNumRegistersForCallingConv( in handleAssignments() local
244 if (NumParts > 1) { in handleAssignments()
246 if (NewVT.getSizeInBits() * NumParts != CurVT.getSizeInBits()) in handleAssignments()
259 if (NumParts == 1) { in handleAssignments()
275 for (unsigned Part = 0; Part < NumParts; ++Part) { in handleAssignments()
283 if (Part == NumParts - 1) in handleAssignments()
297 if (NumParts < 2) in handleAssignments()
305 assert(Unmerge->getNumOperands() == NumParts + 1); in handleAssignments()
310 for (unsigned PartIdx = 0; PartIdx < NumParts; ++PartIdx) { in handleAssignments()
316 if (PartIdx == NumParts - 1) in handleAssignments()
DLegalizerHelper.cpp48 unsigned NumParts = Size / NarrowSize; in getNarrowTypeBreakDown() local
49 unsigned LeftoverSize = Size - NumParts * NarrowSize; in getNarrowTypeBreakDown()
53 return {NumParts, 0}; in getNarrowTypeBreakDown()
65 return std::make_pair(NumParts, NumLeftover); in getNarrowTypeBreakDown()
149 void LegalizerHelper::extractParts(Register Reg, LLT Ty, int NumParts, in extractParts() argument
151 for (int i = 0; i < NumParts; ++i) in extractParts()
164 unsigned NumParts = RegSize / MainSize; in extractParts() local
165 unsigned LeftoverSize = RegSize - NumParts * MainSize; in extractParts()
169 for (unsigned I = 0; I < NumParts; ++I) in extractParts()
185 for (unsigned I = 0; I != NumParts; ++I) { in extractParts()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp120 const SDValue *Parts, unsigned NumParts,
129 const SDValue *Parts, unsigned NumParts, in getCopyFromParts() argument
133 return getCopyFromPartsVector(DAG, DL, Parts, NumParts, in getCopyFromParts()
136 assert(NumParts > 0 && "No parts to assemble!"); in getCopyFromParts()
140 if (NumParts > 1) { in getCopyFromParts()
147 unsigned RoundParts = NumParts & (NumParts - 1) ? in getCopyFromParts()
148 1 << Log2_32(NumParts) : NumParts; in getCopyFromParts()
171 if (RoundParts < NumParts) { in getCopyFromParts()
173 unsigned OddParts = NumParts - RoundParts; in getCopyFromParts()
182 EVT TotalVT = EVT::getIntegerVT(*DAG.getContext(), NumParts * PartBits); in getCopyFromParts()
[all …]
/external/llvm-project/libcxx/benchmarks/
Dfilesystem.bench.cpp139 static fs::path getRandomPaths(int NumParts, int PathLen) { in getRandomPaths() argument
141 while (NumParts--) { in getRandomPaths()
/external/libcxx/benchmarks/
Dfilesystem.bench.cpp139 static fs::path getRandomPaths(int NumParts, int PathLen) { in getRandomPaths() argument
141 while (NumParts--) { in getRandomPaths()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp195 const SDValue *Parts, unsigned NumParts,
205 const SDValue *Parts, unsigned NumParts, in getCopyFromParts() argument
210 return getCopyFromPartsVector(DAG, DL, Parts, NumParts, PartVT, ValueVT, V, in getCopyFromParts()
213 assert(NumParts > 0 && "No parts to assemble!"); in getCopyFromParts()
217 if (NumParts > 1) { in getCopyFromParts()
225 (NumParts & (NumParts - 1)) ? 1 << Log2_32(NumParts) : NumParts; in getCopyFromParts()
248 if (RoundParts < NumParts) { in getCopyFromParts()
250 unsigned OddParts = NumParts - RoundParts; in getCopyFromParts()
259 EVT TotalVT = EVT::getIntegerVT(*DAG.getContext(), NumParts * PartBits); in getCopyFromParts()
283 Val = getCopyFromParts(DAG, DL, Parts, NumParts, PartVT, IntVT, V, CC); in getCopyFromParts()
[all …]
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp155 const SDValue *Parts, unsigned NumParts,
165 const SDValue *Parts, unsigned NumParts, in getCopyFromParts() argument
171 if (SDValue Val = TLI.joinRegisterPartsIntoValue(DAG, DL, Parts, NumParts, in getCopyFromParts()
176 return getCopyFromPartsVector(DAG, DL, Parts, NumParts, PartVT, ValueVT, V, in getCopyFromParts()
179 assert(NumParts > 0 && "No parts to assemble!"); in getCopyFromParts()
182 if (NumParts > 1) { in getCopyFromParts()
190 (NumParts & (NumParts - 1)) ? 1 << Log2_32(NumParts) : NumParts; in getCopyFromParts()
213 if (RoundParts < NumParts) { in getCopyFromParts()
215 unsigned OddParts = NumParts - RoundParts; in getCopyFromParts()
224 EVT TotalVT = EVT::getIntegerVT(*DAG.getContext(), NumParts * PartBits); in getCopyFromParts()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CallLowering.cpp70 unsigned NumParts = TLI.getNumRegisters(Context, VT); in splitToValueTypes() local
72 if (NumParts == 1) { in splitToValueTypes()
84 for (unsigned i = 0; i < NumParts; ++i) { in splitToValueTypes()
/external/llvm-project/llvm/lib/Target/X86/
DX86CallLowering.cpp70 unsigned NumParts = TLI.getNumRegisters(Context, VT); in splitToValueTypes() local
72 if (NumParts == 1) { in splitToValueTypes()
84 for (unsigned i = 0; i < NumParts; ++i) { in splitToValueTypes()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp605 unsigned NumParts = getNumVectorRegs(SrcTy); in getVectorTruncCost() local
606 if (NumParts <= 2) in getVectorTruncCost()
618 if (NumParts > 1) in getVectorTruncCost()
619 NumParts /= 2; in getVectorTruncCost()
620 Cost += NumParts; in getVectorTruncCost()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp572 unsigned NumParts = getNumVectorRegs(SrcTy); in getVectorTruncCost() local
573 if (NumParts <= 2) in getVectorTruncCost()
585 if (NumParts > 1) in getVectorTruncCost()
586 NumParts /= 2; in getVectorTruncCost()
587 Cost += NumParts; in getVectorTruncCost()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp170 unsigned NumParts = TLI.getNumRegistersForCallingConv(Ctx, CallConv, VT); in splitToValueTypes() local
175 if (NumParts == 1) { in splitToValueTypes()
195 for (unsigned i = 0; i < NumParts; ++i) { in splitToValueTypes()
/external/llvm-project/clang/utils/TableGen/
DMveEmitter.cpp1751 constexpr unsigned NumParts = 4; in EmitHeader() local
1752 raw_self_contained_string_ostream parts[NumParts]; in EmitHeader()
1907 for (size_t i = 0; i < NumParts; ++i) { in EmitHeader()
2015 constexpr unsigned NumParts = 3; in EmitHeader() local
2016 raw_self_contained_string_ostream parts[NumParts]; in EmitHeader()
2117 for (size_t i = 0; i < NumParts; ++i) { in EmitHeader()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerHelper.h144 void extractParts(Register Reg, LLT Ty, int NumParts,
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerHelper.h179 void extractParts(Register Reg, LLT Ty, int NumParts,
/external/llvm-project/llvm/lib/Target/ARM/
DARMISelLowering.h830 SDValue *Parts, unsigned NumParts, MVT PartVT,
835 const SDValue *Parts, unsigned NumParts,
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp329 unsigned NumParts = TLI.getNumRegistersForCallingConv(Ctx, CallConv, VT); in splitToValueTypes() local
332 if (NumParts == 1) { in splitToValueTypes()
348 for (unsigned i = 0; i < NumParts; ++i) { in splitToValueTypes()
DSIRegisterInfo.cpp1931 const unsigned NumParts = RegDWORDs / EltDWORDs; in getRegSplitParts() local
1933 return makeArrayRef(Parts.data(), NumParts); in getRegSplitParts()
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64LegalizerInfo.cpp724 MachineIRBuilder &MIRBuilder, LLT Ty, int NumParts, in extractParts() argument
726 for (int I = 0; I < NumParts; ++I) in extractParts()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1494 unsigned NumParts = in GetReturnInfo() local
1510 for (unsigned i = 0; i < NumParts; ++i) in GetReturnInfo()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1596 unsigned NumParts = TLI.getNumRegisters(ReturnType->getContext(), VT); in GetReturnInfo() local
1610 for (unsigned i = 0; i < NumParts; ++i) in GetReturnInfo()
/external/llvm-project/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1678 unsigned NumParts = in GetReturnInfo() local
1694 for (unsigned i = 0; i < NumParts; ++i) in GetReturnInfo()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp1180 unsigned NumParts = TTI->getNumberOfParts(Tys[i]); in areInstsCompatible() local
1181 if (NumParts > 1) in areInstsCompatible()
1183 else if (!NumParts && VCost == ICost + JCost) in areInstsCompatible()

12