Searched refs:Consts (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | R600EmitClauseMarkers.cpp | 138 const SmallVectorImpl<std::pair<MachineOperand *, int64_t>> &Consts = in SubstituteKCacheBank() local 143 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank() 144 if (Consts[i].first->getReg() != R600::ALU_CONST) in SubstituteKCacheBank() 146 unsigned Sel = Consts[i].second; in SubstituteKCacheBank() 174 for (unsigned i = 0, j = 0, n = Consts.size(); i < n; ++i) { in SubstituteKCacheBank() 175 if (Consts[i].first->getReg() != R600::ALU_CONST) in SubstituteKCacheBank() 179 Consts[i].first->setReg( in SubstituteKCacheBank() 183 Consts[i].first->setReg( in SubstituteKCacheBank()
|
| H A D | R600InstrInfo.cpp | 584 R600InstrInfo::fitsConstReadLimitations(const std::vector<unsigned> &Consts) in fitsConstReadLimitations() 586 assert (Consts.size() <= 12 && "Too many operands in instructions group"); in fitsConstReadLimitations() 588 for (unsigned i = 0, n = Consts.size(); i < n; ++i) { in fitsConstReadLimitations() 589 unsigned ReadConstHalf = Consts[i] & 2; in fitsConstReadLimitations() 590 unsigned ReadConstIndex = Consts[i] & (~3); in fitsConstReadLimitations() 611 std::vector<unsigned> Consts; in fitsConstReadLimitations() local 624 Consts.push_back(Src.second); in fitsConstReadLimitations() 629 Consts.push_back((Index << 2) | Chan); in fitsConstReadLimitations() 633 return fitsConstReadLimitations(Consts); in fitsConstReadLimitations()
|
| H A D | R600ISelLowering.cpp | 2119 std::vector<unsigned> Consts; in FoldOperand() local 2133 Consts.push_back(Cst->getZExtValue()); in FoldOperand() 2139 Consts.push_back(Cst->getZExtValue()); in FoldOperand() 2140 if (!TII->fitsConstReadLimitations(Consts)) { in FoldOperand()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 2067 MutableArrayRef<ConstantInt*> Consts) const { in getBuildVectorConstInts() 2076 Consts[i] = ConstantInt::get(IntTy, 0); in getBuildVectorConstInts() 2086 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue()); in getBuildVectorConstInts() 2100 SmallVector<ConstantInt*,4> Consts(Elem.size()); in buildVector32() local 2117 uint32_t V = (Consts[0]->getZExtValue() & 0xFFFF) | in buildVector32() 2118 Consts[1]->getZExtValue() << 16; in buildVector32() 2129 int32_t V = (Consts[0]->getZExtValue() & 0xFF) | in buildVector32() 2130 (Consts[1]->getZExtValue() & 0xFF) << 8 | in buildVector32() 2131 (Consts[1]->getZExtValue() & 0xFF) << 16 | in buildVector32() 2132 Consts[2]->getZExtValue() << 24; in buildVector32() [all …]
|
| H A D | HexagonISelLoweringHVX.cpp | 391 SmallVector<ConstantInt*, 128> Consts(VecLen); in buildHvxVectorReg() local 392 bool AllConst = getBuildVectorConstInts(Values, VecTy, DAG, Consts); in buildHvxVectorReg() 394 ArrayRef<Constant*> Tmp((Constant**)Consts.begin(), in buildHvxVectorReg() 395 (Constant**)Consts.end()); in buildHvxVectorReg()
|
| H A D | HexagonISelLowering.h | 334 MutableArrayRef<ConstantInt*> Consts) const;
|