Searched defs:isImm (Results 1 - 11 of 11) sorted by relevance

/external/llvm/include/llvm/MC/
H A DMCInst.h57 bool isImm() const { return Kind == kImmediate; } function in class:llvm::MCOperand
75 assert(isImm() && "This is not an immediate");
79 assert(isImm() && "This is not an immediate");
/external/llvm/include/llvm/CodeGen/
H A DMachineOperand.h225 /// isImm - Tests if this is a MO_Immediate operand.
226 bool isImm() const { return OpKind == MO_Immediate; } function in class:llvm::MachineOperand
403 assert(isImm() && "Wrong MachineOperand accessor");
489 assert(isImm() && "Wrong MachineOperand mutator");
/external/llvm/utils/TableGen/
H A DCodeGenInstruction.h311 bool isImm() const { return Kind == K_Imm; } function in struct:llvm::CodeGenInstAlias::ResultOperand
316 int64_t getImm() const { assert(isImm()); return Imm; }
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCCodeEmitter.cpp435 } else if (MO.isImm()) {
481 if (MO.isImm()) return MO.getImm();
572 if (MCOp1.isImm() && MCOp2.isReg() &&
897 if (MO.isImm())
1041 bool isImm = MO.getReg() == 0; local
1044 if (!isImm)
1046 return Imm8 | (isAdd << 8) | (isImm << 9);
1076 bool isImm = MO1.getReg() == 0; local
1079 if (!isImm)
1081 return (Rn << 9) | Imm8 | (isAdd << 8) | (isImm << 1
[all...]
/external/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp261 bool isImm() const { return Kind == k_Immediate; } function in class:__anon21316::AArch64Operand
317 if (!isImm()) return false;
331 if (!isImm()) return false;
341 if (!isImm()) return false;
366 if (!isImm()) return false;
383 if (!isImm()) return false;
391 if (!isImm()) return false;
403 if (!isImm()) return false;
426 if (!isImm()) return false;
586 if (!isImm()) retur
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp253 bool isImm() const { return Kind == CV_Immediate; } function in class:__anon21374::CountValue
264 assert(isImm() && "Wrong CountValue accessor");
271 if (isImm()) { OS << Contents.ImmVal; }
528 if (Op2.isImm() || Op1.getReg() == IVReg)
561 assert(EndValue->isImm() && "Unrecognized latch comparison");
569 assert(InitialValue->isImm());
635 assert (Start->isReg() || Start->isImm());
636 assert (End->isReg() || End->isImm());
652 if (Start->isImm() && End->isImm()) {
[all...]
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp306 bool isImm() const { return Kind == k_Immediate; } function in class:__anon21399::MipsOperand
468 if (Op.isImm()) {
530 assert(ImmOp.isImm() && "expected immediate operand kind");
574 assert(ImmOp.isImm() && "expected immediate operand kind");
616 assert(ImmOp.isImm() && "expected immediate operand kind");
662 assert(Inst.getOperand(2).isImm() && "expected immediate operand kind");
/external/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp351 bool isImm() const { return Kind == Immediate || Kind == Expression; } function in struct:__anon21425::PPCOperand
1360 if (Op->isImm() && Op->getImm() == ImmVal)
/external/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp191 virtual bool isImm() const LLVM_OVERRIDE {
194 bool isImm(int64_t MinValue, int64_t MaxValue) const { function in class:__anon21480::SystemZOperand
280 bool isU4Imm() const { return isImm(0, 15); }
281 bool isU6Imm() const { return isImm(0, 63); }
282 bool isU8Imm() const { return isImm(0, 255); }
283 bool isS8Imm() const { return isImm(-128, 127); }
284 bool isU16Imm() const { return isImm(0, 65535); }
285 bool isS16Imm() const { return isImm(-32768, 32767); }
286 bool isU32Imm() const { return isImm(0, (1LL << 32) - 1); }
287 bool isS32Imm() const { return isImm(
[all...]
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp714 bool isImm() const { return Kind == Immediate; } function in struct:__anon21497::X86Operand
717 if (!isImm())
731 if (!isImm())
745 if (!isImm())
759 if (!isImm())
773 if (!isImm())
2123 if (Op1->isImm() && isa<MCConstantExpr>(Op1->getImm()) &&
2130 if (Op1->isImm() && isa<MCConstantExpr>(Op1->getImm()) &&
2142 if (Op1->isImm() && isa<MCConstantExpr>(Op1->getImm()) &&
2167 if (!Inst.getOperand(0).isImm() ||
[all...]
/external/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp562 assert(isImm() && "Invalid access!");
598 bool isImm() const { return Kind == k_Immediate; } function in class:__anon21351::ARMOperand
603 if (!isImm()) return false;
619 if (isImm()) {
634 if (!isImm()) return false;
641 if (!isImm()) return false;
648 if (!isImm()) return false;
655 if (!isImm()) return false;
662 if (!isImm()) return false;
669 if (!isImm()) retur
[all...]

Completed in 441 milliseconds