Searched defs:isImm (Results 1 - 7 of 7) 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/lib/Target/Sparc/Disassembler/
H A DSparcDisassembler.cpp275 bool isImm = fieldFromInstruction(insn, 13, 1); local
278 if (isImm)
296 if (isImm)
391 unsigned isImm = fieldFromInstruction(insn, 13, 1); local
394 if (isImm)
410 if (isImm)
424 unsigned isImm = fieldFromInstruction(insn, 13, 1); local
427 if (isImm)
438 if (isImm)
453 unsigned isImm local
[all...]
/external/llvm/include/llvm/CodeGen/
H A DMachineOperand.h228 /// isImm - Tests if this is a MO_Immediate operand.
229 bool isImm() const { return OpKind == MO_Immediate; } function in class:llvm::MachineOperand
408 assert(isImm() && "Wrong MachineOperand accessor");
505 assert(isImm() && "Wrong MachineOperand mutator");
/external/llvm/utils/TableGen/
H A DCodeGenInstruction.h320 bool isImm() const { return Kind == K_Imm; } function in struct:llvm::CodeGenInstAlias::ResultOperand
325 int64_t getImm() const { assert(isImm()); return Imm; }
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCCodeEmitter.cpp526 } else if (MO.isImm()) {
574 if (MO.isImm()) return MO.getImm();
670 if (MCOp1.isImm() && MCOp2.isReg() &&
1004 if (MO.isImm())
1149 bool isImm = MO.getReg() == 0; local
1152 if (!isImm)
1154 return Imm8 | (isAdd << 8) | (isImm << 9);
1185 bool isImm = MO1.getReg() == 0; local
1188 if (!isImm)
1190 return (Rn << 9) | Imm8 | (isAdd << 8) | (isImm << 1
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp253 bool isImm() const { return Kind == CV_Immediate; } function in class:__anon26012::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/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp192 bool isImm() const override {
195 bool isImm(int64_t MinValue, int64_t MaxValue) const { function in class:__anon26144::SystemZOperand
283 bool isU4Imm() const { return isImm(0, 15); }
284 bool isU6Imm() const { return isImm(0, 63); }
285 bool isU8Imm() const { return isImm(0, 255); }
286 bool isS8Imm() const { return isImm(-128, 127); }
287 bool isU16Imm() const { return isImm(0, 65535); }
288 bool isS16Imm() const { return isImm(-32768, 32767); }
289 bool isU32Imm() const { return isImm(0, (1LL << 32) - 1); }
290 bool isS32Imm() const { return isImm(
[all...]

Completed in 237 milliseconds