Searched refs:isImm (Results 1 - 25 of 193) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
H A DVEInstPrinter.cpp64 if (MO.isImm()) {
89 if (MI->getOperand(OpNum + 2).isImm() &&
95 if (MI->getOperand(OpNum + 1).isImm() &&
97 MI->getOperand(OpNum).isImm() && MI->getOperand(OpNum).getImm() == 0) {
98 if (MI->getOperand(OpNum + 2).isImm() &&
106 if (MI->getOperand(OpNum + 1).isImm() &&
112 if (MI->getOperand(OpNum).isImm() && MI->getOperand(OpNum).getImm() == 0) {
133 if (MI->getOperand(OpNum + 1).isImm() &&
139 if (MI->getOperand(OpNum).isImm() && MI->getOperand(OpNum).getImm() == 0) {
140 if (MI->getOperand(OpNum + 1).isImm()
[all...]
H A DVEMCCodeEmitter.cpp106 if (MO.isImm())
130 if (MO.isReg() || MO.isImm())
142 if (MO.isImm())
152 if (MO.isImm())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFInstPrinter.cpp57 } else if (Op.isImm()) {
75 if (OffsetOp.isImm()) {
89 if (Op.isImm())
100 if (Op.isImm()) {
H A DBPFMCCodeEmitter.cpp92 if (MO.isImm())
139 uint64_t Imm = MO.isImm() ? MO.getImm() : 0;
167 assert(Op2.isImm() && "Second operand is not immediate.");
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCCodeEmitter.cpp207 assert(MO.isImm() && "did not expect relocated expression");
218 if (MO.isImm())
239 if (MO.isImm())
270 if (MO.isImm())
301 if (MO.isImm())
323 if (MO.isImm())
351 if (MO.isImm())
371 if (MO.isImm())
393 if (MO.isImm())
419 assert(MO.isImm()
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.cpp40 (MI.getOperand(0).isImm() && MI.getOperand(0).getImm() == 15) &&
41 (MI.getOperand(1).isImm() && MI.getOperand(1).getImm() == 0) &&
44 (MI.getOperand(3).isImm() && MI.getOperand(3).getImm() == 7)) {
45 if ((MI.getOperand(5).isImm() && MI.getOperand(5).getImm() == 4)) {
46 if (MI.getOperand(4).isImm() && MI.getOperand(4).getImm() == 5) {
53 if (MI.getOperand(4).isImm() && MI.getOperand(4).getImm() == 10) {
60 if (MI.getOperand(4).isImm() && MI.getOperand(4).getImm() == 10 &&
61 (MI.getOperand(5).isImm() && MI.getOperand(5).getImm() == 5)) {
67 ((MI.getOperand(0).isImm() && MI.getOperand(0).getImm() == 10) ||
68 (MI.getOperand(0).isImm()
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCCodeEmitter.cpp114 if (MCOp.isImm())
145 ((Op2.isImm() && Op2.getImm() != 0) ||
153 if (LPAC::modifiesOp(AluCode) && ((Op2.isImm() && Op2.getImm() != 0) ||
194 assert((Op2.isImm() || Op2.isExpr()) &&
200 if (Op2.isImm()) {
230 assert(AluMCOp.isImm() && "Third operator is not immediate.");
265 assert((Op2.isImm() || Op2.isExpr()) &&
271 if (Op2.isImm()) {
292 if (MCOp.isReg() || MCOp.isImm())
H A DLanaiInstPrinter.cpp155 else if (Op.isImm())
166 if (Op.isImm()) {
180 if (Op.isImm()) {
192 if (Op.isImm()) {
204 if (Op.isImm()) {
229 assert((OffsetOp.isImm() || OffsetOp.isExpr()) && "Immediate expected");
230 if (OffsetOp.isImm()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430InstPrinter.cpp40 if (Op.isImm()) {
58 } else if (Op.isImm()) {
87 assert(Disp.isImm() && "Expected immediate in displacement field");
H A DMSP430MCCodeEmitter.cpp108 if (MO.isImm()) {
128 if (MO2.isImm()) {
156 if (MO.isImm())
169 assert(MO.isImm() && "Expr operand expected");
188 assert(MO.isImm() && "Immediate operand expected");
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARC/MCTargetDesc/
H A DARCInstPrinter.cpp148 if (Op.isImm()) {
162 assert(offset.isImm() && "Offset should be immediate.");
171 assert(Op.isImm() && "Predicate operand is immediate.");
178 assert(Op.isImm() && "Predicate operand is immediate.");
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCInst.cpp26 else if (isImm())
40 if (isImm()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCCodeEmitter.cpp104 assert(MO.isImm());
157 if (OffsetOp.isImm()) {
174 assert(MI.getOperand(OpNo).isImm());
201 assert(MO.isImm());
216 assert(MO.isImm());
255 if (MO.isImm()) return static_cast<unsigned>(MO.getImm());
H A DAVRInstPrinter.cpp133 } else if (Op.isImm()) {
157 if (Op.isImm()) {
183 if (OffsetOp.isImm()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCCodeEmitter.cpp62 assert(Inst.getOperand(2).isImm());
242 if (MO.isImm()) return MO.getImm() >> 2;
264 if (MO.isImm()) return MO.getImm() >> 1;
286 if (MO.isImm())
309 if (MO.isImm())
332 if (MO.isImm()) return MO.getImm() >> 1;
353 if (MO.isImm()) return MO.getImm() >> 1;
374 if (MO.isImm()) return MO.getImm() >> 1;
396 if (MO.isImm()) return MO.getImm() >> 2;
418 if (MO.isImm()) retur
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCCodeEmitter.cpp47 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI);
61 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI);
74 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI);
87 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI);
99 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI);
112 if (MO.isReg() || MO.isImm())
130 if (MO.isImm())
148 if (MO.isImm())
166 if (MO.isImm()) {
192 assert(MI.getOperand(OpNo + 1).isImm()
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiMemAluCombiner.cpp186 (Op.isImm() && Op.getImm() == 0));
247 assert((AluOffset.isReg() || AluOffset.isImm()) &&
252 unsigned NewOpc = mergedOpcode(MemInstr->getOpcode(), AluOffset.isImm());
266 else if (AluOffset.isImm())
301 if (Op2.isImm()) {
310 if (Offset.isImm() &&
375 assert(AluOperand.isImm() && "Unexpected memory operator type");
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCCodeEmitter.cpp130 if (MO.isImm())
154 if (MO.isReg() || MO.isImm())
189 if (MO.isReg() || MO.isImm())
202 if (MO.isReg() || MO.isImm())
215 if (MO.isReg() || MO.isImm())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp48 if (FoldOp->isImm()) {
62 bool isImm() const { function in struct:__anon3971::FoldCandidate
192 if (Fold.isImm()) {
240 if ((Fold.isImm() || Fold.isFI() || Fold.isGlobal()) && Fold.needsShrink()) {
284 if (Fold.isImm()) {
361 if (Opc == AMDGPU::S_SETREG_B32 && OpToFold->isImm()) {
405 (OpToFold->isImm() || OpToFold->isFI() || OpToFold->isGlobal())) {
442 if (OpToFold->isImm()) {
490 if (Op->isImm()) {
521 if (OpToFold.isImm()
[all...]
H A DAMDGPUGlobalISelUtils.cpp25 if (Op.isImm())
H A DGCNDPPCombine.cpp154 if (Op1.isImm())
272 assert(OldOpnd->isImm());
329 if (!CombBCZ && OldOpndValue && OldOpndValue->isImm()) {
356 assert(Imm->isImm());
378 assert(RowMaskOpnd && RowMaskOpnd->isImm());
380 assert(BankMaskOpnd && BankMaskOpnd->isImm());
385 assert(BCZOpnd && BCZOpnd->isImm());
399 // We could use: assert(!OldOpndValue || OldOpndValue->isImm())
402 assert(!OldOpndValue || OldOpndValue->isImm() || OldOpndValue == OldOpnd);
409 if (!OldOpndValue || !OldOpndValue->isImm()) {
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCParsedAsmOperand.h56 /// isImm - Is this an immediate operand?
57 virtual bool isImm() const = 0;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp162 assert(isImm() && "Invalid type access!");
194 bool isImm() const override { return Kind == IMMEDIATE; }
211 if (!isImm())
225 bool isCallTarget() { return isImm() || isToken(); }
228 if (!isImm())
251 if (!isImm())
264 if (!isImm())
288 if (!isImm())
312 if (!isImm())
325 if (!isImm())
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/Disassembler/
H A DSparcDisassembler.cpp375 bool isImm = fieldFromInstruction(insn, 13, 1); local
380 if (isImm)
398 if (isImm)
532 unsigned isImm = fieldFromInstruction(insn, 13, 1); local
535 if (isImm)
551 if (isImm)
565 unsigned isImm = fieldFromInstruction(insn, 13, 1); local
568 if (isImm)
579 if (isImm)
594 unsigned isImm local
633 unsigned isImm = fieldFromInstruction(insn, 13, 1); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86InstComments.cpp662 if (MI->getOperand(NumOperands - 1).isImm())
678 if (MI->getOperand(NumOperands - 1).isImm())
694 if (MI->getOperand(NumOperands - 1).isImm())
708 if (MI->getOperand(NumOperands - 1).isImm())
726 if (MI->getOperand(NumOperands - 1).isImm())
820 if (MI->getOperand(NumOperands - 1).isImm())
838 if (MI->getOperand(NumOperands - 1).isImm())
852 if (MI->getOperand(NumOperands - 1).isImm())
870 if (MI->getOperand(NumOperands - 1).isImm())
888 if (MI->getOperand(NumOperands - 1).isImm())
[all...]

Completed in 217 milliseconds

12345678