/external/autotest/client/site_tests/firmware_TouchMTB/ |
H A D | firmware_constants.py | 64 GV = _GestureVariation() variable 66 GV.HORIZONTAL = 'horizontal' 67 GV.VERTICAL = 'vertical' 68 GV.DIAGONAL = 'diagonal' 69 GV.LR = 'left_to_right' 70 GV.RL = 'right_to_left' 71 GV.TB = 'top_to_bottom' 72 GV.BT = 'bottom_to_top' 73 GV.CL = 'center_to_left' 74 GV [all...] |
H A D | test_conf.py | 10 from firmware_constants import DEV, GV, VAL namespace 324 variations=((GV.LOW_FREQUENCY, GV.MED_FREQUENCY, GV.HIGH_FREQUENCY), 325 (GV.HALF_AMPLITUDE, GV.MAX_AMPLITUDE), 326 (GV.SQUARE_WAVE,), 327 (GV.TL, GV.TR, GV [all...] |
/external/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetObjectFile.cpp | 23 MCSection *AMDGPUTargetObjectFile::SelectSectionForGlobal(const GlobalValue *GV, argument 27 if (Kind.isReadOnly() && AMDGPU::isReadOnlySegment(GV)) 30 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang, TM); 58 bool AMDGPUHSATargetObjectFile::isAgentAllocation(const GlobalValue *GV) const { 60 return AMDGPU::isReadOnlySegment(GV) || 61 (AMDGPU::isGlobalSegment(GV) && GV->hasSection() && 62 isAgentAllocationSection(GV->getSection())); 66 const GlobalValue *GV) const { 68 return AMDGPU::isGlobalSegment(GV) 71 SelectSectionForGlobal( const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const argument [all...] |
H A D | AMDGPUTargetObjectFile.h | 26 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, 38 bool isAgentAllocation(const GlobalValue *GV) const; 39 bool isProgramAllocation(const GlobalValue *GV) const; 44 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
|
/external/llvm/lib/Transforms/Utils/ |
H A D | SplitModule.cpp | 29 static void externalize(GlobalValue *GV) { argument 30 if (GV->hasLocalLinkage()) { 31 GV->setLinkage(GlobalValue::ExternalLinkage); 32 GV->setVisibility(GlobalValue::HiddenVisibility); 37 if (!GV->hasName()) 38 GV->setName("__llvmsplit_unnamed"); 41 // Returns whether GV should be in partition (0-based) I of N. 42 static bool isInPartition(const GlobalValue *GV, unsigned I, unsigned N) { argument 43 if (auto GA = dyn_cast<GlobalAlias>(GV)) 45 GV [all...] |
/external/llvm/lib/Transforms/IPO/ |
H A D | ConstantMerge.cpp | 49 bool hasKnownAlignment(GlobalVariable *GV) const; 53 unsigned getAlignment(GlobalVariable *GV) const; 74 GlobalValue *GV = cast<GlobalValue>(Operand); local 75 UsedValues.insert(GV); 91 unsigned ConstantMerge::getAlignment(GlobalVariable *GV) const { 92 unsigned Align = GV->getAlignment(); 95 return GV->getParent()->getDataLayout().getPreferredAlignment(GV); 122 GlobalVariable *GV = &*GVI++; local 124 // If this GV i 163 GlobalVariable *GV = &*GVI++; local [all...] |
H A D | ElimAvailExtern.cpp | 56 for (GlobalVariable &GV : M.globals()) { 57 if (!GV.hasAvailableExternallyLinkage()) 59 if (GV.hasInitializer()) { 60 Constant *Init = GV.getInitializer(); 61 GV.setInitializer(nullptr); 65 GV.removeDeadConstantUsers(); 66 GV.setLinkage(GlobalValue::ExternalLinkage);
|
H A D | GlobalDCE.cpp | 55 void GlobalIsNeeded(GlobalValue *GV); 58 bool RemoveUnusedGlobalValue(GlobalValue &GV); 87 for (GlobalVariable &GV : M.globals()) 88 if (Comdat *C = GV.getComdat()) 89 ComdatMembers.insert(std::make_pair(C, &GV)); 103 for (GlobalVariable &GV : M.globals()) { 104 Changed |= RemoveUnusedGlobalValue(GV); 107 if (!GV.isDeclaration() && !GV.hasAvailableExternallyLinkage()) 108 if (!GV 251 RemoveUnusedGlobalValue(GlobalValue &GV) argument [all...] |
H A D | Internalize.cpp | 63 bool maybeInternalize(GlobalValue &GV, 65 void checkComdatVisibility(GlobalValue &GV, 112 static bool isExternallyVisible(const GlobalValue &GV, argument 115 if (GV.isDeclaration()) 119 if (GV.hasAvailableExternallyLinkage()) 123 if (GV.hasDLLExportStorageClass()) 127 if (!GV.hasLocalLinkage() && ExternalNames.count(GV.getName())) 133 // Internalize GV if it is possible to do so, i.e. it is not externally visible 136 GlobalValue &GV, cons 135 maybeInternalize( GlobalValue &GV, const std::set<const Comdat *> &ExternalComdats) argument 162 checkComdatVisibility( GlobalValue &GV, std::set<const Comdat *> &ExternalComdats) argument [all...] |
/external/llvm/lib/Target/Mips/ |
H A D | MipsTargetObjectFile.cpp | 63 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM) const { argument 67 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) 68 return IsGlobalInSmallSectionImpl(GV, TM); 70 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); 76 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, argument 78 return (IsGlobalInSmallSectionImpl(GV, TM) && 86 IsGlobalInSmallSectionImpl(const GlobalValue *GV, argument 96 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GV); 115 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const argument [all...] |
H A D | MipsTargetObjectFile.h | 27 bool IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, 29 bool IsGlobalInSmallSection(const GlobalValue *GV, 31 bool IsGlobalInSmallSectionImpl(const GlobalValue *GV, 34 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetObjectFile.cpp | 53 bool HexagonTargetObjectFile::IsGlobalInSmallSection(const GlobalValue *GV, argument 58 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) 61 // Otherwise, Check if GV should be in sdata/sbss, when normally it would end 62 // up in getKindForGlobal(GV, TM). 63 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); 69 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, argument 72 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GV); 77 Type *Ty = GV 86 SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const argument [all...] |
H A D | HexagonTargetObjectFile.h | 27 bool IsGlobalInSmallSection(const GlobalValue *GV, 30 bool IsGlobalInSmallSection(const GlobalValue *GV, 34 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
|
/external/llvm/lib/Target/Sparc/ |
H A D | SparcTargetObjectFile.cpp | 19 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, 26 MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, ".DW.stub", Mang, TM); 32 MCSymbol *Sym = TM.getSymbol(GV, Mang); 33 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); 42 GV, Encoding, Mang, TM, MMI, Streamer); 18 getTTypeGlobalReference( const GlobalValue *GV, unsigned Encoding, Mangler &Mang, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const argument
|
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZConstantPoolValue.cpp | 21 : MachineConstantPoolValue(gv->getType()), GV(gv), Modifier(modifier) {} 24 SystemZConstantPoolValue::Create(const GlobalValue *GV, argument 26 return new SystemZConstantPoolValue(GV, Modifier); 38 if (ZCPV->GV == GV && ZCPV->Modifier == Modifier) 46 ID.AddPointer(GV); 51 O << GV << "@" << int(Modifier);
|
H A D | SystemZConstantPoolValue.h | 34 const GlobalValue *GV; member in class:llvm::SystemZConstantPoolValue 38 SystemZConstantPoolValue(const GlobalValue *GV, 43 Create(const GlobalValue *GV, SystemZCP::SystemZCPModifier Modifier); 52 const GlobalValue *getGlobalValue() const { return GV; }
|
H A D | SystemZSubtarget.cpp | 47 // Return true if GV binds locally under reloc model RM. 48 static bool bindsLocally(const GlobalValue *GV, Reloc::Model RM) { argument 53 return GV->hasLocalLinkage() || !GV->hasDefaultVisibility(); 56 bool SystemZSubtarget::isPC32DBLSymbol(const GlobalValue *GV, argument 61 if (GV->getAlignment() == 1) 66 return bindsLocally(GV, RM);
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAssignValidGlobalNames.cpp | 53 for (GlobalVariable &GV : M.globals()) { 55 if (GV.hasLocalLinkage()) { 60 GV.setName(cleanUpName(GV.getName()));
|
/external/llvm/lib/Target/XCore/ |
H A D | XCoreLowerThreadLocal.cpp | 49 bool lowerGlobal(GlobalVariable *GV); 161 static bool rewriteNonInstructionUses(GlobalVariable *GV, Pass *P) { argument 163 for (User *U : GV->users()) 180 bool XCoreLowerThreadLocal::lowerGlobal(GlobalVariable *GV) { argument 181 Module *M = GV->getParent(); 183 if (!GV->isThreadLocal()) 187 if (!rewriteNonInstructionUses(GV, this) || 188 !GV->getType()->isSized() || isZeroLengthArray(GV->getType())) 192 ArrayType *NewType = createLoweredType(GV [all...] |
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 99 GVMemoryBlock(const GlobalVariable *GV) argument 100 : CallbackVH(const_cast<GlobalVariable*>(GV)) {} 105 static char *Create(const GlobalVariable *GV, const DataLayout& TD) { argument 106 Type *ElTy = GV->getType()->getElementType(); 110 TD.getPreferredAlignment(GV)) 112 new(RawMemory) GVMemoryBlock(GV); 126 char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) { argument 127 return GVMemoryBlock::Create(GV, getDataLayout()); 167 GlobalVariable *GV = Modules[i]->getGlobalVariable(Name,AllowInternal); local 168 if (GV 191 getMangledName(const GlobalValue *GV) argument 206 addGlobalMapping(const GlobalValue *GV, void *Addr) argument 246 updateGlobalMapping(const GlobalValue *GV, void *Addr) argument 297 getPointerToGlobalIfAvailable(const GlobalValue *GV) argument 374 GlobalVariable *GV = module.getNamedGlobal(Name); local 577 getPointerToGlobal(const GlobalValue *GV) argument 660 GenericValue GV = getConstantValue(Op0); local 666 GenericValue GV = getConstantValue(Op0); local 672 GenericValue GV = getConstantValue(Op0); local 679 GenericValue GV = getConstantValue(Op0); local 685 GenericValue GV = getConstantValue(Op0); local 690 GenericValue GV = getConstantValue(Op0); local 705 GenericValue GV = getConstantValue(Op0); local 721 GenericValue GV = getConstantValue(Op0); local 739 GenericValue GV = getConstantValue(Op0); local 748 GenericValue GV = getConstantValue(Op0); local 756 GenericValue GV = getConstantValue(Op0); local 796 GenericValue GV; local 1313 const GlobalValue *GV = NonCanonicalGlobals[i]; local 1341 EmitGlobalVariable(const GlobalVariable *GV) argument [all...] |
/external/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 53 static bool isSuitableForBSS(const GlobalVariable *GV, bool NoZerosInBSS) { argument 54 const Constant *C = GV->getInitializer(); 61 if (GV->isConstant()) 65 if (GV->hasSection()) 104 const GlobalValue *GV, StringRef Suffix, Mangler &Mang, 109 NameStr += GV->getParent()->getDataLayout().getPrivateGlobalPrefix(); 110 TM.getNameWithPrefix(NameStr, GV, Mang); 116 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, 118 return TM.getSymbol(GV, Mang); 132 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalValue *GV, argument 103 getSymbolWithGlobalValueBase( const GlobalValue *GV, StringRef Suffix, Mangler &Mang, const TargetMachine &TM) const argument 115 getCFIPersonalitySymbol( const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, MachineModuleInfo *MMI) const argument 241 SectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const argument 290 getTTypeGlobalReference( const GlobalValue *GV, unsigned Encoding, Mangler &Mang, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const argument 326 getNameWithPrefix( SmallVectorImpl<char> &OutName, const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM) const argument [all...] |
/external/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 57 /// The mover has just hit GV and we have to decide if it, and other members 60 void addLazyFor(GlobalValue &GV, IRMover::ValueAdder Add); 117 bool linkIfNeeded(GlobalValue &GV); 138 void processGlobalForThinLTO(GlobalValue &GV); 569 bool ModuleLinker::linkIfNeeded(GlobalValue &GV) { argument 570 GlobalValue *DGV = getLinkedToGlobal(&GV); 575 if (DGV && !GV.hasLocalLinkage() && !GV.hasAppendingLinkage()) { 577 auto *SGVar = dyn_cast<GlobalVariable>(&GV); 592 getMinVisibility(DGV->getVisibility(), GV 636 addLazyFor(GlobalValue &GV, IRMover::ValueAdder Add) argument 655 processGlobalForThinLTO(GlobalValue &GV) argument 719 GlobalValue *GV = ValuesToLink[I]; local 740 GlobalValue *GV = DstM.getNamedValue(P.first()); local [all...] |
/external/llvm/lib/Object/ |
H A D | IRObjectFile.cpp | 127 const GlobalValue *GV = &*I; local 128 return reinterpret_cast<uintptr_t>(GV) | 2; 134 const GlobalValue *GV = &*I; local 135 return reinterpret_cast<uintptr_t>(GV) | 1; 141 const GlobalValue *GV = &*I; local 142 return reinterpret_cast<uintptr_t>(GV) | 0; 153 const GlobalValue *GV = getGV(Symb); local 158 Module::const_iterator Iter(static_cast<const Function*>(GV)); 164 Module::const_global_iterator Iter(static_cast<const GlobalVariable*>(GV)); 170 Module::const_alias_iterator Iter(static_cast<const GlobalAlias*>(GV)); [all...] |
/external/llvm/lib/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.cpp | 52 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, 57 TM.getSymbol(GV, Mang)->getName()); 59 return TM.getSymbol(GV, Mang); 88 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, 95 MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, ".DW.stub", Mang, TM); 101 MCSymbol *Sym = TM.getSymbol(GV, Mang); 102 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); 111 getTTypeGlobalReference(GV, Encoding, Mang, TM, MMI, Streamer); 192 static const Comdat *getELFComdat(const GlobalValue *GV) { argument 193 const Comdat *C = GV 51 getCFIPersonalitySymbol( const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, MachineModuleInfo *MMI) const argument 87 getTTypeGlobalReference( const GlobalValue *GV, unsigned Encoding, Mangler &Mang, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const argument 204 getExplicitSectionGlobal( const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const argument 243 selectELFSectionForGlobal(MCContext &Ctx, const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM, bool EmitUniqueSection, unsigned Flags, unsigned *NextUniqueID) argument 305 SelectSectionForGlobal( const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const argument 512 checkMachOComdat(const GlobalValue *GV) argument 521 getExplicitSectionGlobal( const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const argument 563 SelectSectionForGlobal( const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const argument 648 getTTypeGlobalReference( const GlobalValue *GV, unsigned Encoding, Mangler &Mang, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const argument 680 getCFIPersonalitySymbol( const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, MachineModuleInfo *MMI) const argument 773 getNameWithPrefix( SmallVectorImpl<char> &OutName, const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM) const argument 822 getComdatGVForCOFF(const GlobalValue *GV) argument 839 getSelectionForCOFF(const GlobalValue *GV) argument 864 getExplicitSectionGlobal( const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const argument 906 SelectSectionForGlobal( const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const argument 962 getNameWithPrefix( SmallVectorImpl<char> &OutName, const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM) const argument 1047 emitLinkerFlagsForGlobal( raw_ostream &OS, const GlobalValue *GV, const Mangler &Mang) const argument [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.h | 52 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, 56 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, 69 getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, 75 MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV, Mangler &Mang, 98 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, 102 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, 111 getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, 117 MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV, Mangler &Mang, 127 void getNameWithPrefix(SmallVectorImpl<char> &OutName, const GlobalValue *GV, 137 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKin [all...] |