Home
last modified time | relevance | path

Searched refs:OpKind (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineOperand.h79 unsigned OpKind : 8;
201 : OpKind(K), SubReg_TargetFlags(0), ParentMI(nullptr) { in MachineOperand()
217 MachineOperandType getType() const { return (MachineOperandType)OpKind; } in getType()
319 bool isReg() const { return OpKind == MO_Register; } in isReg()
321 bool isImm() const { return OpKind == MO_Immediate; } in isImm()
323 bool isCImm() const { return OpKind == MO_CImmediate; } in isCImm()
325 bool isFPImm() const { return OpKind == MO_FPImmediate; } in isFPImm()
327 bool isMBB() const { return OpKind == MO_MachineBasicBlock; } in isMBB()
329 bool isFI() const { return OpKind == MO_FrameIndex; } in isFI()
331 bool isCPI() const { return OpKind == MO_ConstantPoolIndex; } in isCPI()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/
DPPCGenAsmMatcher.inc3691 MatchClassKind OpKind;
3693 default: OpKind = InvalidMatchClass; break;
3694 case PPC::R0: OpKind = MCK_GPRC; break;
3695 case PPC::R1: OpKind = MCK_Reg2; break;
3696 case PPC::R2: OpKind = MCK_Reg2; break;
3697 case PPC::R3: OpKind = MCK_Reg2; break;
3698 case PPC::R4: OpKind = MCK_Reg2; break;
3699 case PPC::R5: OpKind = MCK_Reg2; break;
3700 case PPC::R6: OpKind = MCK_Reg2; break;
3701 case PPC::R7: OpKind = MCK_Reg2; break;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/
DMipsGenAsmMatcher.inc4196 MatchClassKind OpKind;
4198 default: OpKind = InvalidMatchClass; break;
4199 case Mips::ZERO: OpKind = MCK_GPR32ZERO; break;
4200 case Mips::AT: OpKind = MCK_GPR32NONZERO; break;
4201 case Mips::V0: OpKind = MCK_Reg11; break;
4202 case Mips::V1: OpKind = MCK_Reg11; break;
4203 case Mips::A0: OpKind = MCK_GPRMM16MovePPairFirst; break;
4204 case Mips::A1: OpKind = MCK_Reg13; break;
4205 case Mips::A2: OpKind = MCK_Reg13; break;
4206 case Mips::A3: OpKind = MCK_Reg14; break;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInst.h321 enum OpKind { enum
328 static InstArithmetic *create(Cfg *Func, OpKind Op, Variable *Dest, in create()
333 OpKind getOp() const { return Op; } in getOp()
337 static const char *getOpName(OpKind Op);
346 InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest, Operand *Source1,
349 const OpKind Op;
477 enum OpKind { enum
484 static const char *getCastName(OpKind Kind);
486 static InstCast *create(Cfg *Func, OpKind CastKind, Variable *Dest, in create()
491 OpKind getCastKind() const { return CastKind; } in getCastKind()
[all …]
DIceInst.cpp271 InstArithmetic::InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest, in InstArithmetic()
285 const char *InstArithmetic::getOpName(OpKind Op) { in getOpName()
347 InstCast::InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source) in InstCast()
778 const char *InstCast::getCastName(InstCast::OpKind Kind) { in getCastName()
779 if (Kind < InstCast::OpKind::_num) in getCastName()
DPNaClTranslator.cpp1614 void reportInvalidBinaryOp(Ice::InstArithmetic::OpKind Op, Ice::Type OpTy);
1618 bool isValidIntegerLogicalOp(Ice::InstArithmetic::OpKind Op, Ice::Type OpTy) { in isValidIntegerLogicalOp()
1628 bool isValidIntegerArithOp(Ice::InstArithmetic::OpKind Op, Ice::Type OpTy) { in isValidIntegerArithOp()
1637 bool isValidFloatingArithOp(Ice::InstArithmetic::OpKind Op, Ice::Type OpTy) { in isValidFloatingArithOp()
1749 Ice::InstArithmetic::OpKind &Op) { in convertBinopOpcode()
1916 Ice::InstCast::OpKind &CastKind) { in convertCastOpToIceOp()
2154 void FunctionParser::reportInvalidBinaryOp(Ice::InstArithmetic::OpKind Op, in reportInvalidBinaryOp()
2232 Ice::InstArithmetic::OpKind Opcode; in ProcessRecord()
2247 Ice::InstCast::OpKind CastKind; in ProcessRecord()
DIceCfgNode.cpp1262 FoundOr = (Arith->getOp() == InstArithmetic::OpKind::Or); in shortCircuit()
1263 FoundAnd = (Arith->getOp() == InstArithmetic::OpKind::And); in shortCircuit()
DIceConverter.cpp344 Ice::InstArithmetic::OpKind Opcode) { in convertArithInstruction()
399 Ice::InstCast::OpKind CastKind) { in convertCastInstruction()
DIceTargetLowering.h459 void scalarizeArithmetic(InstArithmetic::OpKind K, Variable *Dest,
DIceTargetLoweringARM32.cpp447 const InstArithmetic::OpKind Op = in genTargetHelperCallFor()
502 InstCast::OpKind CastKind; in genTargetHelperCallFor()
596 const InstCast::OpKind CastKind = CastInstr->getCastKind(); in genTargetHelperCallFor()
2397 void TargetARM32::lowerInt64Arithmetic(InstArithmetic::OpKind Op, in lowerInt64Arithmetic()
3707 InstCast::OpKind CastKind = Instr->getCastKind(); in lowerCast()
4677 InstArithmetic::OpKind Oper; in createArithInst()
5352 bool isAddOrSub(const Inst *Instr, InstArithmetic::OpKind *Kind) { in isAddOrSub()
5393 InstArithmetic::OpKind _; in matchCombinedBaseIndex()
5508 InstArithmetic::OpKind Kind; in matchOffsetBase()
5660 const InstArithmetic::OpKind Op = in formAddressingMode()
DIceTargetLoweringMIPS32.cpp357 const InstArithmetic::OpKind Op = in genTargetHelperCallFor()
422 const InstCast::OpKind CastKind = CastInstr->getCastKind(); in genTargetHelperCallFor()
2420 InstArithmetic::OpKind Op = Instr->getOp(); in lowerInt64Arithmetic()
3091 InstCast::OpKind CastKind; in lowerBr()
3592 InstCast::OpKind CastKind = Instr->getCastKind(); in lowerCast()
5214 bool isAddOrSub(const Inst *Instr, InstArithmetic::OpKind *Kind) { in isAddOrSub()
5245 InstArithmetic::OpKind Kind; in matchOffsetBase()
5351 const InstArithmetic::OpKind Op = in formAddressingMode()
DIceTargetLowering.cpp910 void TargetLowering::scalarizeArithmetic(InstArithmetic::OpKind Kind, in scalarizeArithmetic()
DIceInstX8632.h380 Variable *Beacon, InstArithmetic::OpKind Op,
389 InstArithmetic::OpKind getOp() const { return Op; } in getOp()
397 InstArithmetic::OpKind Op;
399 InstArithmetic::OpKind Op, Variable *Beacon);
DIceInstX8664.h319 Variable *Beacon, InstArithmetic::OpKind Op,
328 InstArithmetic::OpKind getOp() const { return Op; } in getOp()
336 InstArithmetic::OpKind Op;
338 InstArithmetic::OpKind Op, Variable *Beacon);
DIceTargetLoweringX8664.h870 void lowerShift64(InstArithmetic::OpKind Op, Operand *Src0Lo, Operand *Src0Hi,
DIceTargetLoweringX8632.h884 void lowerShift64(InstArithmetic::OpKind Op, Operand *Src0Lo, Operand *Src0Hi,
DIceTargetLoweringARM32.h211 void lowerInt64Arithmetic(InstArithmetic::OpKind Op, Variable *Dest,
DIceTargetLoweringX8664.cpp1443 void TargetX8664::lowerShift64(InstArithmetic::OpKind Op, Operand *Src0Lo, in lowerShift64()
2382 InstCast::OpKind CastKind = Instr->getCastKind(); in lowerCast()
6207 InstCast::OpKind CastKind = Cast->getCastKind(); in genTargetHelperCallFor()
DIceTargetLoweringX8632.cpp1520 void TargetX8632::lowerShift64(InstArithmetic::OpKind Op, Operand *Src0Lo, in lowerShift64()
2598 InstCast::OpKind CastKind = Instr->getCastKind(); in lowerCast()
6919 InstCast::OpKind CastKind = Cast->getCastKind(); in genTargetHelperCallFor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/
DARMGenAsmMatcher.inc9072 MatchClassKind OpKind;
9074 default: OpKind = InvalidMatchClass; break;
9075 case ARM::R0: OpKind = MCK_Reg11; break;
9076 case ARM::R1: OpKind = MCK_Reg15; break;
9077 case ARM::R2: OpKind = MCK_Reg11; break;
9078 case ARM::R3: OpKind = MCK_Reg15; break;
9079 case ARM::R4: OpKind = MCK_Reg12; break;
9080 case ARM::R5: OpKind = MCK_Reg16; break;
9081 case ARM::R6: OpKind = MCK_Reg12; break;
9082 case ARM::R7: OpKind = MCK_Reg16; break;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineOperand.cpp159 OpKind = MO_Immediate; in ChangeToImmediate()
168 OpKind = MO_FPImmediate; in ChangeToFPImmediate()
179 OpKind = MO_ExternalSymbol; in ChangeToES()
192 OpKind = MO_GlobalAddress; in ChangeToGA()
204 OpKind = MO_MCSymbol; in ChangeToMCSymbol()
214 OpKind = MO_FrameIndex; in ChangeToFrameIndex()
225 OpKind = MO_TargetIndex; in ChangeToTargetIndex()
249 OpKind = MO_Register; in ChangeToRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/AArch64/
DAArch64GenAsmMatcher.inc11227 MatchClassKind OpKind;
11229 default: OpKind = InvalidMatchClass; break;
11230 case AArch64::W0: OpKind = MCK_GPR32arg; break;
11231 case AArch64::W1: OpKind = MCK_GPR32arg; break;
11232 case AArch64::W2: OpKind = MCK_GPR32arg; break;
11233 case AArch64::W3: OpKind = MCK_GPR32arg; break;
11234 case AArch64::W4: OpKind = MCK_GPR32arg; break;
11235 case AArch64::W5: OpKind = MCK_GPR32arg; break;
11236 case AArch64::W6: OpKind = MCK_GPR32arg; break;
11237 case AArch64::W7: OpKind = MCK_GPR32arg; break;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/
DX86GenAsmMatcher.inc7087 MatchClassKind OpKind;
7089 default: OpKind = InvalidMatchClass; break;
7090 case X86::AL: OpKind = MCK_AL; break;
7091 case X86::DL: OpKind = MCK_GR8_ABCD_L; break;
7092 case X86::CL: OpKind = MCK_CL; break;
7093 case X86::BL: OpKind = MCK_GR8_ABCD_L; break;
7094 case X86::AH: OpKind = MCK_GR8_ABCD_H; break;
7095 case X86::DH: OpKind = MCK_GR8_ABCD_H; break;
7096 case X86::CH: OpKind = MCK_GR8_ABCD_H; break;
7097 case X86::BH: OpKind = MCK_GR8_ABCD_H; break;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp878 unsigned ParseIntelInlineAsmOperator(unsigned OpKind);
1554 if (unsigned OpKind = IdentifyIntelInlineAsmOperator(Identifier)) { in ParseIntelExpression() local
1555 if (int64_t Val = ParseIntelInlineAsmOperator(OpKind)) { in ParseIntelExpression()
1848 unsigned X86AsmParser::ParseIntelInlineAsmOperator(unsigned OpKind) { in ParseIntelInlineAsmOperator() argument
1867 switch(OpKind) { in ParseIntelInlineAsmOperator()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DSubzeroReactor.cpp1199 static bool isCommutative(Ice::InstArithmetic::OpKind op) in isCommutative()
1216 static Value *createArithmetic(Ice::InstArithmetic::OpKind op, Value *lhs, Value *rhs) in createArithmetic()
1638 static Value *createCast(Ice::InstCast::OpKind op, Value *v, Type *destType) in createCast()

12