Searched defs:isImm (Results 1 - 17 of 17) 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/AMDGPU/
H A DSIFoldOperands.cpp58 if (FoldOp->isImm()) {
67 bool isImm() const { function in struct:__anon12881::FoldCandidate
105 if (Fold.isImm()) {
205 bool FoldingImm = OpToFold.isImm();
319 bool FoldingImm = OpToFold.isImm();
371 if (!Fold.isImm()) {
/external/swiftshader/third_party/LLVM/include/llvm/MC/
H A DMCInst.h53 bool isImm() const { return Kind == kImmediate; } function in class:llvm::MCOperand
70 assert(isImm() && "This is not an immediate");
74 assert(isImm() && "This is not an immediate");
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
H A DPTXISelDAGToDAG.cpp56 bool isImm(const SDValue &operand);
200 isImm(Addr.getOperand(0)) || isImm(Addr.getOperand(1)))
244 if (isImm(Addr)) {
257 if (isImm(Addr))
272 if (isImm(Addr.getOperand(0)) && isImm(Addr.getOperand(1)))
337 bool PTXDAGToDAGISel::isImm(const SDValue &operand) { function in class:PTXDAGToDAGISel
/external/llvm/include/llvm/CodeGen/
H A DMachineOperand.h231 /// isImm - Tests if this is a MO_Immediate operand.
232 bool isImm() const { return OpKind == MO_Immediate; } function in class:llvm::MachineOperand
411 assert(isImm() && "Wrong MachineOperand accessor");
509 assert(isImm() && "Wrong MachineOperand mutator");
/external/llvm/lib/Target/Sparc/Disassembler/
H A DSparcDisassembler.cpp383 bool isImm = fieldFromInstruction(insn, 13, 1); local
388 if (isImm)
406 if (isImm)
540 unsigned isImm = fieldFromInstruction(insn, 13, 1); local
543 if (isImm)
559 if (isImm)
573 unsigned isImm = fieldFromInstruction(insn, 13, 1); local
576 if (isImm)
587 if (isImm)
602 unsigned isImm local
641 unsigned isImm = fieldFromInstruction(insn, 13, 1); local
[all...]
/external/llvm/utils/TableGen/
H A DCodeGenInstruction.h325 bool isImm() const { return Kind == K_Imm; } function in struct:llvm::CodeGenInstAlias::ResultOperand
330 int64_t getImm() const { assert(isImm()); return Imm; }
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp172 bool isImm() const { return Kind == Immediate; } function in struct:__anon18768::MBlazeOperand
370 if (!Offset.isReg() && !Offset.isImm()) {
/external/swiftshader/third_party/LLVM/utils/TableGen/
H A DCodeGenInstruction.h299 bool isImm() const { return Kind == K_Imm; } function in struct:llvm::CodeGenInstAlias::ResultOperand
304 int64_t getImm() const { assert(isImm()); return Imm; }
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCCodeEmitter.cpp539 } else if (MO.isImm()) {
587 if (MO.isImm()) return MO.getImm();
683 if (MCOp1.isImm() && MCOp2.isReg() &&
1016 if (MO.isImm())
1146 bool isImm = MO.getReg() == 0; local
1149 if (!isImm)
1151 return Imm8 | (isAdd << 8) | (isImm << 9);
1182 bool isImm = MO1.getReg() == 0; local
1185 if (!isImm)
1187 return (Rn << 9) | Imm8 | (isAdd << 8) | (isImm << 1
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DMachineOperand.h192 /// isImm - Tests if this is a MO_Immediate operand.
193 bool isImm() const { return OpKind == MO_Immediate; } function in class:llvm::MachineOperand
361 assert(isImm() && "Wrong MachineOperand accessor");
425 assert(isImm() && "Wrong MachineOperand mutator");
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
H A DARMMCCodeEmitter.cpp418 } else if (MO.isImm()) {
465 if (MO.isImm()) return MO.getImm();
556 if (MCOp1.isImm() && MCOp2.isReg() &&
848 if (MO.isImm())
977 bool isImm = MO.getReg() == 0; local
980 if (!isImm)
982 return Imm8 | (isAdd << 8) | (isImm << 9);
999 bool isImm = MO1.getReg() == 0; local
1002 if (!isImm)
1004 return (Rn << 9) | Imm8 | (isAdd << 8) | (isImm << 1
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp194 bool isImm() const { return Kind == Immediate; } function in struct:__anon18835::X86Operand
197 if (!isImm())
214 if (!isImm())
231 if (!isImm())
246 if (!isImm())
262 if (!isImm())
920 if (Op1->isImm() && isa<MCConstantExpr>(Op1->getImm()) &&
931 if (Op1->isImm() && isa<MCConstantExpr>(Op1->getImm()) &&
/external/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp313 bool isImm() const { return Kind == CV_Immediate; } function in class:__anon12993::CountValue
324 assert(isImm() && "Wrong CountValue accessor");
330 if (isImm()) { OS << Contents.ImmVal; }
645 if (Op2.isImm() || Op1.getReg() == IVReg)
711 if (!Start->isReg() && !Start->isImm())
713 if (!End->isReg() && !End->isImm())
739 if (Start->isImm() && End->isImm()) {
811 bool RegToImm = Start->isReg() && End->isImm(); // for (reg..imm)
815 if (Start->isImm())
[all...]
/external/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp214 bool isImm() const override {
217 bool isImm(int64_t MinValue, int64_t MaxValue) const { function in class:__anon13152::SystemZOperand
333 bool isU1Imm() const { return isImm(0, 1); }
334 bool isU2Imm() const { return isImm(0, 3); }
335 bool isU3Imm() const { return isImm(0, 7); }
336 bool isU4Imm() const { return isImm(0, 15); }
337 bool isU6Imm() const { return isImm(0, 63); }
338 bool isU8Imm() const { return isImm(0, 255); }
339 bool isS8Imm() const { return isImm(-128, 127); }
340 bool isU12Imm() const { return isImm(
[all...]
/external/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp238 bool isImm() const { return Kind == Immediate; } function in struct:__anon12949::HexagonOperand
350 bool isu32MustExt() const { return isImm(); }
757 if (I.isImm()) {
1481 return Op->isImm() && Op->Imm.Val->evaluateAsAbsolute(Value) && Value == 0
1487 return Op->isImm() && Op->Imm.Val->evaluateAsAbsolute(Value) && Value == 1
1493 return Op->isImm() && Op->Imm.Val->evaluateAsAbsolute(Value) && Value == -1
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp513 bool isImm() const { return Kind == k_Immediate; } function in class:__anon18719::ARMOperand
3692 static_cast<ARMOperand*>(Operands[5])->isImm()) {
3912 static_cast<ARMOperand*>(Operands[2])->isImm()) {
3923 static_cast<ARMOperand*>(Operands[5])->isImm()) {
3934 static_cast<ARMOperand*>(Operands[4])->isImm()) {
3946 static_cast<ARMOperand*>(Operands[5])->isImm()) {

Completed in 442 milliseconds