| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonOptAddrMode.cpp | 578 MIB.add(ImmOp); in changeLoad() 587 const GlobalValue *GV = ImmOp.getGlobal(); in changeLoad() 605 MIB.add(ImmOp); in changeLoad() 637 MIB.add(ImmOp); in changeStore() 645 const GlobalValue *GV = ImmOp.getGlobal(); in changeStore() 657 MIB.add(ImmOp); in changeStore() 721 const GlobalValue *GV = ImmOp.getGlobal(); in changeAddAsl() 723 ImmOp.getTargetFlags()); in changeAddAsl() 728 const GlobalValue *GV = ImmOp.getGlobal(); in changeAddAsl() 752 Changed = changeLoad(UseMI, ImmOp, UseMOnum); in xformUseMI() [all …]
|
| H A D | HexagonConstExtenders.cpp | 1780 const MachineOperand &ImmOp = MI.getOperand(IsAddi ? 2 : 1); in replaceInstrExpr() local 1781 assert(Ex.Rs == RegOp && EV == ImmOp && Ex.Neg != IsAddi && in replaceInstrExpr() 1897 MachineOperand &ImmOp = P.first->getOperand(J+1); in replaceInstr() local 1898 ImmOp.setImm(ImmOp.getImm() + Diff); in replaceInstr()
|
| H A D | HexagonAsmPrinter.cpp | 255 MCOperand &ImmOp = Inst.getOperand(i); in ScaleVectorOffset() local 256 const auto *HE = static_cast<const HexagonMCExpr*>(ImmOp.getExpr()); in ScaleVectorOffset()
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/ |
| H A D | VEInstrPatternsVec.td | 43 multiclass vbrd_elem32<ValueType v32, ValueType s32, SDPatternOperator ImmOp, 46 def : Pat<(v32 (vec_broadcast (s32 ImmOp:$sy), i32:$vl)), 55 SDPatternOperator ImmOp, SDNodeXForm ImmCast> { 57 def : Pat<(v64 (vec_broadcast (s64 ImmOp:$sy), i32:$vl)), 100 SDPatternOperator ImmOp, SDNodeXForm ImmCast, 102 defm : vbrd_elem32<v32, s32, ImmOp, ImmCast, SuperRegCast>; 107 SDPatternOperator ImmOp, SDNodeXForm ImmCast> { 108 defm : vbrd_elem64<v64, s64, ImmOp, ImmCast>;
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineDebugify.cpp | 128 auto ImmOp = MachineOperand::CreateImm(NextImm++); in applyDebugifyMetadataToMachineFunction() local 130 /*IsIndirect=*/false, ImmOp, LocalVar, Expr); in applyDebugifyMetadataToMachineFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86CallFrameOptimization.cpp | 291 const MachineOperand &ImmOp = MI->getOperand(X86::AddrNumOperands); in classifyInstruction() local 292 return ImmOp.getImm() == 0 ? Convert : Exit; in classifyInstruction() 297 const MachineOperand &ImmOp = MI->getOperand(X86::AddrNumOperands); in classifyInstruction() local 298 return ImmOp.getImm() == -1 ? Convert : Exit; in classifyInstruction()
|
| H A D | X86MCInstLower.cpp | 327 unsigned ImmOp = Inst.getNumOperands() - 1; in SimplifyShortImmForm() local 329 (Inst.getOperand(ImmOp).isImm() || Inst.getOperand(ImmOp).isExpr()) && in SimplifyShortImmForm() 341 MCOperand Saved = Inst.getOperand(ImmOp); in SimplifyShortImmForm()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVMergeBaseOffset.cpp | 365 MachineOperand &ImmOp = LoADDI.getOperand(2); in detectAndFoldOffset() local 366 ImmOp.setOffset(*CommonOffset); in detectAndFoldOffset() 372 UseMI.addOperand(ImmOp); in detectAndFoldOffset()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BPFMISimplifyPatchable.cpp | 132 const MachineOperand &ImmOp = DefInst->getOperand(2); in checkADDrr() local 133 if (!ImmOp.isImm() || ImmOp.getImm() != 0) in checkADDrr()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ThumbRegisterInfo.cpp | 394 MachineOperand &ImmOp = MI.getOperand(ImmIdx); in rewriteFrameIndex() local 412 ImmOp.ChangeToImmediate(ImmedOffset); in rewriteFrameIndex() 429 ImmOp.ChangeToImmediate(0); in rewriteFrameIndex() 433 ImmOp.ChangeToImmediate(ImmedOffset); in rewriteFrameIndex()
|
| H A D | ARMBaseInstrInfo.h | 872 unsigned ImmOp; in getAddSubImmediate() local 875 ImmOp = 2; in getAddSubImmediate() 879 ImmOp = 2; in getAddSubImmediate() 884 ImmOp = 3; in getAddSubImmediate() 890 return Scale * MI.getOperand(ImmOp).getImm(); in getAddSubImmediate()
|
| H A D | Thumb2InstrInfo.cpp | 712 MachineOperand &ImmOp = MI.getOperand(FrameRegIdx+1); in rewriteT2FrameIndex() local 739 ImmOp.ChangeToImmediate(ImmedOffset); in rewriteT2FrameIndex() 757 ImmOp.ChangeToImmediate(ImmedOffset); in rewriteT2FrameIndex()
|
| /llvm-project-15.0.7/llvm/lib/Target/AVR/ |
| H A D | AVRISelDAGToDAG.cpp | 236 SDValue ImmOp = Op->getOperand(1); in SelectInlineAsmMemoryOperand() local 237 ConstantSDNode *ImmNode = dyn_cast<ConstantSDNode>(ImmOp); in SelectInlineAsmMemoryOperand() 277 Disp = ImmOp; in SelectInlineAsmMemoryOperand()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/AsmParser/ |
| H A D | BPFAsmParser.cpp | 94 struct ImmOp { struct 102 ImmOp Imm;
|
| /llvm-project-15.0.7/llvm/lib/Target/LoongArch/AsmParser/ |
| H A D | LoongArchAsmParser.cpp | 103 struct ImmOp { struct in __anon1ba74a0a0111::LoongArchOperand 111 struct ImmOp Imm;
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIFoldOperands.cpp | 936 MachineOperand ImmOp = MachineOperand::CreateImm(Imm.getSExtValue()); in foldOperand() local 937 tryAddToFoldList(FoldList, UseMI, UseOpIdx, &ImmOp, TII); in foldOperand() 1427 const MachineOperand *ImmOp = nullptr; in isOMod() local 1431 ImmOp = Src0; in isOMod() 1434 ImmOp = Src1; in isOMod() 1439 int OMod = getOModValue(Op, ImmOp->getImm()); in isOMod()
|
| H A D | SIFixSGPRCopies.cpp | 318 const MachineOperand *ImmOp = in isSafeToFoldImmIntoCopy() local 320 if (!ImmOp->isImm()) in isSafeToFoldImmIntoCopy() 337 Imm = ImmOp->getImm(); in isSafeToFoldImmIntoCopy()
|
| H A D | AMDGPUInstructionSelector.cpp | 2188 MachineOperand &ImmOp = I.getOperand(1); in selectG_CONSTANT() local 2193 if (ImmOp.isFPImm()) { in selectG_CONSTANT() 2194 const APInt &Imm = ImmOp.getFPImm()->getValueAPF().bitcastToAPInt(); in selectG_CONSTANT() 2195 ImmOp.ChangeToImmediate(Imm.getZExtValue()); in selectG_CONSTANT() 2196 } else if (ImmOp.isCImm()) { in selectG_CONSTANT() 2197 ImmOp.ChangeToImmediate(ImmOp.getCImm()->getSExtValue()); in selectG_CONSTANT()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86Operand.h | 57 struct ImmOp { struct 85 struct ImmOp Imm;
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsMSAInstrInfo.td | 1167 dag InOperandList = (ins ROWS:$ws, ImmOp:$m); 1194 MSA_BIT_BINSXI_DESC_BASE<instr_asm, Ty, ImmOp, ROWD, ROWS, itin>; 1200 MSA_BIT_BINSXI_DESC_BASE<instr_asm, Ty, ImmOp, ROWD, ROWS, itin>; 1214 ValueType VecTy, Operand ImmOp, ImmLeaf Imm, 1218 dag InOperandList = (ins ROWS:$ws, ImmOp:$n); 1226 Operand ImmOp, ImmLeaf Imm, 1229 dag InOperandList = (ins ROWD:$wd_in, ROWS:$ws, ImmOp:$n); 1240 MSAPseudo<(outs RCD:$wd), (ins RCWS:$ws, ImmOp:$n), 1429 dag InOperandList = (ins ROWD:$wd_in, ROS:$rs, ImmOp:$n); 1439 MSAPseudo<(outs ROWD:$wd), (ins ROWD:$wd_in, ImmOp:$n, ROFS:$fs), [all …]
|
| H A D | MipsDSPInstrInfo.td | 334 Operand ImmOp, ImmLeaf immPat, InstrItinClass itin, 337 dag InOperandList = (ins ImmOp:$imm); 389 Operand ImmOp, SDPatternOperator Imm, 392 dag InOperandList = (ins GPR32Opnd:$rs, ImmOp:$sa, GPR32Opnd:$src);
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | MachineIRBuilder.h | 646 MachineInstrBuilder buildSExtInReg(const DstOp &Res, const SrcOp &Op, int64_t ImmOp) { in buildSExtInReg() argument 647 return buildInstr(TargetOpcode::G_SEXT_INREG, {Res}, {Op, SrcOp(ImmOp)}); in buildSExtInReg() 753 int64_t ImmOp);
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 126 struct ImmOp { struct 140 struct ImmOp Imm;
|
| /llvm-project-15.0.7/llvm/lib/Target/Sparc/AsmParser/ |
| H A D | SparcAsmParser.cpp | 250 struct ImmOp { struct in __anon07e578c20211::SparcOperand 263 struct ImmOp Imm;
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 179 struct ImmOp { struct in __anone15613a60211::VEOperand 206 struct ImmOp Imm;
|