Lines Matching defs:ib

124         CommonInstBase(const Brig::BrigInstBase *ib, const BrigObject *obj,
130 unsigned op_offs = obj->getOperandPtr(ib->operands, 0);
135 op_offs = obj->getOperandPtr(ib->operands, i + 1);
212 ArithInst(const Brig::BrigInstBase *ib, const BrigObject *obj,
216 NumSrcOperands>(ib, obj, opcode)
240 ThreeNonUniformSourceInstBase(const Brig::BrigInstBase *ib,
247 unsigned op_offs = obj->getOperandPtr(ib->operands, 0);
250 op_offs = obj->getOperandPtr(ib->operands, 1);
253 op_offs = obj->getOperandPtr(ib->operands, 2);
256 op_offs = obj->getOperandPtr(ib->operands, 3);
364 ThreeNonUniformSourceInst(const Brig::BrigInstBase *ib,
369 typename Src2DataType::OperandType>(ib,
380 CmovInst(const Brig::BrigInstBase *ib, const BrigObject *obj,
383 DataType>(ib, obj, opcode)
394 ExtractInsertInst(const Brig::BrigInstBase *ib, const BrigObject *obj,
397 U32>(ib, obj, opcode)
420 TwoNonUniformSourceInstBase(const Brig::BrigInstBase *ib,
426 unsigned op_offs = obj->getOperandPtr(ib->operands, 0);
429 op_offs = obj->getOperandPtr(ib->operands, 1);
432 op_offs = obj->getOperandPtr(ib->operands, 2);
524 TwoNonUniformSourceInst(const Brig::BrigInstBase *ib,
528 typename Src1DataType::OperandType>(ib,
571 ClassInst(const Brig::BrigInstBase *ib, const BrigObject *obj,
573 : TwoNonUniformSourceInst<B1, DataType, U32>(ib, obj, opcode)
582 ShiftInst(const Brig::BrigInstBase *ib, const BrigObject *obj,
584 : TwoNonUniformSourceInst<DataType, DataType, U32>(ib, obj, opcode)
678 CmpInstBase(const Brig::BrigInstBase *ib, const BrigObject *obj,
680 : CommonInstBase<DestOperandType, SrcOperandType, 2>(ib, obj,
683 assert(ib->base.kind == Brig::BRIG_KIND_INST_CMP);
684 Brig::BrigInstCmp *i = (Brig::BrigInstCmp*)ib;
701 CmpInst(const Brig::BrigInstBase *ib, const BrigObject *obj,
704 typename SrcDataType::OperandType>(ib, obj, _opcode)
719 CvtInst(const Brig::BrigInstBase *ib, const BrigObject *obj,
723 1>(ib, obj, _opcode)
739 PopcountInst(const Brig::BrigInstBase *ib, const BrigObject *obj,
743 1>(ib, obj, _opcode)
751 Stub(const Brig::BrigInstBase *ib, const BrigObject *obj,
783 SpecialInstNoSrcNoDest(const Brig::BrigInstBase *ib,
819 SpecialInstNoSrcBase(const Brig::BrigInstBase *ib,
823 unsigned op_offs = obj->getOperandPtr(ib->operands, 0);
865 SpecialInstNoSrc(const Brig::BrigInstBase *ib, const BrigObject *obj,
867 : SpecialInstNoSrcBase<typename DestDataType::OperandType>(ib, obj,
890 SpecialInst1SrcBase(const Brig::BrigInstBase *ib,
896 unsigned op_offs = obj->getOperandPtr(ib->operands, 0);
899 op_offs = obj->getOperandPtr(ib->operands, 1);
940 SpecialInst1Src(const Brig::BrigInstBase *ib, const BrigObject *obj,
942 : SpecialInst1SrcBase<typename DestDataType::OperandType>(ib, obj,
953 Ret(const Brig::BrigInstBase *ib, const BrigObject *obj)
954 : Base(ib, obj, "ret")
968 Barrier(const Brig::BrigInstBase *ib, const BrigObject *obj)
969 : Base(ib, obj, "barrier")
972 assert(ib->base.kind == Brig::BRIG_KIND_INST_BR);
973 width = (uint8_t)((Brig::BrigInstBr*)ib)->width;
989 MemFence(const Brig::BrigInstBase *ib, const BrigObject *obj)
990 : Base(ib, obj, "memfence")
992 assert(ib->base.kind == Brig::BRIG_KIND_INST_MEM_FENCE);
995 ((Brig::BrigInstMemFence*)ib)->globalSegmentMemoryScope;
998 ((Brig::BrigInstMemFence*)ib)->groupSegmentMemoryScope;
1001 ((Brig::BrigInstMemFence*)ib)->imageSegmentMemoryScope;
1004 ((Brig::BrigInstMemFence*)ib)->memoryOrder;
1219 Call(const Brig::BrigInstBase *ib, const BrigObject *obj)
1223 unsigned op_offs = obj->getOperandPtr(ib->operands, 0);
1225 op_offs = obj->getOperandPtr(ib->operands, 1);
1238 op_offs = obj->getOperandPtr(ib->operands, 2);