Lines Matching refs:Comdat
24 Comdat::Comdat(Comdat &&C) : Name(C.Name), SK(C.SK) {} in Comdat() function in Comdat
26 Comdat::Comdat() = default;
28 StringRef Comdat::getName() const { return Name->first(); } in getName()
30 void Comdat::addUser(GlobalObject *GO) { Users.insert(GO); } in addUser()
32 void Comdat::removeUser(GlobalObject *GO) { Users.erase(GO); } in removeUser()
50 case Comdat::Any: in LLVMGetComdatSelectionKind()
52 case Comdat::ExactMatch: in LLVMGetComdatSelectionKind()
54 case Comdat::Largest: in LLVMGetComdatSelectionKind()
56 case Comdat::NoDeduplicate: in LLVMGetComdatSelectionKind()
58 case Comdat::SameSize: in LLVMGetComdatSelectionKind()
65 Comdat *Cd = unwrap(C); in LLVMSetComdatSelectionKind()
68 Cd->setSelectionKind(Comdat::Any); in LLVMSetComdatSelectionKind()
71 Cd->setSelectionKind(Comdat::ExactMatch); in LLVMSetComdatSelectionKind()
74 Cd->setSelectionKind(Comdat::Largest); in LLVMSetComdatSelectionKind()
77 Cd->setSelectionKind(Comdat::NoDeduplicate); in LLVMSetComdatSelectionKind()
80 Cd->setSelectionKind(Comdat::SameSize); in LLVMSetComdatSelectionKind()