Lines Matching refs:ComdatName
67 bool getComdatLeader(Module &M, StringRef ComdatName,
69 bool computeResultingSelectionKind(StringRef ComdatName,
147 bool ModuleLinker::getComdatLeader(Module &M, StringRef ComdatName, in getComdatLeader() argument
149 const GlobalValue *GVal = M.getNamedValue(ComdatName); in getComdatLeader()
154 return emitError("Linking COMDATs named '" + ComdatName + in getComdatLeader()
161 "Linking COMDATs named '" + ComdatName + in getComdatLeader()
167 bool ModuleLinker::computeResultingSelectionKind(StringRef ComdatName, in computeResultingSelectionKind() argument
188 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind()
198 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind()
205 if (getComdatLeader(DstM, ComdatName, DstGV) || in computeResultingSelectionKind()
206 getComdatLeader(*SrcM, ComdatName, SrcGV)) in computeResultingSelectionKind()
215 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind()
222 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind()
240 StringRef ComdatName = SrcC->getName(); in getComdatResult() local
242 Module::ComdatSymTabType::iterator DstCI = ComdatSymTab.find(ComdatName); in getComdatResult()
253 return computeResultingSelectionKind(ComdatName, SSK, DSK, Result, in getComdatResult()