Searched refs:UndefinedAtom (Results 1 – 20 of 20) 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()433 template <> struct ScalarEnumerationTraits<lld::UndefinedAtom::CanBeNull> {434 static void enumeration(IO &io, lld::UndefinedAtom::CanBeNull &value) { in enumeration()435 io.enumCase(value, "never", lld::UndefinedAtom::canBeNullNever); in enumeration()436 io.enumCase(value, "at-runtime", lld::UndefinedAtom::canBeNullAtRuntime); in enumeration()437 io.enumCase(value, "at-buildtime",lld::UndefinedAtom::canBeNullAtBuildtime); in enumeration()588 const AtomRange<lld::UndefinedAtom> undefined() const override { in undefined()651 const AtomRange<lld::UndefinedAtom> undefined() const override { in undefined()682 AtomList<lld::UndefinedAtom> _undefinedAtoms;686 AtomRange<lld::UndefinedAtom> _undefinedAtomsRef;[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()
532 if (isa<UndefinedAtom>(&target)) in useExternalRelocationTo()
1047 if (isa<UndefinedAtom>(&target)) in useExternalRelocationTo()1080 bool targetIsUndef = isa<UndefinedAtom>(ref.target()); in applyFixupRelocatable()
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
80 const lld::UndefinedAtom *atom4 = *file.undefined().begin(); in TEST()
105 const AtomRange<UndefinedAtom> undefined() const override { in undefined()