Lines Matching defs:Instruction

41 class Instruction
44 Instruction(const struct tgsi_full_instruction *inst) : insn(inst) { }
156 inline uint getOpcode() const { return insn->Instruction.Opcode; }
158 unsigned int srcCount() const { return insn->Instruction.NumSrcRegs; }
159 unsigned int dstCount() const { return insn->Instruction.NumDstRegs; }
198 unsigned getSaturate() const { return insn->Instruction.Saturate; }
209 unsigned int Instruction::srcMask(unsigned int s) const
213 switch (insn->Instruction.Opcode) {
248 assert(insn->Instruction.Texture);
251 if (insn->Instruction.Opcode != TGSI_OPCODE_TEX &&
252 insn->Instruction.Opcode != TGSI_OPCODE_TXD)
287 nv50_ir::Modifier Instruction::SrcRegister::getMod(int chan) const
361 nv50_ir::DataType Instruction::inferSrcType() const
402 nv50_ir::DataType Instruction::inferDstType() const
415 nv50_ir::CondCode Instruction::getSetCond() const
563 bool Instruction::checkDstSrcAliasing() const
613 inline bool isEdgeFlagPassthrough(const Instruction&) const;
943 inline bool Source::isEdgeFlagPassthrough(const Instruction& insn) const
952 Instruction insn(inst);
956 Instruction::DstRegister dst = insn.getDst(0);
977 Instruction::SrcRegister src = insn.getSrc(s);
1004 Instruction::getTexture(const tgsi::Source *code, int s) const
1046 Value *fetchSrc(const tgsi::Instruction::SrcRegister src, int c, Value *ptr);
1047 void storeDst(const tgsi::Instruction::DstRegister dst, int c,
1053 Symbol *srcToSym(tgsi::Instruction::SrcRegister, int c);
1054 Symbol *dstToSym(tgsi::Instruction::DstRegister, int c);
1072 Value *interpolate(tgsi::Instruction::SrcRegister, int c, Value *ptr);
1087 updateCallArgs(Instruction *i, void (Instruction::*setArg)(int, Value *),
1110 tgsi::Instruction tgsi;
1136 Converter::srcToSym(tgsi::Instruction::SrcRegister src, int c)
1147 Converter::dstToSym(tgsi::Instruction::DstRegister dst, int c)
1203 Converter::interpolate(tgsi::Instruction::SrcRegister src, int c, Value *ptr)
1211 Instruction *insn = new_Instruction(func, op, TYPE_F32);
1262 tgsi::Instruction::SrcRegister src = tgsi.getSrc(s);
1316 Converter::fetchSrc(tgsi::Instruction::SrcRegister src, int c, Value *ptr)
1353 const tgsi::Instruction::DstRegister dst = tgsi.getDst(d);
1373 const tgsi::Instruction::DstRegister dst = tgsi.getDst(d);
1404 Converter::storeDst(const tgsi::Instruction::DstRegister dst, int c,
1509 Instruction *insn = proj->getUniqueInsn();
1719 tgsi::Instruction insn(&code->insns[ip]);
1734 tgsi = tgsi::Instruction(insn);
2348 Instruction *i, void (Instruction::*setArg)(int, Value *),
2385 for (Instruction *i = BasicBlock::get(bi)->getFirst();
2388 updateCallArgs(i, &Instruction::setSrc, &Function::ins);
2389 updateCallArgs(i, &Instruction::setDef, &Function::outs);