Lines Matching refs:LLVMUsed
31 SmallPtrSetImpl<const GlobalValue *> &LLVMUsed) in PreserveLibCallsAndAsmUsed() argument
32 : AsmUndefinedRefs(AsmUndefinedRefs), TM(TM), LLVMUsed(LLVMUsed) {} in PreserveLibCallsAndAsmUsed()
54 SmallPtrSetImpl<const GlobalValue *> &LLVMUsed; member in __anon94f559a80111::PreserveLibCallsAndAsmUsed
104 LLVMUsed.insert(&GV); in findLibCallsAndAsm()
109 LLVMUsed.insert(&GV); in findLibCallsAndAsm()
132 GlobalVariable *LLVMUsed = TheModule.getGlobalVariable("llvm.compiler.used"); in updateCompilerUsed() local
133 if (LLVMUsed) { in updateCompilerUsed()
134 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); in updateCompilerUsed()
137 LLVMUsed->eraseFromParent(); in updateCompilerUsed()
141 LLVMUsed = new llvm::GlobalVariable( in updateCompilerUsed()
145 LLVMUsed->setSection("llvm.metadata"); in updateCompilerUsed()