/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCCodeEmitter.cpp | 70 uint32_t getLdStUImm12OpValue(const MCInst &MI, unsigned OpIdx, 76 uint32_t getAdrLabelOpValue(const MCInst &MI, unsigned OpIdx, 82 uint32_t getAddSubImmOpValue(const MCInst &MI, unsigned OpIdx, 88 uint32_t getCondBranchTargetOpValue(const MCInst &MI, unsigned OpIdx, 94 uint32_t getLoadLiteralOpValue(const MCInst &MI, unsigned OpIdx, 101 uint32_t getMemExtendOpValue(const MCInst &MI, unsigned OpIdx, 107 uint32_t getTestBranchTargetOpValue(const MCInst &MI, unsigned OpIdx, 113 uint32_t getBranchTargetOpValue(const MCInst &MI, unsigned OpIdx, 119 uint32_t getMoveWideImmOpValue(const MCInst &MI, unsigned OpIdx, 124 uint32_t getVecShifterOpValue(const MCInst &MI, unsigned OpIdx, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCCodeEmitter.cpp | 93 uint32_t getHiLo16ImmOpValue(const MCInst &MI, unsigned OpIdx, 97 bool EncodeAddrModeOpValues(const MCInst &MI, unsigned OpIdx, 104 uint32_t getThumbBLTargetOpValue(const MCInst &MI, unsigned OpIdx, 110 uint32_t getThumbBLXTargetOpValue(const MCInst &MI, unsigned OpIdx, 115 uint32_t getThumbBRTargetOpValue(const MCInst &MI, unsigned OpIdx, 120 uint32_t getThumbBCCTargetOpValue(const MCInst &MI, unsigned OpIdx, 125 uint32_t getThumbCBTargetOpValue(const MCInst &MI, unsigned OpIdx, 131 uint32_t getBranchTargetOpValue(const MCInst &MI, unsigned OpIdx, 137 uint32_t getThumbBranchTargetOpValue(const MCInst &MI, unsigned OpIdx, 143 uint32_t getARMBranchTargetOpValue(const MCInst &MI, unsigned OpIdx, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/ |
D | ARMGenGlobalISel.inc | 911 GIM_RecordInsn, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1] 921 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // Rd 922 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/2, // Rn 923 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // Rm 935 GIM_RecordInsn, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1] 945 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // Rd 946 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/2, // Rn 947 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // Rm 959 GIM_RecordInsn, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1] 969 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // Rd [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/ |
D | MipsGenGlobalISel.inc | 744 GIM_RecordInsn, /*DefineMI*/1, /*MI*/0, /*OpIdx*/1, // MIs[1] 749 GIM_RecordInsn, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2] 759 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // rd 760 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // rs 761 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/2, // rt 772 GIM_RecordInsn, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1] 777 GIM_RecordInsn, /*DefineMI*/2, /*MI*/1, /*OpIdx*/2, // MIs[2] 786 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // rd 787 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/1, /*OpIdx*/1, // rs 788 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/1, // rt [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/AArch64/ |
D | AArch64GenGlobalISel.inc | 1238 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // Rd 1239 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/2, // Rn 1252 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // Rd 1253 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/1, // Rn 1266 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // R1 1267 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/2, // R2 1280 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // Rd 1281 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/2, // Rn 1294 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // R1 1295 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/1, // R2 [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | RegisterBankInfo.cpp | 113 const MachineInstr &MI, unsigned OpIdx, const TargetInstrInfo &TII, in getRegBankFromConstraints() argument 119 const TargetRegisterClass *RC = MI.getRegClassConstraint(OpIdx, &TII, TRI); in getRegBankFromConstraints() 124 Register Reg = MI.getOperand(OpIdx).getReg(); in getRegBankFromConstraints() 183 for (unsigned OpIdx = 0, EndIdx = MI.getNumOperands(); OpIdx != EndIdx; in getInstrMappingImpl() local 184 ++OpIdx) { in getInstrMappingImpl() 185 const MachineOperand &MO = MI.getOperand(OpIdx); in getInstrMappingImpl() 204 CurRegBank = getRegBankFromConstraints(MI, OpIdx, TII, MRI); in getInstrMappingImpl() 233 for (; OpIdx != EndIdx; ++OpIdx) { in getInstrMappingImpl() 234 const MachineOperand &MO = MI.getOperand(OpIdx); in getInstrMappingImpl() 251 OperandsMapping[OpIdx] = ValMapping; in getInstrMappingImpl() [all …]
|
D | CallLowering.cpp | 78 void CallLowering::setArgFlags(CallLowering::ArgInfo &Arg, unsigned OpIdx, in setArgFlags() argument 83 if (Attrs.hasAttribute(OpIdx, Attribute::ZExt)) in setArgFlags() 85 if (Attrs.hasAttribute(OpIdx, Attribute::SExt)) in setArgFlags() 87 if (Attrs.hasAttribute(OpIdx, Attribute::InReg)) in setArgFlags() 89 if (Attrs.hasAttribute(OpIdx, Attribute::StructRet)) in setArgFlags() 91 if (Attrs.hasAttribute(OpIdx, Attribute::SwiftSelf)) in setArgFlags() 93 if (Attrs.hasAttribute(OpIdx, Attribute::SwiftError)) in setArgFlags() 95 if (Attrs.hasAttribute(OpIdx, Attribute::ByVal)) in setArgFlags() 97 if (Attrs.hasAttribute(OpIdx, Attribute::InAlloca)) in setArgFlags() 103 auto Ty = Attrs.getAttribute(OpIdx, Attribute::ByVal).getValueAsType(); in setArgFlags() [all …]
|
D | RegBankSelect.cpp | 467 for (unsigned OpIdx = 0, EndOpIdx = InstrMapping.getNumOperands(); in computeMapping() local 468 OpIdx != EndOpIdx; ++OpIdx) { in computeMapping() 469 const MachineOperand &MO = MI.getOperand(OpIdx); in computeMapping() 475 LLVM_DEBUG(dbgs() << "Opd" << OpIdx << '\n'); in computeMapping() 477 InstrMapping.getOperandMapping(OpIdx); in computeMapping() 486 RepairPts.emplace_back(RepairingPlacement(MI, OpIdx, *TRI, *this, in computeMapping() 493 RepairingPlacement(MI, OpIdx, *TRI, *this, RepairingPlacement::Insert)); in computeMapping() 594 unsigned OpIdx = RepairPt.getOpIdx(); in applyMapping() local 595 MachineOperand &MO = MI.getOperand(OpIdx); in applyMapping() 597 InstrMapping.getOperandMapping(OpIdx); in applyMapping() [all …]
|
D | InstructionSelector.cpp | 37 MachineInstr &I, unsigned OpIdx, const TargetRegisterClass &RC, in constrainOperandRegToRegClass() argument 45 I.getOperand(OpIdx), OpIdx); in constrainOperandRegToRegClass()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | InstructionSelectorImpl.h | 88 int64_t OpIdx = MatchTable[CurrentIdx++]; in executeMatchTable() local 94 MachineOperand &MO = State.MIs[InsnID]->getOperand(OpIdx); in executeMatchTable() 120 << "] = GIM_RecordInsn(" << InsnID << ", " << OpIdx in executeMatchTable() 186 int64_t OpIdx = MatchTable[CurrentIdx++]; in executeMatchTable() local 192 MachineOperand &MO = State.MIs[InsnID]->getOperand(OpIdx); in executeMatchTable() 196 << "]->getOperand(" << OpIdx << "), [" << LowerBound << ", " in executeMatchTable() 471 int64_t OpIdx = MatchTable[CurrentIdx++]; in executeMatchTable() local 482 << ", OpIdx=" << OpIdx << ")\n"); in executeMatchTable() 485 MachineOperand &MO = State.MIs[InsnID]->getOperand(OpIdx); in executeMatchTable() 520 int64_t OpIdx = MatchTable[CurrentIdx++]; in executeMatchTable() local [all …]
|
D | LegalizerHelper.h | 103 void widenScalarSrc(MachineInstr &MI, LLT WideTy, unsigned OpIdx, 109 void narrowScalarSrc(MachineInstr &MI, LLT NarrowTy, unsigned OpIdx); 114 void widenScalarDst(MachineInstr &MI, LLT WideTy, unsigned OpIdx = 0, 120 void narrowScalarDst(MachineInstr &MI, LLT NarrowTy, unsigned OpIdx, 125 void moreElementsVectorDst(MachineInstr &MI, LLT MoreTy, unsigned OpIdx); 130 void moreElementsVectorSrc(MachineInstr &MI, LLT MoreTy, unsigned OpIdx);
|
D | RegisterBankInfo.h | 308 getVRegsMem(unsigned OpIdx); 349 void createVRegs(unsigned OpIdx); 361 void setVRegs(unsigned OpIdx, unsigned PartialMapIdx, Register NewVReg); 376 getVRegs(unsigned OpIdx, bool ForDebug = false) const; 545 getRegBankFromConstraints(const MachineInstr &MI, unsigned OpIdx,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/ |
D | X86GenGlobalISel.inc | 868 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // dst 869 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/1, // src 880 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // dst 881 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/1, // src 888 GIM_RecordInsn, /*DefineMI*/1, /*MI*/0, /*OpIdx*/2, // MIs[1] 895 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // dst 896 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/1, // src1 925 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // dst 926 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/1, // src1 938 GIR_Copy, /*NewInsnID*/0, /*OldInsnID*/0, /*OpIdx*/0, // dst [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | BreakFalseDeps.cpp | 81 bool pickBestRegisterForUndef(MachineInstr *MI, unsigned OpIdx, 86 bool shouldBreakDependence(MachineInstr *, unsigned OpIdx, unsigned Pref); 107 bool BreakFalseDeps::pickBestRegisterForUndef(MachineInstr *MI, unsigned OpIdx, in pickBestRegisterForUndef() argument 109 MachineOperand &MO = MI->getOperand(OpIdx); in pickBestRegisterForUndef() 126 TII->getRegClass(MI->getDesc(), OpIdx, TRI, *MF); in pickBestRegisterForUndef() 163 bool BreakFalseDeps::shouldBreakDependence(MachineInstr *MI, unsigned OpIdx, in shouldBreakDependence() argument 165 Register reg = MI->getOperand(OpIdx).getReg(); in shouldBreakDependence() 230 unsigned OpIdx = UndefReads.back().second; in processUndefReads() local 237 if (!LiveRegSet.contains(UndefMI->getOperand(OpIdx).getReg())) in processUndefReads() 238 TII->breakPartialRegDependency(*UndefMI, OpIdx, TRI); in processUndefReads() [all …]
|
D | MachineInstr.cpp | 783 int MachineInstr::findInlineAsmFlagIdx(unsigned OpIdx, in findInlineAsmFlagIdx() argument 786 assert(OpIdx < getNumOperands() && "OpIdx out of range"); in findInlineAsmFlagIdx() 789 if (OpIdx < InlineAsm::MIOp_FirstOperand) in findInlineAsmFlagIdx() 801 if (i + NumOps > OpIdx) { in findInlineAsmFlagIdx() 831 MachineInstr::getRegClassConstraint(unsigned OpIdx, in getRegClassConstraint() argument 840 return TII->getRegClass(getDesc(), OpIdx, TRI, MF); in getRegClassConstraint() 842 if (!getOperand(OpIdx).isReg()) in getRegClassConstraint() 847 if (getOperand(OpIdx).isUse() && isRegTiedToDefOperand(OpIdx, &DefIdx)) in getRegClassConstraint() 848 OpIdx = DefIdx; in getRegClassConstraint() 851 int FlagIdx = findInlineAsmFlagIdx(OpIdx); in getRegClassConstraint() [all …]
|
D | MachineCopyPropagation.cpp | 471 for (unsigned OpIdx = 0, OpEnd = MI.getNumOperands(); OpIdx < OpEnd; in forwardUses() local 472 ++OpIdx) { in forwardUses() 473 MachineOperand &MOUse = MI.getOperand(OpIdx); in forwardUses() 512 if (!isForwardableRegClassCopy(*Copy, MI, OpIdx)) in forwardUses() 752 for (unsigned OpIdx = 0, OpEnd = MI.getNumOperands(); OpIdx != OpEnd; in propagateDefs() local 753 ++OpIdx) { in propagateDefs() 754 MachineOperand &MODef = MI.getOperand(OpIdx); in propagateDefs() 781 if (!isBackwardPropagatableRegClassCopy(*Copy, MI, OpIdx)) in propagateDefs()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMExpandPseudoInsts.cpp | 481 unsigned OpIdx = 0; in ExpandVLD() local 483 bool DstIsDead = MI.getOperand(OpIdx).isDead(); in ExpandVLD() 484 Register DstReg = MI.getOperand(OpIdx++).getReg(); in ExpandVLD() 512 MIB.add(MI.getOperand(OpIdx++)); in ExpandVLD() 515 MIB.add(MI.getOperand(OpIdx++)); in ExpandVLD() 516 MIB.add(MI.getOperand(OpIdx++)); in ExpandVLD() 527 const MachineOperand &AM6Offset = MI.getOperand(OpIdx++); in ExpandVLD() 554 SrcOpIdx = OpIdx++; in ExpandVLD() 558 MIB.add(MI.getOperand(OpIdx++)); in ExpandVLD() 559 MIB.add(MI.getOperand(OpIdx++)); in ExpandVLD() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64StackTaggingPreRA.cpp | 179 unsigned OpIdx = TII->getLoadStoreImmIdx(UseI->getOpcode()) - 1; in uncheckUsesOf() local 180 if (UseI->getOperand(OpIdx).isReg() && in uncheckUsesOf() 181 UseI->getOperand(OpIdx).getReg() == TaggedReg) { in uncheckUsesOf() 182 UseI->getOperand(OpIdx).ChangeToFrameIndex(FI); in uncheckUsesOf() 183 UseI->getOperand(OpIdx).setTargetFlags(AArch64II::MO_TAGGED); in uncheckUsesOf()
|
D | AArch64PromoteConstant.cpp | 259 unsigned OpIdx) { in shouldConvertUse() argument 262 if (isa<const ShuffleVectorInst>(Instr) && OpIdx == 2) in shouldConvertUse() 266 if (isa<const ExtractValueInst>(Instr) && OpIdx > 0) in shouldConvertUse() 270 if (isa<const InsertValueInst>(Instr) && OpIdx > 1) in shouldConvertUse() 273 if (isa<const AllocaInst>(Instr) && OpIdx > 0) in shouldConvertUse() 277 if (isa<const LoadInst>(Instr) && OpIdx > 0) in shouldConvertUse() 281 if (isa<const StoreInst>(Instr) && OpIdx > 1) in shouldConvertUse() 285 if (isa<const GetElementPtrInst>(Instr) && OpIdx > 0) in shouldConvertUse()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineInstr.h | 462 bool isOperandSubregIdx(unsigned OpIdx) const { 463 assert(getOperand(OpIdx).getType() == MachineOperand::MO_Immediate && 465 if (isExtractSubreg() && OpIdx == 2) 467 if (isInsertSubreg() && OpIdx == 3) 469 if (isRegSequence() && OpIdx > 1 && (OpIdx % 2) == 0) 471 if (isSubregToReg() && OpIdx == 3) 1305 int findInlineAsmFlagIdx(unsigned OpIdx, unsigned *GroupNo = nullptr) const; 1314 getRegClassConstraint(unsigned OpIdx, 1345 getRegClassConstraintEffect(unsigned OpIdx, const TargetRegisterClass *CurRC, 1360 unsigned findTiedOperandIdx(unsigned OpIdx) const; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | MCInstPrinter.cpp | 63 const MCRegisterInfo &MRI, unsigned &OpIdx, in matchAliasCondition() argument 73 const MCOperand &Opnd = MI.getOperand(OpIdx); in matchAliasCondition() 74 ++OpIdx; in matchAliasCondition() 127 unsigned OpIdx = 0; in matchAliasPatterns() local 129 return matchAliasCondition(*MI, STI, MRI, OpIdx, M, C); in matchAliasPatterns()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstructionSelector.h | 174 int OpIdx = -1) const; 177 int OpIdx) const; 180 int OpIdx) const; 183 int OpIdx) const; 186 int OpIdx) const;
|
D | SIInstrInfo.h | 714 int OpIdx = MI.getOperandNo(&UseMO); in isInlineConstant() local 715 if (!MI.getDesc().OpInfo || OpIdx >= MI.getDesc().NumOperands) { in isInlineConstant() 719 return isInlineConstant(DefMO, MI.getDesc().OpInfo[OpIdx]); in isInlineConstant() 724 bool isInlineConstant(const MachineInstr &MI, unsigned OpIdx) const { in isInlineConstant() argument 725 const MachineOperand &MO = MI.getOperand(OpIdx); in isInlineConstant() 726 return isInlineConstant(MO, MI.getDesc().OpInfo[OpIdx].OperandType); in isInlineConstant() 729 bool isInlineConstant(const MachineInstr &MI, unsigned OpIdx, in isInlineConstant() argument 731 if (!MI.getDesc().OpInfo || OpIdx >= MI.getDesc().NumOperands) in isInlineConstant() 735 unsigned Size = getOpSize(MI, OpIdx); in isInlineConstant() 743 return isInlineConstant(MO, MI.getDesc().OpInfo[OpIdx].OperandType); in isInlineConstant() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZHazardRecognizer.cpp | 122 for (unsigned OpIdx = 0; OpIdx < MID.getNumOperands(); OpIdx++) { in has4RegOps() local 123 const TargetRegisterClass *RC = TII->getRegClass(MID, OpIdx, TRI, MF); in has4RegOps() 126 if (OpIdx >= MID.getNumDefs() && in has4RegOps() 127 MID.getOperandConstraint(OpIdx, MCOI::TIED_TO) != -1) in has4RegOps()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 766 OperandData &getData(unsigned OpIdx, unsigned Lane) { in getData() argument 767 return OpsVec[OpIdx][Lane]; in getData() 771 const OperandData &getData(unsigned OpIdx, unsigned Lane) const { in getData() argument 772 return OpsVec[OpIdx][Lane]; in getData() 777 for (unsigned OpIdx = 0, NumOperands = getNumOperands(); in clearUsed() local 778 OpIdx != NumOperands; ++OpIdx) in clearUsed() 781 OpsVec[OpIdx][Lane].IsUsed = false; in clearUsed() 1013 getBestOperand(unsigned OpIdx, int Lane, int LastLane, in getBestOperand() argument 1018 Value *OpLastLane = getData(OpIdx, LastLane).V; in getBestOperand() 1021 ReorderingMode RMode = ReorderingModes[OpIdx]; in getBestOperand() [all …]
|