Searched refs:Consts (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600EmitClauseMarkers.cpp137 const SmallVectorImpl<std::pair<MachineOperand *, int64_t>> &Consts = local
142 for (unsigned i = 0, n = Consts.size(); i < n; ++i) {
143 if (Consts[i].first->getReg() != R600::ALU_CONST)
145 unsigned Sel = Consts[i].second;
173 for (unsigned i = 0, j = 0, n = Consts.size(); i < n; ++i) {
174 if (Consts[i].first->getReg() != R600::ALU_CONST)
178 Consts[i].first->setReg(
182 Consts[i].first->setReg(
H A DR600InstrInfo.cpp583 R600InstrInfo::fitsConstReadLimitations(const std::vector<unsigned> &Consts)
585 assert (Consts.size() <= 12 && "Too many operands in instructions group");
587 for (unsigned i = 0, n = Consts.size(); i < n; ++i) {
588 unsigned ReadConstHalf = Consts[i] & 2;
589 unsigned ReadConstIndex = Consts[i] & (~3);
610 std::vector<unsigned> Consts;
623 Consts.push_back(Src.second);
628 Consts.push_back((Index << 2) | Chan);
632 return fitsConstReadLimitations(Consts);
H A DR600ISelLowering.cpp2115 std::vector<unsigned> Consts; local
2129 Consts.push_back(Cst->getZExtValue());
2135 Consts.push_back(Cst->getZExtValue());
2136 if (!TII->fitsConstReadLimitations(Consts)) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp2154 MutableArrayRef<ConstantInt*> Consts) const {
2163 Consts[i] = ConstantInt::get(IntTy, 0);
2169 Consts[i] = ConstantInt::get(IntTy, CI->getValue().getSExtValue());
2173 Consts[i] = ConstantInt::get(IntTy, A.getZExtValue());
2187 SmallVector<ConstantInt*,4> Consts(Elem.size());
2188 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts);
2198 llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); }))
2204 uint32_t V = (Consts[0]->getZExtValue() & 0xFFFF) |
2205 Consts[1]->getZExtValue() << 16;
2216 int32_t V = (Consts[
[all...]
H A DHexagonISelLoweringHVX.cpp399 SmallVector<ConstantInt*, 128> Consts(VecLen);
400 bool AllConst = getBuildVectorConstInts(Values, VecTy, DAG, Consts);
402 ArrayRef<Constant*> Tmp((Constant**)Consts.begin(),
403 (Constant**)Consts.end());
H A DHexagonISelLowering.h343 MutableArrayRef<ConstantInt*> Consts) const;

Completed in 194 milliseconds