| /openbsd-src/gnu/usr.bin/binutils-2.17/include/opcode/ |
| H A D | tic30.h | 198 #define Disp 0x0080 macro 261 { "b" ,1,0x68000000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 262 { "bu" ,1,0x68000000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 263 { "blo" ,1,0x68010000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 264 { "bls" ,1,0x68020000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 265 { "bhi" ,1,0x68030000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 266 { "bhs" ,1,0x68040000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 267 { "beq" ,1,0x68050000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 268 { "bne" ,1,0x68060000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 269 { "blt" ,1,0x68070000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, [all …]
|
| H A D | i386.h | 399 {"jmp", 1, 0xeb, X, 0, NoSuf|Jump, { Disp,0, 0} }, 421 {"jo", 1, 0x70, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 422 {"jno", 1, 0x71, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 423 {"jb", 1, 0x72, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 424 {"jc", 1, 0x72, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 425 {"jnae", 1, 0x72, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 426 {"jnb", 1, 0x73, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 427 {"jnc", 1, 0x73, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 428 {"jae", 1, 0x73, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 429 {"je", 1, 0x74, X, 0, NoSuf|Jump, { Disp, 0, 0} }, [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/include/opcode/ |
| H A D | tic30.h | 198 #define Disp 0x0080 macro 261 { "b" ,1,0x68000000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 262 { "bu" ,1,0x68000000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 263 { "blo" ,1,0x68010000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 264 { "bls" ,1,0x68020000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 265 { "bhi" ,1,0x68030000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 266 { "bhs" ,1,0x68040000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 267 { "beq" ,1,0x68050000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 268 { "bne" ,1,0x68060000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, 269 { "blt" ,1,0x68070000,PCRel, { AllReg|Disp, 0, 0 }, Imm_None }, [all …]
|
| H A D | i386.h | 385 {"jmp", 1, 0xeb, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 406 {"jo", 1, 0x70, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 407 {"jno", 1, 0x71, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 408 {"jb", 1, 0x72, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 409 {"jc", 1, 0x72, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 410 {"jnae", 1, 0x72, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 411 {"jnb", 1, 0x73, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 412 {"jnc", 1, 0x73, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 413 {"jae", 1, 0x73, X, 0, NoSuf|Jump, { Disp, 0, 0} }, 414 {"je", 1, 0x74, X, 0, NoSuf|Jump, { Disp, 0, 0} }, [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/M68k/ |
| H A D | M68kISelDAGToDAG.cpp | 64 int64_t Disp; member 84 : AM(AT), BaseType(Base::RegBase), Disp(0), BaseFrameIndex(0), IndexReg(), in M68kISelAddressMode() 153 dbgs() << "\nDisp: " << Disp; in dump() 234 SDValue &Disp, SDValue &Base) { in getFrameIndexAddress() argument 236 Disp = getI32Imm(AM.Disp, DL); in getFrameIndexAddress() 249 Sym = CurDAG->getTargetGlobalAddress(AM.GV, SDLoc(), MVT::i32, AM.Disp, in getSymbolicDisplacement() 256 AM.Disp, AM.SymbolFlags); in getSymbolicDisplacement() 261 assert(!AM.Disp && "Non-zero displacement is ignored with ES."); in getSymbolicDisplacement() 267 assert(!AM.Disp && "Non-zero displacement is ignored with MCSym."); in getSymbolicDisplacement() 274 assert(!AM.Disp && "Non-zero displacement is ignored with JT."); in getSymbolicDisplacement() [all …]
|
| H A D | M68kRegisterInfo.cpp | 174 MachineOperand &Disp = MI.getOperand(FIOperandNum - 1); in eliminateFrameIndex() local 177 int Imm = (int)(Disp.getImm()); in eliminateFrameIndex() 210 Disp.ChangeToImmediate(FIOffset + Imm); in eliminateFrameIndex()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/MCTargetDesc/ |
| H A D | SystemZMCCodeEmitter.cpp | 208 uint64_t Disp = getDispOpValue(MI, OpNum + 1, Fixups, SystemZ::FK_390_12); in getBDAddr12Encoding() local 209 assert(isUInt<4>(Base) && isUInt<12>(Disp)); in getBDAddr12Encoding() 210 return (Base << 12) | Disp; in getBDAddr12Encoding() 218 uint64_t Disp = getDispOpValue(MI, OpNum + 1, Fixups, SystemZ::FK_390_20); in getBDAddr20Encoding() local 219 assert(isUInt<4>(Base) && isInt<20>(Disp)); in getBDAddr20Encoding() 220 return (Base << 20) | ((Disp & 0xfff) << 8) | ((Disp & 0xff000) >> 12); in getBDAddr20Encoding() 228 uint64_t Disp = getDispOpValue(MI, OpNum + 1, Fixups, SystemZ::FK_390_12); in getBDXAddr12Encoding() local 230 assert(isUInt<4>(Base) && isUInt<12>(Disp) && isUInt<4>(Index)); in getBDXAddr12Encoding() 231 return (Index << 16) | (Base << 12) | Disp; in getBDXAddr12Encoding() 239 uint64_t Disp = getDispOpValue(MI, OpNum + 1, Fixups, SystemZ::FK_390_20); in getBDXAddr20Encoding() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelDAGToDAG.cpp | 61 int64_t Disp; member 66 : Form(form), DR(dr), Disp(0), IncludesDynAlloc(false) {} in SystemZAddressingMode() 91 errs() << " Disp " << Disp; in dump() 159 SDValue &Base, SDValue &Disp) const; 161 SDValue &Base, SDValue &Disp, SDValue &Index) const; 167 SDValue &Base, SDValue &Disp) const; 173 SDValue &Base, SDValue &Disp) const; 180 SDValue &Base, SDValue &Disp, SDValue &Index) const; 192 bool selectBDAddr12Only(SDValue Addr, SDValue &Base, SDValue &Disp) const { in selectBDAddr12Only() 193 return selectBDAddr(SystemZAddressingMode::Disp12Only, Addr, Base, Disp); in selectBDAddr12Only() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/ |
| H A D | MSP430ISelDAGToDAG.cpp | 47 int16_t Disp = 0; member 70 errs() << " Disp " << Disp << '\n'; in dump() 119 bool SelectAddr(SDValue Addr, SDValue &Base, SDValue &Disp); 149 AM.Disp += G->getOffset(); in MatchWrapper() 154 AM.Disp += CP->getOffset(); in MatchWrapper() 191 AM.Disp += Val; in MatchAddress() 234 AM.Disp += Offset; in MatchAddress() 249 SDValue &Base, SDValue &Disp) { in SelectAddr() argument 266 Disp = CurDAG->getTargetGlobalAddress(AM.GV, SDLoc(N), in SelectAddr() 267 MVT::i16, AM.Disp, in SelectAddr() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86OptimizeLEAs.cpp | 85 const MachineOperand *Disp) in MemOpKey() argument 86 : Disp(Disp) { in MemOpKey() 103 return isSimilarDispOp(*Disp, *Other.Disp); in operator ==() 110 const MachineOperand *Disp; member in __anon34f84a2e0111::MemOpKey 136 assert(Val.Disp != PtrInfo::getEmptyKey() && "Cannot hash the empty key"); in getHashValue() 137 assert(Val.Disp != PtrInfo::getTombstoneKey() && in getHashValue() 147 switch (Val.Disp->getType()) { in getHashValue() 152 Hash = hash_combine(Hash, Val.Disp->getIndex()); in getHashValue() 155 Hash = hash_combine(Hash, Val.Disp->getSymbolName()); in getHashValue() 158 Hash = hash_combine(Hash, Val.Disp->getGlobal()); in getHashValue() [all …]
|
| H A D | X86InstrBuilder.h | 55 int Disp; member 60 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), in X86AddressMode() 81 MO.push_back(MachineOperand::CreateGA(GV, Disp, GVOpFlags)); in getFullAddress() 83 MO.push_back(MachineOperand::CreateImm(Disp)); in getFullAddress() 114 AM.Disp = Op3.getImm(); in getAddressFromInstr() 185 MIB.addGlobalAddress(AM.GV, AM.Disp, AM.GVOpFlags); in addFullAddress() 187 MIB.addImm(AM.Disp); in addFullAddress()
|
| H A D | X86ISelDAGToDAG.cpp | 71 int32_t Disp = 0; member 127 dbgs() << " Disp " << Disp << '\n' in dump() 221 SDValue &Scale, SDValue &Index, SDValue &Disp, 225 SDValue &Index, SDValue &Disp, SDValue &Segment); 228 SDValue &Scale, SDValue &Index, SDValue &Disp, 231 SDValue &Scale, SDValue &Index, SDValue &Disp, 234 SDValue &Scale, SDValue &Index, SDValue &Disp, 240 SDValue &Index, SDValue &Disp, 246 SDValue &Index, SDValue &Disp, in tryFoldLoad() argument 248 return tryFoldLoad(P, P, N, Base, Scale, Index, Disp, Segment); in tryFoldLoad() [all …]
|
| H A D | X86FixupLEAs.cpp | 564 const MachineOperand &Disp = MI.getOperand(1 + X86::AddrDisp); in optTwoAddrLEA() local 567 if (Segment.getReg() != 0 || !Disp.isImm() || Scale.getImm() > 1 || in optTwoAddrLEA() 593 if (BaseReg != 0 && IndexReg != 0 && Disp.getImm() == 0 && in optTwoAddrLEA() 617 if (OptIncDec && (Disp.getImm() == 1 || Disp.getImm() == -1)) { in optTwoAddrLEA() 618 bool IsINC = Disp.getImm() == 1; in optTwoAddrLEA() 630 unsigned NewOpcode = getADDriFromLEA(MI.getOpcode(), Disp); in optTwoAddrLEA() 634 .addReg(BaseReg).addImm(Disp.getImm()) in optTwoAddrLEA() 638 .addReg(BaseReg).addImm(Disp.getImm()); in optTwoAddrLEA() 641 } else if (BaseReg != 0 && IndexReg != 0 && Disp.getImm() == 0) { in optTwoAddrLEA()
|
| H A D | X86ExpandPseudo.cpp | 462 int64_t Disp = MBBI->getOperand(1 + X86::AddrDisp).getImm(); in ExpandMI() local 463 assert(Disp >= 0 && Disp <= INT32_MAX - 2 && "Unexpected displacement"); in ExpandMI() 477 MIBHi.addImm(Disp + 2); in ExpandMI() 496 int64_t Disp = MBBI->getOperand(X86::AddrDisp).getImm(); in ExpandMI() local 497 assert(Disp >= 0 && Disp <= INT32_MAX - 2 && "Unexpected displacement"); in ExpandMI() 509 MIBHi.addImm(Disp + 2); in ExpandMI()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/Disassembler/ |
| H A D | PPCDisassembler.cpp | 281 uint64_t Disp = Imm & 0xFFFF; in decodeMemRIOperands() local 305 Inst.addOperand(MCOperand::createImm(SignExtend64<16>(Disp))); in decodeMemRIOperands() 317 uint64_t Disp = Imm & 0x3FFF; in decodeMemRIXOperands() local 327 Inst.addOperand(MCOperand::createImm(SignExtend64<16>(Disp << 2))); in decodeMemRIXOperands() 340 const int64_t Disp = SignExtend64<7>((Imm & 0x3F) + 64) * 8; in decodeMemRIHashOperands() local 344 Inst.addOperand(MCOperand::createImm(Disp)); in decodeMemRIHashOperands() 356 uint64_t Disp = Imm & 0xFFF; in decodeMemRIX16Operands() local 360 Inst.addOperand(MCOperand::createImm(SignExtend64<16>(Disp << 4))); in decodeMemRIX16Operands() 371 uint64_t Disp = Imm & 0x3FFFFFFFFUL; in decodeMemRI34PCRelOperands() local 375 Inst.addOperand(MCOperand::createImm(SignExtend64<34>(Disp))); in decodeMemRI34PCRelOperands() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/Disassembler/ |
| H A D | SystemZDisassembler.cpp | 304 uint64_t Disp = Field & 0xfff; in decodeBDAddr12Operand() local 307 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDAddr12Operand() 314 uint64_t Disp = ((Field << 12) & 0xff000) | ((Field >> 8) & 0xfff); in decodeBDAddr20Operand() local 317 Inst.addOperand(MCOperand::createImm(SignExtend64<20>(Disp))); in decodeBDAddr20Operand() 325 uint64_t Disp = Field & 0xfff; in decodeBDXAddr12Operand() local 328 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDXAddr12Operand() 337 uint64_t Disp = ((Field & 0xfff00) >> 8) | ((Field & 0xff) << 12); in decodeBDXAddr20Operand() local 340 Inst.addOperand(MCOperand::createImm(SignExtend64<20>(Disp))); in decodeBDXAddr20Operand() 349 uint64_t Disp = Field & 0xfff; in decodeBDLAddr12Len4Operand() local 352 Inst.addOperand(MCOperand::createImm(Disp)); in decodeBDLAddr12Len4Operand() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/MCTargetDesc/ |
| H A D | MSP430InstPrinter.cpp | 71 const MCOperand &Disp = MI->getOperand(OpNo+1); in printSrcMemOperand() local 84 if (Disp.isExpr()) in printSrcMemOperand() 85 Disp.getExpr()->print(O, &MAI); in printSrcMemOperand() 87 assert(Disp.isImm() && "Expected immediate in displacement field"); in printSrcMemOperand() 88 O << Disp.getImm(); in printSrcMemOperand()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | MSP430AttributeParser.cpp | 45 for (const DisplayHandler &Disp : DisplayRoutines) { in handler() local 46 if (uint64_t(Disp.Attribute) != Tag) in handler() 48 if (Error E = (this->*Disp.Routine)(static_cast<AttrType>(Tag))) in handler()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AVR/ |
| H A D | AVRISelDAGToDAG.cpp | 41 bool SelectAddr(SDNode *Op, SDValue N, SDValue &Base, SDValue &Disp); 74 SDValue &Disp) { in SelectAddr() argument 82 Disp = CurDAG->getTargetConstant(0, dl, MVT::i8); in SelectAddr() 109 Disp = CurDAG->getTargetConstant(RHSC, dl, MVT::i16); in SelectAddr() 121 Disp = CurDAG->getTargetConstant(RHSC, dl, MVT::i8); in SelectAddr() 224 SDValue Base, Disp; in SelectInlineAsmMemoryOperand() local 226 if (SelectAddr(Op.getNode(), Op, Base, Disp)) { in SelectInlineAsmMemoryOperand() 228 OutOps.push_back(Disp); in SelectInlineAsmMemoryOperand() 259 SDValue Base, Disp; in SelectInlineAsmMemoryOperand() local 278 Disp = CurDAG->getTargetConstant( in SelectInlineAsmMemoryOperand() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86MCCodeEmitter.cpp | 69 void emitImmediate(const MCOperand &Disp, SMLoc Loc, unsigned ImmSize, 327 const MCOperand &Disp = MI.getOperand(Op + X86::AddrDisp); in emitMemModRMByte() local 346 if (!(Disp.isExpr() && isa<MCSymbolRefExpr>(Disp.getExpr()))) in emitMemModRMByte() 394 int ImmSize = !Disp.isImm() && X86II::hasImm(TSFlags) in emitMemModRMByte() 398 emitImmediate(Disp, MI.getLoc(), 4, MCFixupKind(FixupKind), StartByte, OS, in emitMemModRMByte() 442 if (Disp.isImm() && isInt<8>(Disp.getImm())) { in emitMemModRMByte() 443 if (Disp.getImm() == 0 && RMfield != 6) { in emitMemModRMByte() 450 emitImmediate(Disp, MI.getLoc(), 1, FK_Data_1, StartByte, OS, Fixups); in emitMemModRMByte() 462 emitImmediate(Disp, MI.getLoc(), 2, FK_Data_2, StartByte, OS, Fixups); in emitMemModRMByte() 489 emitImmediate(Disp, MI.getLoc(), 4, FK_Data_4, StartByte, OS, Fixups); in emitMemModRMByte() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | MachineInstrBuilder.h | 284 const MachineInstrBuilder &addDisp(const MachineOperand &Disp, int64_t off, 291 TargetFlags = Disp.getTargetFlags(); 293 switch (Disp.getType()) { 297 return addImm(Disp.getImm() + off); 299 return addConstantPoolIndex(Disp.getIndex(), Disp.getOffset() + off, 302 return addGlobalAddress(Disp.getGlobal(), Disp.getOffset() + off, 305 return addBlockAddress(Disp.getBlockAddress(), Disp.getOffset() + off, 309 return addJumpTableIndex(Disp.getIndex(), TargetFlags);
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86Operand.h | 64 const MCExpr *Disp; member 152 if (Mem.Disp) in print() 153 PrintImmValue(Mem.Disp, ",Disp="); in print() 187 return Mem.Disp; in getMemDisp() 682 CreateMem(unsigned ModeSize, const MCExpr *Disp, SMLoc StartLoc, SMLoc EndLoc, 688 Res->Mem.Disp = Disp; 706 CreateMem(unsigned ModeSize, unsigned SegReg, const MCExpr *Disp, 723 Res->Mem.Disp = Disp;
|
| H A D | X86AsmParser.cpp | 1132 bool ParseMemOperand(unsigned SegReg, const MCExpr *Disp, SMLoc StartLoc, 1138 bool CreateMemForMSInlineAsm(unsigned SegReg, const MCExpr *Disp, 1600 const MCExpr *Disp = MCConstantExpr::create(0, getContext()); in DefaultMemSIOperand() local 1601 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemSIOperand() 1609 const MCExpr *Disp = MCConstantExpr::create(0, getContext()); in DefaultMemDIOperand() local 1610 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemDIOperand() 1745 unsigned SegReg, const MCExpr *Disp, unsigned BaseReg, unsigned IndexReg, in CreateMemForMSInlineAsm() argument 1759 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), Disp, Start, in CreateMemForMSInlineAsm() 1779 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), Disp, Start, in CreateMemForMSInlineAsm() 1789 getPointerWidth(), SegReg, Disp, BaseReg, IndexReg, Scale, Start, End, in CreateMemForMSInlineAsm() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 123 const MCExpr *Disp; member 189 const MCExpr *Disp, unsigned Index, const MCExpr *LengthImm, in createMem() argument 196 Op->Mem.Disp = Disp; in createMem() 271 return isMem(MemKind, RegKind) && inRange(Mem.Disp, 0, 0xfff, true); in isMemDisp12() 274 return isMem(MemKind, RegKind) && inRange(Mem.Disp, -524288, 524287, true); in isMemDisp20() 311 addExpr(Inst, Mem.Disp); in addBDAddrOperands() 317 addExpr(Inst, Mem.Disp); in addBDXAddrOperands() 324 addExpr(Inst, Mem.Disp); in addBDLAddrOperands() 331 addExpr(Inst, Mem.Disp); in addBDRAddrOperands() 338 addExpr(Inst, Mem.Disp); in addBDVAddrOperands() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | FileSystem.h | 966 CreationDisposition Disp, FileAccess Access, 983 Expected<file_t> openNativeFile(const Twine &Name, CreationDisposition Disp, 1066 CreationDisposition Disp = CD_CreateAlways, 1068 return openFile(Name, ResultFD, Disp, FA_Write, Flags, Mode); 1085 CreationDisposition Disp, 1088 return openNativeFile(Name, Disp, FA_Write, Flags, Mode); 1107 CreationDisposition Disp, 1110 return openFile(Name, ResultFD, Disp, FA_Write | FA_Read, Flags, Mode); 1127 CreationDisposition Disp, 1130 return openNativeFile(Name, Disp, FA_Write | FA_Read, Flags, Mode);
|