/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 47 bool hasKnownAlignment(GlobalVariable *GV) const; 51 unsigned getAlignment(GlobalVariable *GV) const; 73 if (GlobalValue *GV = in FindUsedValues() local 75 UsedValues.insert(GV); in FindUsedValues() 90 bool ConstantMerge::hasKnownAlignment(GlobalVariable *GV) const { in hasKnownAlignment() 91 return TD || GV->getAlignment() != 0; in hasKnownAlignment() 94 unsigned ConstantMerge::getAlignment(GlobalVariable *GV) const { in getAlignment() 96 return TD->getPreferredAlignment(GV); in getAlignment() 97 return GV->getAlignment(); in getAlignment() 127 GlobalVariable *GV = GVI++; in runOnModule() local [all …]
|
D | GlobalOpt.cpp | 80 bool ProcessGlobal(GlobalVariable *GV,Module::global_iterator &GVI); 81 bool ProcessInternalGlobal(GlobalVariable *GV,Module::global_iterator &GVI, 234 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>( in AnalyzeGlobal() local 237 if (StoredVal == GV->getInitializer()) { in AnalyzeGlobal() 241 cast<LoadInst>(StoredVal)->getOperand(0) == GV) { in AnalyzeGlobal() 301 static bool isLeakCheckerRoot(GlobalVariable *GV) { in isLeakCheckerRoot() argument 310 if (GV->hasPrivateLinkage()) in isLeakCheckerRoot() 314 Types.push_back(cast<PointerType>(GV->getType())->getElementType()); in isLeakCheckerRoot() 379 static bool CleanupPointerRootUsers(GlobalVariable *GV, in CleanupPointerRootUsers() argument 397 for (Value::use_iterator UI = GV->use_begin(), E = GV->use_end(); in CleanupPointerRootUsers() [all …]
|
D | GlobalDCE.cpp | 48 void GlobalIsNeeded(GlobalValue *GV); 51 bool RemoveUnusedGlobalValue(GlobalValue &GV); 165 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(G)) { in GlobalIsNeeded() local 168 if (GV->hasInitializer()) in GlobalIsNeeded() 169 MarkUsedGlobalsAsNeeded(GV->getInitializer()); in GlobalIsNeeded() 183 if (GlobalValue *GV = dyn_cast<GlobalValue>(*U)) in GlobalIsNeeded() local 184 GlobalIsNeeded(GV); in GlobalIsNeeded() 191 if (GlobalValue *GV = dyn_cast<GlobalValue>(C)) in MarkUsedGlobalsAsNeeded() local 192 return GlobalIsNeeded(GV); in MarkUsedGlobalsAsNeeded() 207 bool GlobalDCE::RemoveUnusedGlobalValue(GlobalValue &GV) { in RemoveUnusedGlobalValue() argument [all …]
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 88 GVMemoryBlock(const GlobalVariable *GV) in GVMemoryBlock() argument 89 : CallbackVH(const_cast<GlobalVariable*>(GV)) {} in GVMemoryBlock() 94 static char *Create(const GlobalVariable *GV, const TargetData& TD) { in Create() argument 95 Type *ElTy = GV->getType()->getElementType(); in Create() 99 TD.getPreferredAlignment(GV)) in Create() 101 new(RawMemory) GVMemoryBlock(GV); in Create() 115 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) { in getMemoryForGV() argument 116 return GVMemoryBlock::Create(GV, *getTargetData()); in getMemoryForGV() 159 void ExecutionEngine::addGlobalMapping(const GlobalValue *GV, void *Addr) { in addGlobalMapping() argument 162 DEBUG(dbgs() << "JIT: Map \'" << GV->getName() in addGlobalMapping() [all …]
|
/external/llvm/lib/Target/MBlaze/ |
D | MBlazeTargetObjectFile.cpp | 46 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM) const { in IsGlobalInSmallSection() argument 47 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection() 50 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); in IsGlobalInSmallSection() 56 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() argument 59 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GV); in IsGlobalInSmallSection() 72 Type *Ty = GV->getType()->getElementType(); in IsGlobalInSmallSection() 77 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal() argument 83 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal() 85 if (Kind.isDataNoRel() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal() 89 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM); in SelectSectionForGlobal()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonTargetObjectFile.cpp | 51 bool HexagonTargetObjectFile::IsGlobalInSmallSection(const GlobalValue *GV, in IsGlobalInSmallSection() argument 56 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection() 61 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); in IsGlobalInSmallSection() 67 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() argument 70 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GV); in IsGlobalInSmallSection() 75 Type *Ty = GV->getType()->getElementType(); in IsGlobalInSmallSection() 83 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal() argument 87 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal() 89 if (Kind.isDataNoRel() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal() 93 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM); in SelectSectionForGlobal()
|
/external/llvm/lib/Target/Mips/ |
D | MipsTargetObjectFile.cpp | 50 bool MipsTargetObjectFile::IsGlobalInSmallSection(const GlobalValue *GV, in IsGlobalInSmallSection() argument 52 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection() 55 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); in IsGlobalInSmallSection() 61 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() argument 71 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GV); in IsGlobalInSmallSection() 84 Type *Ty = GV->getType()->getElementType(); in IsGlobalInSmallSection() 91 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal() argument 97 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal() 99 if (Kind.isDataNoRel() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal() 103 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM); in SelectSectionForGlobal()
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 48 TargetLoweringObjectFileELF::getCFIPersonalitySymbol(const GlobalValue *GV, in getCFIPersonalitySymbol() argument 56 return Mang->getSymbol(GV); in getCFIPersonalitySymbol() 59 Mang->getSymbol(GV)->getName()); in getCFIPersonalitySymbol() 175 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, in getExplicitSectionGlobal() argument 177 StringRef SectionName = GV->getSection(); in getExplicitSectionGlobal() 208 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, in SelectSectionForGlobal() argument 220 if ((GV->isWeakForLinker() || EmitUniquedSection) && in SelectSectionForGlobal() 226 MCSymbol *Sym = Mang->getSymbol(GV); in SelectSectionForGlobal() 230 if (GV->isWeakForLinker()) { in SelectSectionForGlobal() 250 TM.getTargetData()->getPreferredAlignment(cast<GlobalVariable>(GV)); in SelectSectionForGlobal() [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetLoweringObjectFile.h | 65 virtual bool shouldEmitUsedDirectiveFor(const GlobalValue *GV, in shouldEmitUsedDirectiveFor() argument 67 return GV != 0; in shouldEmitUsedDirectiveFor() 76 static SectionKind getKindForGlobal(const GlobalValue *GV, 82 const MCSection *SectionForGlobal(const GlobalValue *GV, 89 const MCSection *SectionForGlobal(const GlobalValue *GV, in SectionForGlobal() argument 92 return SectionForGlobal(GV, getKindForGlobal(GV, TM), Mang, TM); in SectionForGlobal() 99 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, 105 getSpecialCasedSectionGlobals(const GlobalValue *GV, Mangler *Mang, in getSpecialCasedSectionGlobals() argument 114 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, 120 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, [all …]
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 50 static bool isSuitableForBSS(const GlobalVariable *GV, bool NoZerosInBSS) { in isSuitableForBSS() argument 51 const Constant *C = GV->getInitializer(); in isSuitableForBSS() 58 if (GV->isConstant()) in isSuitableForBSS() 62 if (!GV->getSection().empty()) in isSuitableForBSS() 101 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, in getCFIPersonalitySymbol() argument 103 return Mang->getSymbol(GV); in getCFIPersonalitySymbol() 117 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalValue *GV, in getKindForGlobal() argument 119 assert(!GV->isDeclaration() && !GV->hasAvailableExternallyLinkage() && in getKindForGlobal() 125 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV); in getKindForGlobal() 245 SectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler *Mang, in SectionForGlobal() argument [all …]
|
D | Mangler.cpp | 181 const GlobalValue *GV, in getNameWithPrefix() argument 184 if (GV->hasPrivateLinkage() || isImplicitlyPrivate) in getNameWithPrefix() 186 else if (GV->hasLinkerPrivateLinkage() || GV->hasLinkerPrivateWeakLinkage()) in getNameWithPrefix() 190 if (GV->hasName()) { in getNameWithPrefix() 191 getNameWithPrefix(OutName, GV->getName(), PrefixTy); in getNameWithPrefix() 195 unsigned &ID = AnonGlobalIDs[GV]; in getNameWithPrefix() 205 if (const Function *F = dyn_cast<Function>(GV)) { in getNameWithPrefix() 231 MCSymbol *Mangler::getSymbol(const GlobalValue *GV) { in getSymbol() argument 233 getNameWithPrefix(NameStr, GV, false); in getSymbol()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreAsmPrinter.cpp | 75 void emitArrayBound(MCSymbol *Sym, const GlobalVariable *GV); 76 virtual void EmitGlobalVariable(const GlobalVariable *GV); 90 void XCoreAsmPrinter::emitArrayBound(MCSymbol *Sym, const GlobalVariable *GV) { in emitArrayBound() argument 91 assert(((GV->hasExternalLinkage() || in emitArrayBound() 92 GV->hasWeakLinkage()) || in emitArrayBound() 93 GV->hasLinkOnceLinkage()) && "Unexpected linkage"); in emitArrayBound() 95 cast<PointerType>(GV->getType())->getElementType())) { in emitArrayBound() 101 if (GV->hasWeakLinkage() || GV->hasLinkOnceLinkage()) { in emitArrayBound() 109 void XCoreAsmPrinter::EmitGlobalVariable(const GlobalVariable *GV) { in EmitGlobalVariable() argument 111 if (!GV->hasInitializer() || in EmitGlobalVariable() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | TargetLoweringObjectFileImpl.h | 51 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, 55 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, 62 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, 68 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, 91 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, 95 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, 103 virtual bool shouldEmitUsedDirectiveFor(const GlobalValue *GV, 109 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, 115 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, 126 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMSubtarget.cpp | 133 ARMSubtarget::GVIsIndirectSymbol(const GlobalValue *GV, in GVIsIndirectSymbol() argument 140 bool isDecl = GV->hasAvailableExternallyLinkage(); in GVIsIndirectSymbol() 141 if (GV->isDeclaration() && !GV->isMaterializable()) in GVIsIndirectSymbol() 146 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in GVIsIndirectSymbol() 153 if (!isDecl && !GV->isWeakForLinker()) in GVIsIndirectSymbol() 158 if (!GV->hasHiddenVisibility()) // Non-hidden $non_lazy_ptr reference. in GVIsIndirectSymbol() 163 if (isDecl || GV->hasCommonLinkage()) in GVIsIndirectSymbol() 171 if (!isDecl && !GV->isWeakForLinker()) in GVIsIndirectSymbol() 176 if (!GV->hasHiddenVisibility()) // Non-hidden $non_lazy_ptr reference. in GVIsIndirectSymbol()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCSubtarget.cpp | 96 bool PPCSubtarget::hasLazyResolverStub(const GlobalValue *GV, in hasLazyResolverStub() argument 103 bool isDecl = GV->isDeclaration() && !GV->isMaterializable(); in hasLazyResolverStub() 104 if (GV->hasHiddenVisibility() && !isDecl && !GV->hasCommonLinkage()) in hasLazyResolverStub() 106 return GV->hasWeakLinkage() || GV->hasLinkOnceLinkage() || in hasLazyResolverStub() 107 GV->hasCommonLinkage() || isDecl; in hasLazyResolverStub()
|
/external/llvm/tools/llvm-extract/ |
D | llvm-extract.cpp | 102 GlobalValue *GV = M->getNamedGlobal(ExtractGlobals[i]); in main() local 103 if (!GV) { in main() 108 GVs.insert(GV); in main() 120 for (Module::global_iterator GV = M->global_begin(), in main() local 121 E = M->global_end(); GV != E; GV++) { in main() 122 if (RegEx.match(GV->getName())) { in main() 123 GVs.insert(&*GV); in main() 136 GlobalValue *GV = M->getFunction(ExtractFuncs[i]); in main() local 137 if (!GV) { in main() 142 GVs.insert(GV); in main() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86Subtarget.cpp | 54 ClassifyGlobalReference(const GlobalValue *GV, const TargetMachine &TM) const { in ClassifyGlobalReference() argument 57 if (GV->hasDLLImportLinkage()) in ClassifyGlobalReference() 63 bool isDecl = GV->hasAvailableExternallyLinkage(); in ClassifyGlobalReference() 64 if (GV->isDeclaration() && !GV->isMaterializable()) in ClassifyGlobalReference() 77 if (GV->hasDefaultVisibility() && in ClassifyGlobalReference() 78 (isDecl || GV->isWeakForLinker())) in ClassifyGlobalReference() 84 if (!GV->hasLocalLinkage() && GV->hasDefaultVisibility()) in ClassifyGlobalReference() 93 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in ClassifyGlobalReference() 104 if (!isDecl && !GV->isWeakForLinker()) in ClassifyGlobalReference() 109 if (!GV->hasHiddenVisibility()) // Non-hidden $non_lazy_ptr reference. in ClassifyGlobalReference() [all …]
|
D | X86TargetObjectFile.cpp | 25 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, in getExprForDwarfGlobalReference() argument 32 const MCSymbol *Sym = Mang->getSymbol(GV); in getExprForDwarfGlobalReference() 40 getExprForDwarfGlobalReference(GV, Mang, MMI, Encoding, Streamer); in getExprForDwarfGlobalReference() 44 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, in getCFIPersonalitySymbol() argument 46 return Mang->getSymbol(GV); in getCFIPersonalitySymbol()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 248 void CodeGenModule::setGlobalVisibility(llvm::GlobalValue *GV, in setGlobalVisibility() argument 251 if (GV->hasLocalLinkage()) { in setGlobalVisibility() 252 GV->setVisibility(llvm::GlobalValue::DefaultVisibility); in setGlobalVisibility() 258 if (LV.visibilityExplicit() || !GV->hasAvailableExternallyLinkage()) in setGlobalVisibility() 259 GV->setVisibility(GetLLVMVisibility(LV.visibility())); in setGlobalVisibility() 285 void CodeGenModule::setTLSMode(llvm::GlobalVariable *GV, in setTLSMode() argument 298 GV->setThreadLocalMode(TLM); in setTLSMode() 303 void CodeGenModule::setTypeVisibility(llvm::GlobalValue *GV, in setTypeVisibility() argument 306 setGlobalVisibility(GV, RD); in setTypeVisibility() 323 if (GV->getLinkage() != llvm::GlobalVariable::LinkOnceODRLinkage || in setTypeVisibility() [all …]
|
/external/llvm/lib/Analysis/IPA/ |
D | GlobalsModRef.cpp | 57 unsigned getInfoForGlobal(const GlobalValue *GV) const { in getInfoForGlobal() 60 GlobalInfo.find(GV); in getInfoForGlobal() 184 bool AnalyzeIndirectGlobalMemory(GlobalValue *GV); 304 bool GlobalsModRef::AnalyzeIndirectGlobalMemory(GlobalValue *GV) { in AnalyzeIndirectGlobalMemory() argument 311 for (Value::use_iterator I = GV->use_begin(), E = GV->use_end(); I != E; ++I){ in AnalyzeIndirectGlobalMemory() 323 if (SI->getOperand(0) == GV) return false; in AnalyzeIndirectGlobalMemory() 338 if (AnalyzeUsesOfPointer(Ptr, ReadersWriters, ReadersWriters, GV)) in AnalyzeIndirectGlobalMemory() 352 AllocsForIndirectGlobals[AllocRelatedValues.back()] = GV; in AnalyzeIndirectGlobalMemory() 355 IndirectGlobals.insert(GV); in AnalyzeIndirectGlobalMemory() 519 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0))) in alias() local [all …]
|
/external/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 237 static char TypeCharForSymbol(GlobalValue &GV) { in TypeCharForSymbol() argument 238 if (GV.isDeclaration()) return 'U'; in TypeCharForSymbol() 239 if (GV.hasLinkOnceLinkage()) return 'C'; in TypeCharForSymbol() 240 if (GV.hasCommonLinkage()) return 'C'; in TypeCharForSymbol() 241 if (GV.hasWeakLinkage()) return 'W'; in TypeCharForSymbol() 242 if (isa<Function>(GV) && GV.hasInternalLinkage()) return 't'; in TypeCharForSymbol() 243 if (isa<Function>(GV)) return 'T'; in TypeCharForSymbol() 244 if (isa<GlobalVariable>(GV) && GV.hasInternalLinkage()) return 'd'; in TypeCharForSymbol() 245 if (isa<GlobalVariable>(GV)) return 'D'; in TypeCharForSymbol() 246 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(&GV)) { in TypeCharForSymbol() [all …]
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 51 Function* globalInitUsesExternalBA(GlobalVariable* GV) { in globalInitUsesExternalBA() argument 52 if (!GV->hasInitializer()) in globalInitUsesExternalBA() 55 Constant *I = GV->getInitializer(); in globalInitUsesExternalBA() 230 GlobalVariable *GV = M1->getNamedGlobal(GlobalName); in SplitStaticCtorDtor() local 231 if (!GV || GV->isDeclaration() || GV->hasLocalLinkage() || in SplitStaticCtorDtor() 232 !GV->use_empty()) return; in SplitStaticCtorDtor() 235 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in SplitStaticCtorDtor() 264 GV->eraseFromParent(); in SplitStaticCtorDtor() 272 GV = M2->getNamedGlobal(GlobalName); in SplitStaticCtorDtor() 273 assert(GV && "Not a clone of M1?"); in SplitStaticCtorDtor() [all …]
|
/external/llvm/lib/VMCore/ |
D | Globals.cpp | 67 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(this)) in isDeclaration() local 68 return GV->getNumOperands() == 0; in isDeclaration() 230 if (const GlobalValue *GV = dyn_cast<GlobalValue>(C)) in getAliasedGlobal() local 231 return GV; in getAliasedGlobal() 248 const GlobalValue *GV = getAliasedGlobal(); in resolveAliasedGlobal() local 249 Visited.insert(GV); in resolveAliasedGlobal() 252 while (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) { in resolveAliasedGlobal() 256 GV = GA->getAliasedGlobal(); in resolveAliasedGlobal() 258 if (!Visited.insert(GV)) in resolveAliasedGlobal() 262 return GV; in resolveAliasedGlobal()
|
D | Module.cpp | 271 GlobalVariable *GV = dyn_cast_or_null<GlobalVariable>(getNamedValue(Name)); in getOrInsertGlobal() local 272 if (GV == 0) { in getOrInsertGlobal() 282 if (GV->getType() != PointerType::getUnqual(Ty)) in getOrInsertGlobal() 283 return ConstantExpr::getBitCast(GV, PointerType::getUnqual(Ty)); in getOrInsertGlobal() 286 return GV; in getOrInsertGlobal() 395 bool Module::isMaterializable(const GlobalValue *GV) const { in isMaterializable() 397 return Materializer->isMaterializable(GV); in isMaterializable() 401 bool Module::isDematerializable(const GlobalValue *GV) const { in isDematerializable() 403 return Materializer->isDematerializable(GV); in isDematerializable() 407 bool Module::Materialize(GlobalValue *GV, std::string *ErrInfo) { in Materialize() argument [all …]
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 306 GenericValue GV; in lle_X_atexit() local 307 GV.IntVal = 0; in lle_X_atexit() 308 return GV; in lle_X_atexit() 340 GenericValue GV; in lle_X_sprintf() local 341 GV.IntVal = APInt(32, strlen(FmtStr)); in lle_X_sprintf() 344 case 0: return GV; // Null terminator... in lle_X_sprintf() 420 GenericValue GV = lle_X_sprintf(FT, NewArgs); in lle_X_printf() local 422 return GV; in lle_X_printf() 435 GenericValue GV; in lle_X_sscanf() local 436 GV.IntVal = APInt(32, sscanf(Args[0], Args[1], Args[2], Args[3], Args[4], in lle_X_sscanf() [all …]
|