Lines Matching refs:Literals
372 assert(Lits.size() < 4 && "Too many literals in Instruction Group");
381 const std::vector<unsigned> &Literals) const {
383 for (unsigned i = 0, e = Literals.size(); i < e; i+=2) {
384 unsigned LiteralPair0 = Literals[i];
385 unsigned LiteralPair1 = (i + 1 < e)?Literals[i + 1]:0;
387 TII->get(AMDGPU::LITERALS))
407 std::vector<MachineOperand *>Literals;
417 getLiteral(*BI, Literals);
423 getLiteral(*I, Literals);
427 for (unsigned i = 0, e = Literals.size(); i < e; i += 2) {
429 TII->get(AMDGPU::LITERALS));
430 if (Literals[i]->isImm()) {
431 MILit.addImm(Literals[i]->getImm());
433 MILit.addGlobalAddress(Literals[i]->getGlobal(),
434 Literals[i]->getOffset());
437 if (Literals[i + 1]->isImm()) {
438 MILit.addImm(Literals[i + 1]->getImm());
440 MILit.addGlobalAddress(Literals[i + 1]->getGlobal(),
441 Literals[i + 1]->getOffset());