Home
last modified time | relevance | path

Searched refs:getComdat (Results 1 – 20 of 20) sorted by relevance

/NextBSD/contrib/llvm/include/llvm/IR/
HDGlobalObject.h60 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
61 const Comdat *getComdat() const { return ObjComdat; } in getComdat() function
62 Comdat *getComdat() { return ObjComdat; } in getComdat() function
HDGlobalValue.h133 bool hasComdat() const { return getComdat() != nullptr; } in hasComdat()
134 Comdat *getComdat();
135 const Comdat *getComdat() const { in getComdat() function
136 return const_cast<GlobalValue *>(this)->getComdat(); in getComdat()
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDGlobalDCE.cpp85 if (Comdat *C = F.getComdat()) in runOnModule()
88 if (Comdat *C = GV.getComdat()) in runOnModule()
91 if (Comdat *C = GA.getComdat()) in runOnModule()
205 if (Comdat *C = G->getComdat()) { in GlobalIsNeeded()
HDInliner.cpp674 if (const Comdat *C = F->getComdat()) { in removeDeadFunctions()
691 if (const Comdat *C = F.getComdat()) in removeDeadFunctions()
694 if (const Comdat *C = GV.getComdat()) in removeDeadFunctions()
697 if (const Comdat *C = GA.getComdat()) in removeDeadFunctions()
701 const Comdat *C = F->getComdat(); in removeDeadFunctions()
HDGlobalOpt.cpp1906 const Comdat *C = F->getComdat(); in OptimizeFunctions()
1957 if (const Comdat *C = GV->getComdat()) in OptimizeGlobalVars()
3044 if (const Comdat *C = GV.getComdat()) in runOnModule()
3048 if (const Comdat *C = F.getComdat()) in runOnModule()
3052 if (const Comdat *C = GA.getComdat()) in runOnModule()
/NextBSD/contrib/llvm/lib/IR/
HDGlobals.cpp116 Comdat *GlobalValue::getComdat() { in getComdat() function in GlobalValue
120 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat()
123 return cast<GlobalObject>(this)->getComdat(); in getComdat()
HDAsmWriter.cpp2068 if (const Comdat *C = F.getComdat()) in init()
2071 if (const Comdat *C = GV.getComdat()) in init()
2353 const Comdat *C = GO.getComdat(); in maybePrintComdat()
/NextBSD/contrib/llvm/lib/CodeGen/
HDTargetLoweringObjectFileImpl.cpp192 const Comdat *C = GV->getComdat(); in getELFComdat()
334 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
520 const Comdat *C = GV->getComdat(); in checkMachOComdat()
806 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
815 if (ComdatGV->getComdat() != C) in getComdatGVForCOFF()
823 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
960 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
/NextBSD/contrib/llvm/lib/Transforms/Instrumentation/
HDInstrProfiling.cpp205 Name->setComdat(Fn->getComdat()); in getOrCreateRegionCounters()
218 Counters->setComdat(Fn->getComdat()); in getOrCreateRegionCounters()
243 Data->setComdat(Fn->getComdat()); in getOrCreateRegionCounters()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDSymbolRewriter.cpp85 if (Comdat *CD = GO->getComdat()) { in rewriteComdat()
/NextBSD/contrib/llvm/lib/AsmParser/
HDLLParser.h165 Comdat *getComdat(const std::string &N, LocTy Loc);
HDLLParser.cpp1107 Comdat *LLParser::getComdat(const std::string &Name, LocTy Loc) { in getComdat() function in LLParser
2969 C = getComdat(Lex.getStrVal(), Lex.getLoc()); in parseOptionalComdat()
2976 C = getComdat(GlobalName, KwLoc); in parseOptionalComdat()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGDeclCXX.cpp298 if (llvm::Comdat *C = GV->getComdat()) in EmitPointerToInitFunc()
HDCGException.cpp1556 if (llvm::Comdat *C = ParentFn->getComdat()) { in startOutlinedSEHHelper()
HDItaniumCXXABI.cpp1800 llvm::Comdat *C = var->getComdat(); in EmitGuardedInit()
HDMicrosoftCXXABI.cpp2159 if (llvm::Comdat *C = GV->getComdat()) in EmitThreadLocalInitFuncs()
/NextBSD/contrib/llvm/lib/Linker/
HDLinkModules.cpp608 if (Comdat *SC = SGV->getComdat()) { in materializeValueFor()
1047 if (const Comdat *SC = SGV->getComdat()) { in linkGlobalValueProto()
/NextBSD/contrib/llvm/lib/Bitcode/Writer/
HDValueEnumerator.cpp597 if (const Comdat *C = GO->getComdat()) in EnumerateValue()
HDBitcodeWriter.cpp687 Vals.push_back(GV.hasComdat() ? VE.getComdatID(GV.getComdat()) : 0); in WriteModuleInfo()
714 Vals.push_back(F.hasComdat() ? VE.getComdatID(F.getComdat()) : 0); in WriteModuleInfo()
/NextBSD/contrib/llvm/lib/Bitcode/Reader/
HDBitcodeReader.cpp1566 if (GO->getComdat() == reinterpret_cast<Comdat *>(1)) { in parseValueSymbolTable()