Searched refs:UndefinedAtom (Results 1 – 19 of 19) sorted by relevance
19 class UndefinedAtom : public Atom {58 static bool classof(const UndefinedAtom *) { return true; } in classof() argument61 UndefinedAtom() : Atom(definitionUndefined) {} in UndefinedAtom() function63 ~UndefinedAtom() override = default;
54 void addAtom(UndefinedAtom &a) { in addAtom()55 _undefined.push_back(OwningAtomPtr<UndefinedAtom>(&a)); in addAtom()67 } else if (auto *p = dyn_cast<UndefinedAtom>(&atom)) { in addAtom()68 addAtom(const_cast<UndefinedAtom &>(*p)); in addAtom()89 const AtomRange<UndefinedAtom> undefined() const override { in undefined()110 AtomVector<UndefinedAtom> _undefined;247 class SimpleUndefinedAtom : public UndefinedAtom {262 CanBeNull canBeNull() const override { return UndefinedAtom::canBeNullNever; } in canBeNull()
28 class UndefinedAtom; variable41 bool add(const UndefinedAtom &);53 std::vector<const UndefinedAtom *> undefines();
39 const AtomRange<UndefinedAtom> undefined() const override { in undefined()63 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()
39 bool doUndefinedAtom(OwningAtomPtr<UndefinedAtom> atom);
31 bool SymbolTable::add(const UndefinedAtom &atom) { return addByName(atom); } in add()182 const UndefinedAtom* existingUndef = cast<UndefinedAtom>(existing); in addByName()183 const UndefinedAtom* newUndef = cast<UndefinedAtom>(&newAtom); in addByName()279 std::vector<const UndefinedAtom *> SymbolTable::undefines() { in undefines()280 std::vector<const UndefinedAtom *> ret; in undefines()284 if (const auto *undef = dyn_cast<const UndefinedAtom>(atom)) in undefines()
60 if (!isa<UndefinedAtom>(atom) || _symbolTable.isCoalescedAway(atom)) { in forEachUndefines()106 bool Resolver::doUndefinedAtom(OwningAtomPtr<UndefinedAtom> atom) { in doUndefinedAtom()397 std::vector<const UndefinedAtom *> undefinedAtoms = _symbolTable.undefines(); in checkUndefines()411 for (const UndefinedAtom *undef : undefinedAtoms) { in checkUndefines()413 if (undef->canBeNull() != UndefinedAtom::canBeNullNever) in checkUndefines()
18 File::AtomVector<UndefinedAtom> File::_noUndefinedAtoms;
102 for (const lld::UndefinedAtom *undefAtom : file.undefined()) { in RefNameBuilder()683 AtomList<lld::UndefinedAtom> _undefinedAtoms;687 AtomRange<lld::UndefinedAtom> _undefinedAtomsRef;998 class NormalizedAtom : public lld::UndefinedAtom {1003 NormalizedAtom(IO &io, const lld::UndefinedAtom *atom) in NormalizedAtom()1009 const lld::UndefinedAtom *denormalize(IO &io) { in denormalize()1052 template <> struct MappingTraits<lld::UndefinedAtom *> {1053 static void mapping(IO &io, lld::UndefinedAtom *&atom) { in mapping()1054 const lld::UndefinedAtom *atomPtr = atom; in mapping()1056 atom = const_cast<lld::UndefinedAtom *>(atomPtr); in mapping()[all …]
40 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
76 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
128 const AtomRange<UndefinedAtom> undefined() const override { in undefined()
1048 if (isa<UndefinedAtom>(&target)) in useExternalRelocationTo()1081 bool targetIsUndef = isa<UndefinedAtom>(ref.target()); in applyFixupRelocatable()
533 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
106 const AtomRange<UndefinedAtom> undefined() const override { in undefined()