Searched refs:UndefinedAtom (Results 1 – 19 of 19) sorted by relevance
18 class UndefinedAtom : public Atom {57 static bool classof(const UndefinedAtom *) { return true; } in classof() argument60 UndefinedAtom() : Atom(definitionUndefined) {} in UndefinedAtom() function62 ~UndefinedAtom() override = default;
53 void addAtom(UndefinedAtom &a) { in addAtom()54 _undefined.push_back(OwningAtomPtr<UndefinedAtom>(&a)); in addAtom()66 } else if (auto *p = dyn_cast<UndefinedAtom>(&atom)) { in addAtom()67 addAtom(const_cast<UndefinedAtom &>(*p)); in addAtom()88 const AtomRange<UndefinedAtom> undefined() const override { in undefined()109 AtomVector<UndefinedAtom> _undefined;246 class SimpleUndefinedAtom : public UndefinedAtom {261 CanBeNull canBeNull() const override { return UndefinedAtom::canBeNullNever; } in canBeNull()
27 class UndefinedAtom; variable40 bool add(const UndefinedAtom &);52 std::vector<const UndefinedAtom *> undefines();
38 const AtomRange<UndefinedAtom> undefined() const override { in undefined()62 AtomVector<UndefinedAtom> _undefinedAtoms;
181 virtual const AtomRange<UndefinedAtom> undefined() const = 0;225 static AtomVector<UndefinedAtom> _noUndefinedAtoms;257 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
38 bool doUndefinedAtom(OwningAtomPtr<UndefinedAtom> atom);
30 bool SymbolTable::add(const UndefinedAtom &atom) { return addByName(atom); } in add()175 const UndefinedAtom* existingUndef = cast<UndefinedAtom>(existing); in addByName()176 const UndefinedAtom* newUndef = cast<UndefinedAtom>(&newAtom); in addByName()272 std::vector<const UndefinedAtom *> SymbolTable::undefines() { in undefines()273 std::vector<const UndefinedAtom *> ret; in undefines()277 if (const auto *undef = dyn_cast<const UndefinedAtom>(atom)) in undefines()
59 if (!isa<UndefinedAtom>(atom) || _symbolTable.isCoalescedAway(atom)) { in forEachUndefines()105 bool Resolver::doUndefinedAtom(OwningAtomPtr<UndefinedAtom> atom) { in doUndefinedAtom()396 std::vector<const UndefinedAtom *> undefinedAtoms = _symbolTable.undefines(); in checkUndefines()410 for (const UndefinedAtom *undef : undefinedAtoms) { in checkUndefines()412 if (undef->canBeNull() != UndefinedAtom::canBeNullNever) in checkUndefines()
17 File::AtomVector<UndefinedAtom> File::_noUndefinedAtoms;
101 for (const lld::UndefinedAtom *undefAtom : file.undefined()) { in RefNameBuilder()682 AtomList<lld::UndefinedAtom> _undefinedAtoms;686 AtomRange<lld::UndefinedAtom> _undefinedAtomsRef;997 class NormalizedAtom : public lld::UndefinedAtom {1002 NormalizedAtom(IO &io, const lld::UndefinedAtom *atom) in NormalizedAtom()1008 const lld::UndefinedAtom *denormalize(IO &io) { in denormalize()1051 template <> struct MappingTraits<lld::UndefinedAtom *> {1052 static void mapping(IO &io, lld::UndefinedAtom *&atom) { in mapping()1053 const lld::UndefinedAtom *atomPtr = atom; in mapping()1055 atom = const_cast<lld::UndefinedAtom *>(atomPtr); in mapping()[all …]
39 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
75 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
127 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
1047 if (isa<UndefinedAtom>(&target)) in useExternalRelocationTo()1080 bool targetIsUndef = isa<UndefinedAtom>(ref.target()); in applyFixupRelocatable()
532 if (isa<UndefinedAtom>(&target)) in useExternalRelocationTo()
1116 for (const UndefinedAtom *atom : atomFile.undefined()) { in addSymbols()
127 modeled as a Reference to an UndefinedAtom. So the Reader also needs to128 create an UndefinedAtom for each undefined symbol in the object file.137 the target Atom of the Reference will be an UndefinedAtom.
53 * UndefinedAtom63 It is similar to an UndefinedAtom, but it also tracks information256 can add an UndefinedAtom with that special name to the resolver. This will
105 const AtomRange<UndefinedAtom> undefined() const override { in undefined()