Home
last modified time | relevance | path

Searched refs:Immediate (Results 1 – 25 of 88) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaOperands.td11 // Immediate operands with a shared generic render method.
18 class Immediate<ValueType vt, code pred, string asmop>
24 // imm8 predicate - Immediate in the range [-128,127]
26 def imm8 : Immediate<i32, [{ return Imm >= -128 && Imm <= 127; }], "Imm8_AsmOperand"> {
31 // imm8_sh8 predicate - Immediate in the range [-32768,32512] with (bits[7-0] == 0)
34 def imm8_sh8 : Immediate<i32, [{ return Imm >= -32768 && Imm <= 32512 && ((Imm & 0xFF) == 0); }],
40 // imm12 predicate - Immediate in the range [-2048,2047]
42 def imm12 : Immediate<i32, [{ return Imm >= -2048 && Imm <= 2047; }], "Imm12_AsmOperand"> {
47 // imm12m predicate - Immediate for MOV operation
49 def imm12m : Immediate<i32, [{ return Imm >= -2048 && Imm <= 2047; }], "Imm12m_AsmOperand"> {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZOperands.td45 multiclass Immediate<ValueType vt, code pred, SDNodeXForm xform, string asmop> {
294 // Immediate asm operands.
316 defm imm32ll16 : Immediate<i32, [{
320 defm imm32lh16 : Immediate<i32, [{
326 defm imm32ll16c : Immediate<i32, [{
331 defm imm32lh16c : Immediate<i32, [{
337 defm imm32zx1 : Immediate<i32, [{
341 defm imm32zx2 : Immediate<i32, [{
345 defm imm32zx3 : Immediate<i32, [{
349 defm imm32zx4 : Immediate<i3
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMInstPrinter.cpp63 printer.markup(O, llvm::MCInstPrinter::Markup::Immediate) in printRegImmShift()
171 markup(O, Markup::Immediate) in printInst()
348 markup(O, Markup::Immediate) << '#' << formatImm(Op.getImm()); in printOperand()
414 markup(O, Markup::Immediate) << "#-" << formatImm(-OffImm); in printThumbLdrLabelOperand()
416 markup(O, Markup::Immediate) << "#" << formatImm(OffImm); in printThumbLdrLabelOperand()
477 markup(O, Markup::Immediate) in printAM2PreOrOffsetIndexOp()
519 markup(O, Markup::Immediate) << "#1"; in printAddrModeTBH()
551 markup(O, Markup::Immediate) in printAddrMode2OffsetOperand()
592 markup(O, Markup::Immediate) << "#" << ARM_AM::getAddrOpcStr(op) << ImmOffs; in printAM3PreOrOffsetIndexOp()
627 markup(O, Markup::Immediate) in printAddrMode3OffsetOperand()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp171 Immediate, enumerator
217 case Immediate: in PPCOperand()
248 assert(Kind == Immediate && "Invalid access!"); in getImm()
252 assert((Kind == Immediate || Kind == ContextImmediate) && in getImmS16Context()
254 if (Kind == Immediate) in getImmS16Context()
259 assert((Kind == Immediate || Kind == ContextImmediate) && in getImmU16Context()
333 return (unsigned) (Kind == Immediate ? Imm.Val : Expr.CRVal); in getCCReg()
338 return (unsigned) (Kind == Immediate ? Imm.Val : Expr.CRVal); in getCRBit()
348 return Kind == Immediate || Kind == Expression; in isImm()
350 bool isU1Imm() const { return Kind == Immediate && isUInt<1>(getImm()); } in isU1Imm()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOARM.h364 int64_t Immediate = readBytesUnaligned(LocalAddress, 4); // Copy the whole instruction out. in processHALFSECTDIFFRelocation() local
367 Immediate = ((Immediate & 0x0000000f) << 12) | in processHALFSECTDIFFRelocation()
368 ((Immediate & 0x00000400) << 1) | in processHALFSECTDIFFRelocation()
369 ((Immediate & 0x70000000) >> 20) | in processHALFSECTDIFFRelocation()
370 ((Immediate & 0x00ff0000) >> 16); in processHALFSECTDIFFRelocation()
372 Immediate = ((Immediate >> 4) & 0xf000) | (Immediate & 0xfff); in processHALFSECTDIFFRelocation()
406 uint32_t FullImmVal = (Immediate << Shift) | (OtherHalf << (16 - Shift)); in processHALFSECTDIFFRelocation()
H A DRuntimeDyldCOFFThumb.h283 auto EncodeImmediate = [](uint8_t *Bytes, uint16_t Immediate) { in resolveRelocation()
284 Bytes[0] |= ((Immediate & 0xf000) >> 12); in resolveRelocation()
285 Bytes[1] |= ((Immediate & 0x0800) >> 11); in resolveRelocation()
286 Bytes[2] |= ((Immediate & 0x00ff) >> 0); in resolveRelocation()
287 Bytes[3] |= (((Immediate & 0x0700) >> 8) << 4); in resolveRelocation()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVInstPrinter.cpp94 markup(O, Markup::Immediate) << formatImm(MO.getImm()); in printOperand()
179 markup(O, Markup::Immediate) << "min"; in printFPImmOperand()
181 markup(O, Markup::Immediate) << "inf"; in printFPImmOperand()
183 markup(O, Markup::Immediate) << "nan"; in printFPImmOperand()
191 markup(O, Markup::Immediate) << format("%.1f", FPVal); in printFPImmOperand()
193 markup(O, Markup::Immediate) << format("%.12g", FPVal); in printFPImmOperand()
295 WithMarkup ScopedMarkup = markup(O, Markup::Immediate); in printStackAdj()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp260 class Immediate : public details::FixedOrScalableQuantity<Immediate, int64_t> { class
261 constexpr Immediate(ScalarTy MinVal, bool Scalable) in Immediate() function in __anonc21373340111::Immediate
264 constexpr Immediate(const FixedOrScalableQuantity<Immediate, int64_t> &V) in Immediate() function in __anonc21373340111::Immediate
268 constexpr Immediate() = delete;
270 static constexpr Immediate getFixed(ScalarTy MinVal) { in getFixed()
273 static constexpr Immediate getScalable(ScalarTy MinVal) { in getScalable()
276 static constexpr Immediate get(ScalarTy MinVal, bool Scalable) { in get()
279 static constexpr Immediate getZero() { return {0, false}; } in getZero()
280 static constexpr Immediate getFixedMin() { in getFixedMin()
283 static constexpr Immediate getFixedMax() { in getFixedMax()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp108 Immediate, enumerator
137 case Immediate: in XtensaOperand()
148 bool isImm() const override { return Kind == Immediate; } in isImm()
152 return Kind == Immediate && inRange(getImm(), MinValue, MaxValue); in isImm()
165 bool isImm12m() const { return Kind == Immediate; } in isImm12m()
197 if (Kind != Immediate) in isB4const()
227 if (Kind != Immediate) in isB4constu()
267 assert(Kind == Immediate && "Invalid type access!"); in getImm()
278 case Immediate: in print()
310 auto Op = std::make_unique<XtensaOperand>(Immediate); in createImm()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp85 Immediate, enumerator
115 case Immediate: in BPFOperand()
126 bool isImm() const override { return Kind == Immediate; } in isImm()
157 assert(Kind == Immediate && "Invalid type access!"); in getImm()
168 case Immediate: in print()
220 auto Op = std::make_unique<BPFOperand>(Immediate); in createImm()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp394 int64_t Immediate = *Const << TypeScale; in getVarAndConst() local
395 if (Immediate > 512 || Immediate < -512 || Immediate % 4 != 0) in getVarAndConst()
398 return std::pair<Value *, int64_t>(Summand, Immediate); in getVarAndConst()
778 int64_t Immediate = Add.second; in tryCreateIncrementingGatScat() local
797 return tryCreateMaskedGatherBase(I, OffsetsIncoming, Builder, Immediate); in tryCreateIncrementingGatScat()
799 return tryCreateMaskedScatterBase(I, OffsetsIncoming, Builder, Immediate); in tryCreateIncrementingGatScat()
828 int64_t Immediate = Add.second; in tryCreateIncrementingWBGatScat() local
857 Builder.CreateVectorSplat(NumElems, Builder.getInt32(Immediate)), in tryCreateIncrementingWBGatScat()
868 Value *Load = tryCreateMaskedGatherBaseWB(I, Phi, Builder, Immediate); in tryCreateIncrementingWBGatScat()
878 tryCreateMaskedScatterBaseWB(I, Phi, Builder, Immediate); in tryCreateIncrementingWBGatScat()
H A DARMScheduleV6.td98 // Immediate offset
112 // Immediate offset with update
151 // Immediate offset
165 // Immediate offset with update
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_cde.td31 // Immediate (in range [0, 2^numBits - 1])
34 class CDEImmediateBits<int numBits> : Immediate<u32, IB_ConstBits<numBits>>;
48 def imm_coproc : Immediate<sint, IB_ConstRange<0, 7>>;
50 // Immediate integer parameters
H A Darm_mve_defs.td352 class Immediate<Type type_, ImmediateBounds bounds_>: Type {
377 def imm_simd_restrictive : Immediate<Scalar, IB_UEltValue> {
381 def imm_simd_vmvn : Immediate<Scalar, IB_UEltValue> {
395 def imm_1toN : Immediate<sint, IB_EltBit<1>>;
396 def imm_0toNm1 : Immediate<sint, IB_EltBit<0>>;
397 def imm_1toHalfN : Immediate<sint, IB_EltBit<1, HalfSize<Scalar>>>;
401 def imm_lane : Immediate<sint, IB_LaneIndex>;
405 def imm_1to32 : Immediate<sint, IB_ConstRange<1, 32>>;
408 def imm_1248 : Immediate<sint, IB_ConstRange<1, 8>> {
417 : Immediate<sint, IB_ConstRange<!mul(membytes, -127), !mul(membytes, 127)>> {
H A Darm_neon.td1327 // Scalar Shift (Immediate)
1329 // Signed/Unsigned Shift Right (Immediate)
1331 // Signed/Unsigned Rounding Shift Right (Immediate)
1334 // Signed/Unsigned Shift Right and Accumulate (Immediate)
1336 // Signed/Unsigned Rounding Shift Right and Accumulate (Immediate)
1339 // Shift Left (Immediate)
1341 // Signed/Unsigned Saturating Shift Left (Immediate)
1343 // Signed Saturating Shift Left Unsigned (Immediate)
1346 // Shift Right And Insert (Immediate)
1348 // Shift Left And Insert (Immediate)
[all …]
/freebsd/contrib/bearssl/T0/
H A DWord.cs52 internal bool Immediate { property in Word
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h32 enum KindTy { Token, Register, Immediate, Memory, Prefix, DXRegister } Kind; enumerator
135 case Immediate: in print()
181 assert(Kind == Immediate && "Invalid access!"); in getImm()
224 bool isImm() const override { return Kind == Immediate; } in isImm()
705 auto Res = std::make_unique<X86Operand>(Immediate, StartLoc, EndLoc);
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp565 bool Immediate; member in __anon819a2c470111::BuiltinArgResult
566 BuiltinArgResult(unsigned ArgNum, bool AddressType, bool Immediate) in BuiltinArgResult() argument
567 : ArgNum(ArgNum), AddressType(AddressType), Immediate(Immediate) {} in BuiltinArgResult()
581 bool hasIntegerValue() const override { return Immediate; } in hasIntegerValue()
1043 bool Immediate);
1312 bool Promote, bool Immediate) { in getCodeForArg() argument
1314 ArgNum, isa<PointerType>(ArgType), Immediate); in getCodeForArg()
1394 bool Immediate = false; in ACLEIntrinsic() local
1398 Immediate = true; in ACLEIntrinsic()
1437 ME.getCodeForArg(i, ArgType, Promote, Immediate); in ACLEIntrinsic()
H A DSveEmitter.cpp70 bool Float, Signed, Immediate, Void, Constant, Pointer, BFloat; member in __anone51b860d0111::SVEType
79 : Float(false), Signed(true), Immediate(false), Void(false), in SVEType()
96 bool isImmediate() const { return Immediate; } in isImmediate()
703 Immediate = true; in applyModifier()
713 Immediate = true; in applyModifier()
724 Immediate = true; in applyModifier()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86ATTInstPrinter.cpp389 markup(O, Markup::Immediate) << '$' << formatImm(Imm); in printOperand()
408 WithMarkup M = markup(O, Markup::Immediate); in printOperand()
455 markup(O, Markup::Immediate) << ScaleVal; // never printed in hex. in printMemReference()
505 markup(O, Markup::Immediate) in printU8Imm()
H A DX86IntelInstPrinter.cpp364 markup(O, Markup::Immediate) << formatImm((int64_t)Op.getImm()); in printOperand()
423 markup(O, Markup::Immediate) << formatImm(DispVal); in printMemReference()
463 markup(O, Markup::Immediate) << formatImm(DispSpec.getImm()); in printMemOffset()
477 markup(O, Markup::Immediate) << formatImm(MI->getOperand(Op).getImm() & 0xff); in printU8Imm()
H A DX86InstPrinterCommon.cpp356 markup(O, Markup::Immediate) << formatImm(Op.getImm()); in printPCRelImm()
364 markup(O, Markup::Immediate) << formatHex((uint64_t)Address); in printPCRelImm()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16InstrInfo.td526 // Purpose: Add Immediate Unsigned Word (2-Operand, Extended)
547 // Purpose: Add Immediate Unsigned Word (3-Operand, PC-Relative, Extended)
554 // Purpose: Add Immediate Unsigned Word (2-Operand, SP-Relative, Extended)
701 // Purpose: Compare Immediate
710 // Purpose: Compare Immediate (Extended)
825 // Purpose: Load Immediate
832 // Purpose: Load Immediate (Extended)
1169 // Purpose: Set on Less Than Immediate
1179 // Purpose: Set on Less Than Immediate (Extended)
1190 // Purpose: Set on Less Than Immediate Unsigned
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp150 Immediate, enumerator
211 case Immediate: in CSKYOperand()
225 bool isImm() const override { return Kind == Immediate; } in isImm()
419 assert(Kind == Immediate && "Invalid type access!"); in getImm()
445 case Immediate: in print()
537 auto Op = std::make_unique<CSKYOperand>(Immediate); in createImm()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCInstrFormats.td142 // a 32-bit Long Immediate (LImm), using 0x3e==62 as the field value.
144 // 64-bit instructions, with the Long Immediate in bits 32-63.
474 // Base Register + Signed 9-bit Immediate: Both Load/Store.
748 // Add/Sub/Shift Register-Immediate.
871 // Shift/Subtract/Bit Immediate.
949 // Compact MOV/ADD/CMP Immediate Format.

1234