Lines Matching defs:Kind
22 // fixup kind Kind.
23 static uint64_t extractBitsForFixup(MCFixupKind Kind, uint64_t Value) {
24 if (Kind < FirstTargetFixupKind)
27 switch (unsigned(Kind)) {
36 llvm_unreachable("Unknown fixup kind!");
50 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
72 SystemZMCAsmBackend::getFixupKindInfo(MCFixupKind Kind) const {
79 if (Kind < FirstTargetFixupKind)
80 return MCAsmBackend::getFixupKindInfo(Kind);
82 assert(unsigned(Kind - FirstTargetFixupKind) < getNumFixupKinds() &&
83 "Invalid kind!");
84 return Infos[Kind - FirstTargetFixupKind];
90 MCFixupKind Kind = Fixup.getKind();
92 unsigned Size = (getFixupKindInfo(Kind).TargetSize + 7) / 8;
97 Value = extractBitsForFixup(Kind, Value);