Home
last modified time | relevance | path

Searched refs:OperandIdx (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugFrame.cpp418 uint32_t OperandIdx) const { in getOperandAsUnsigned()
419 if (OperandIdx >= MaxOperands) in getOperandAsUnsigned()
422 OperandIdx); in getOperandAsUnsigned()
423 OperandType Type = CFIP.getOperandTypes()[Opcode][OperandIdx]; in getOperandAsUnsigned()
424 uint64_t Operand = Ops[OperandIdx]; in getOperandAsUnsigned()
431 OperandIdx, CFIProgram::operandTypeString(Type)); in getOperandAsUnsigned()
440 OperandIdx); in getOperandAsUnsigned()
454 OperandIdx); in getOperandAsUnsigned()
463 uint32_t OperandIdx) const { in getOperandAsSigned()
464 if (OperandIdx >= MaxOperands) in getOperandAsSigned()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600Packetizer.cpp81 int OperandIdx = TII->getOperandIdx(BI->getOpcode(), R600::OpName::write); in getPreviousVector() local
82 if (OperandIdx > -1 && BI->getOperand(OperandIdx).getImm() == 0) in getPreviousVector()
131 int OperandIdx = TII->getOperandIdx(MI.getOpcode(), Op); in substitutePV() local
132 if (OperandIdx < 0) in substitutePV()
134 Register Src = MI.getOperand(OperandIdx).getReg(); in substitutePV()
137 MI.getOperand(OperandIdx).setReg(It->second); in substitutePV()
H A DGCNVOPDUtils.cpp69 auto getVRegIdx = [&](unsigned OpcodeIdx, unsigned OperandIdx) { in checkVOPDRegConstraints() argument
71 const MachineOperand &Operand = MI.getOperand(OperandIdx); in checkVOPDRegConstraints()
H A DR600ISelLowering.cpp2083 int OperandIdx[] = { in PostISelFolding() local
2114 if (OperandIdx[i] < 0) in PostISelFolding()
2116 SDValue &Src = Ops[OperandIdx[i] - 1]; in PostISelFolding()
2120 int SelIdx = TII->getSelIdx(Opcode, OperandIdx[i]); in PostISelFolding()
2136 int OperandIdx[] = { in PostISelFolding() local
2152 if (OperandIdx[i] < 0) in PostISelFolding()
2154 SDValue &Src = Ops[OperandIdx[i] - 1]; in PostISelFolding()
2159 int SelIdx = TII->getSelIdx(Opcode, OperandIdx[i]); in PostISelFolding()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrItineraries.h169 unsigned OperandIdx) const { in getOperandCycle()
175 if ((FirstIdx + OperandIdx) >= LastIdx) in getOperandCycle()
178 return OperandCycles[FirstIdx + OperandIdx];
167 getOperandCycle(unsigned ItinClassIndx,unsigned OperandIdx) getOperandCycle() argument
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCanonicalizeFreezeInLoops.cpp214 unsigned OperandIdx = in run() local
216 InsertFreezeAndForgetFromSCEV(PHI->getOperandUse(OperandIdx)); in run()
H A DScalarEvolutionExpander.cpp2003 WorkItem.ParentOpcode, WorkItem.OperandIdx, Imm, Ty, CostKind); in isHighCostExpansionHelper()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugFrame.h424 uint32_t OperandIdx) const;
427 uint32_t OperandIdx) const;
526 const Instruction &Instr, unsigned OperandIdx,
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h35 ParentOpcode(Opc), OperandIdx(Idx), S(S) { } in SCEVOperand()
39 int OperandIdx; member
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp1204 unsigned OperandIdx = 0; in finalizeDebugInstrRefs() local
1208 ++OperandIdx; in finalizeDebugInstrRefs()
1210 assert(OperandIdx < DefMI.getNumOperands()); in finalizeDebugInstrRefs()
1214 MO.ChangeToDbgInstrRef(ID, OperandIdx); in finalizeDebugInstrRefs()
H A DCodeGenPrepare.cpp7734 unsigned OperandIdx) { in canCauseUndefinedBehavior() argument
7737 if (OperandIdx != 1) in canCauseUndefinedBehavior()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp896 unsigned OperandIdx = 0; in EmitDbgInstrRef() local
900 ++OperandIdx; in EmitDbgInstrRef()
902 assert(OperandIdx < DefMI->getNumOperands()); in EmitDbgInstrRef()
906 MOs.push_back(MachineOperand::CreateDbgInstrRef(InstrNum, OperandIdx)); in EmitDbgInstrRef()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DSandboxIR.cpp226 void User::setOperand(unsigned OperandIdx, Value *Operand) { in setOperand() argument
230 Tracker.track(std::make_unique<UseSet>(getOperandUse(OperandIdx), Tracker)); in setOperand()
232 cast<llvm::User>(Val)->setOperand(OperandIdx, Operand->Val); in setOperand()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1223 auto UpdateOperand = [&](int OperandIdx) { in findBasePointer() argument
1224 Value *InVal = BdvIE->getOperand(OperandIdx); in findBasePointer()
1226 BaseIE->setOperand(OperandIdx, Base); in findBasePointer()
1233 auto UpdateOperand = [&](int OperandIdx) { in findBasePointer() argument
1234 Value *InVal = BdvSV->getOperand(OperandIdx); in findBasePointer()
1236 BaseSV->setOperand(OperandIdx, Base); in findBasePointer()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp3807 auto getVRegIdx = [&](unsigned, unsigned OperandIdx) { in validateVOPDRegBankConstraints() argument
3808 const MCOperand &Opr = Inst.getOperand(OperandIdx); in validateVOPDRegBankConstraints()
7019 unsigned OperandIdx[4]; in cvtExp() local
7029 OperandIdx[SrcIdx] = Inst.size(); in cvtExp()
7037 OperandIdx[SrcIdx] = Inst.size(); in cvtExp()
7060 Inst.getOperand(OperandIdx[1]) = Inst.getOperand(OperandIdx[2]); in cvtExp()
7061 Inst.getOperand(OperandIdx[2]).setReg(AMDGPU::NoRegister); in cvtExp()
7062 Inst.getOperand(OperandIdx[3]).setReg(AMDGPU::NoRegister); in cvtExp()
7066 if (Inst.getOperand(OperandIdx[i]).getReg() != AMDGPU::NoRegister) { in cvtExp()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DSandboxIR.h388 virtual void setOperand(unsigned OperandIdx, Value *Operand);
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp1883 unsigned OperandIdx = Commuted ? 2 : 1; in hasReassociableSibling() local
1885 *MRI.getVRegDef(Inst.getOperand(OperandIdx).getReg()); in hasReassociableSibling()
H A DRISCVISelLowering.cpp14642 NodeExtensionHelper(SDNode *Root, unsigned OperandIdx, SelectionDAG &DAG, in NodeExtensionHelper()
14647 assert(OperandIdx < 2 && "Requesting something else than LHS or RHS"); in NodeExtensionHelper()
14649 OrigOperand = Root->getOperand(OperandIdx); in NodeExtensionHelper()
14663 if (OperandIdx == 1) { in NodeExtensionHelper()