Searched refs:isImm (Results 26 - 50 of 236) sorted by relevance

12345678910

/openbsd-current/gnu/llvm/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchInstPrinter.cpp73 if (MO.isImm()) {
/openbsd-current/gnu/llvm/llvm/include/llvm/MC/MCParser/
H A DMCParsedAsmOperand.h56 /// isImm - Is this an immediate operand?
57 virtual bool isImm() const = 0;
/openbsd-current/gnu/llvm/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp164 assert(isImm() && "Invalid type access!");
196 bool isImm() const override { return Kind == IMMEDIATE; }
213 if (!isImm())
227 bool isCallTarget() { return isImm() || isToken(); }
230 if (!isImm())
253 if (!isImm())
266 if (!isImm())
290 if (!isImm())
314 if (!isImm())
327 if (!isImm())
[all...]
/openbsd-current/gnu/llvm/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...]
/openbsd-current/gnu/llvm/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYMCCodeEmitter.cpp34 assert(MO.isImm() && "Unexpected MO type.");
43 assert(MO.isImm() && "Unexpected MO type.");
55 assert(MSB.isImm() && LSB.isImm() && "Unexpected MO type.");
251 if (MO.isImm())
263 assert(MI.getOperand(Idx + 1).isImm() && "Unexpected MO type.");
H A DCSKYMCCodeEmitter.h54 if (MO.isImm())
92 assert(MO.isImm() && "Unexpected MO type.");
104 if (MO.isImm())
/openbsd-current/gnu/llvm/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaMCCodeEmitter.cpp150 if (MO.isImm()) {
165 if (MO.isImm())
178 if (MO.isImm())
202 if (MO.isImm()) {
223 if (MO.isImm()) {
242 assert(MI.getOperand(OpNo + 1).isImm());
/openbsd-current/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp344 bool isImm() const { return Kind == CV_Immediate; } function in class:__anon2854::CountValue
357 assert(isImm() && "Wrong CountValue accessor");
363 if (isImm()) { OS << Contents.ImmVal; }
682 if (Op2.isImm() || Op1.getReg() == IVReg)
754 if (!Start->isReg() && !Start->isImm())
756 if (!End->isReg() && !End->isImm())
782 if (Start->isImm() && End->isImm()) {
854 bool RegToImm = Start->isReg() && End->isImm(); // for (reg..imm)
858 if (Start->isImm())
[all...]
H A DHexagonInstrInfo.cpp167 if (Op.isImm()) {
307 if (!OpOff.isImm() || OpOff.getImm() != 0)
321 if (!OpOff.isImm() || OpOff.getImm() != 0)
355 if (!OpOff.isImm() || OpOff.getImm() != 0)
373 if (!OpOff.isImm() || OpOff.getImm() != 0)
642 if (!Cond.empty() && Cond[0].isImm())
686 } else if(Cond[2].isImm()) {
1636 assert(Cond[0].isImm() && "First entry in the cond vector not imm-val");
1958 if (!Op2.isImm())
2021 if (!MIa.getOperand(OffsetPosA).isImm() ||
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVInstPrinter.cpp92 if (MO.isImm()) {
106 if (!MO.isImm())
/openbsd-current/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64MachineScheduler.cpp29 return AArch64InstrInfo::getLdStOffsetOp(*MI).isImm();
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUGlobalISelUtils.cpp26 if (Op.isImm())
H A DGCNDPPCombine.cpp186 if (Op1.isImm())
213 assert(RowMaskOpnd && RowMaskOpnd->isImm());
215 assert(BankMaskOpnd && BankMaskOpnd->isImm());
397 assert(OldOpnd->isImm());
452 if (!CombBCZ && OldOpndValue && OldOpndValue->isImm()) {
481 assert(Imm->isImm());
507 assert(DppCtrl && DppCtrl->isImm());
517 assert(RowMaskOpnd && RowMaskOpnd->isImm());
519 assert(BankMaskOpnd && BankMaskOpnd->isImm());
524 assert(BCZOpnd && BCZOpnd->isImm());
[all...]
H A DSIFoldOperands.cpp42 if (FoldOp->isImm()) {
56 bool isImm() const { function in struct:__anon2659::FoldCandidate
194 if (Fold.isImm()) {
242 if ((Fold.isImm() || Fold.isFI() || Fold.isGlobal()) && Fold.needsShrink()) {
286 if (Fold.isImm()) {
356 if (OpToFold->isImm()) {
407 (OpToFold->isImm() || OpToFold->isFI() || OpToFold->isGlobal())) {
481 if (Op->isImm()) {
511 if (OpToFold.isImm() && TII->isInlineConstant(OpToFold, OpTy) &&
532 if (DefOp.isImm()
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/XCore/MCTargetDesc/
H A DXCoreInstPrinter.cpp84 if (Op.isImm()) {
/openbsd-current/gnu/llvm/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp346 bool isImm() const override { return Kind == KindTy::Immediate; }
384 if (!isImm())
401 if (!isImm() || evaluateConstantImm(getImm(), Imm, VK))
411 if (!isImm() || evaluateConstantImm(getImm(), Imm, VK))
422 if (!isImm() || evaluateConstantImm(getImm(), Imm, VK))
432 if (!isImm() || evaluateConstantImm(getImm(), Imm, VK))
443 if (!isImm())
465 if (!isImm())
497 if (!isImm())
512 if (!isImm())
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kMCCodeEmitter.cpp119 if (MCO.isImm()) {
145 if (MCO.isImm()) {
187 } else if (Op.isImm()) {
/openbsd-current/gnu/llvm/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcInstPrinter.cpp68 if (MI->getOperand(2).isImm() &&
118 if (MO.isImm()) {
164 (Op2.isImm() && Op2.getImm() == 0));
/openbsd-current/gnu/llvm/llvm/include/llvm/MC/
H A DMCInst.h62 bool isImm() const { return Kind == kImmediate; } function in class:llvm::MCOperand
81 assert(isImm() && "This is not an immediate");
86 assert(isImm() && "This is not an immediate");
/openbsd-current/gnu/llvm/llvm/lib/Target/ARC/
H A DARCInstrInfo.cpp50 return Op.isImm() && Op.getImm() == 0;
73 (MI.getOperand(2).isImm()) && // the imm is zero
92 (MI.getOperand(2).isImm()) && // the imm is zero
385 int BccOpc = Cond[1].isImm() ? ARC::BRcc_ru6_p : ARC::BRcc_rr_p;
437 if (!MI.getOperand(BasePos).isReg() || !MI.getOperand(OffsetPos).isImm())
H A DARCOptAddrMode.cpp141 assert(MI.getOperand(2).isImm() && "Expected immediate operand");
187 if (!MO.isImm())
214 if (!Offset.isImm()) {
356 assert(Incr.isImm() && "Expected immediate increment");
388 assert(MO.isImm() && "expected immediate operand");
/openbsd-current/gnu/llvm/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp235 bool isImm() const override {
238 bool isImm(int64_t MinValue, int64_t MaxValue) const { function in class:__anon3098::SystemZOperand
367 bool isAnyReg() const { return (isReg() || isImm(0, 15)); }
378 bool isU1Imm() const { return isImm(0, 1); }
379 bool isU2Imm() const { return isImm(0, 3); }
380 bool isU3Imm() const { return isImm(0, 7); }
381 bool isU4Imm() const { return isImm(0, 15); }
382 bool isU6Imm() const { return isImm(0, 63); }
383 bool isU8Imm() const { return isImm(0, 255); }
384 bool isS8Imm() const { return isImm(
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp208 return MO.isImm() || MO.isCPI() || MO.isJTI() || MO.isSymbol() ||
217 return (MO1.isImm() && MO2.isImm()) ||
413 return Op1.isImm() ? Op1.getImm() - Op2.getImm()
470 if (MI.getOperand(MemOpNo + X86::AddrDisp).isImm() &&
682 if (Op.isImm())
/openbsd-current/gnu/llvm/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCInstPrinter.cpp427 if (MI->getOperand(OpNo).isImm())
436 if (MI->getOperand(OpNo).isImm()) {
448 if (MI->getOperand(OpNo).isImm())
458 if (!MI->getOperand(OpNo).isImm())
484 if (!MI->getOperand(OpNo).isImm())
659 if (Op.isImm()) {
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/MCA/
H A DAMDGPUCustomBehaviour.cpp52 } else if (MCOp.isImm()) {
191 assert(OpImm && OpImm->isImm() && "Second operand should be an immediate.");
314 if (Op == nullptr || !Op->isImm() || !Op->getImm())

Completed in 371 milliseconds

12345678910