search for: hasinternallinkage

Displaying 8 results from an estimated 8 matches for "hasinternallinkage".

Did you mean: hasexternallinkage
2005 Jul 11
0
[LLVMdev] Mod for using GAS with MS VC++
...rinter ctor... if (isDarwin) { TargetUsesFooFeature = true; TargetUsesBarFeature = true; TargetUsesBazFeature = false; } else if (isCygwin) { ... } etc. Then instead of code that looks like this: if (!forCygwin && !forDarwin && !forWindows && I->hasInternalLinkage()) O << "\t.local " << name << "\n"; We would have: if (TargetUsesSymbolsMarkedLocal && I->hasInternalLinkage()) O << "\t.local " << name << "\n"; ... or something. -Chris -- http://nondot.org/...
2005 Apr 25
0
[LLVMdev] "Best" alias analysis algorithm
...code/ The GlobalsModRef::getModRefInfo has this logic: // If we are asking for mod/ref info of a direct call with a pointer to a // global we are tracking, return information if we have it. if (GlobalValue *GV = const_cast<GlobalValue*>(getUnderlyingObject(P))) if (GV->hasInternalLinkage()) So, no information is produced for external variables, the function calls Aliasanalysis::getModRefInfo, which sees that called function may write to memory, and returns true for all global variables. Anything I can do about it? What I what is minimally accurate information about all global...
2005 Jul 11
3
[LLVMdev] Mod for using GAS with MS VC++
Here is a mod to X86 that allows GAS to be used with MS Visual C++. I introduces a 'forWindows' variable like 'forCygwin' in th X86SharedAsmPrinter class. This may prompt thurther normalization, on the otherhand it may not :) Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Apr 25
5
[LLVMdev] "Best" alias analysis algorithm
Hello, I'm playing with alias analysis, using the following program: %i = external global int ; <int*> [#uses=2] implementation ; Functions: int %_Z3bari(int %p) { entry: %tmp.0 = load int* %i ; <int> [#uses=1] %tmp.1 = setgt int %tmp.0, 10 ; <bool> [#uses=1] br bool %tmp.1, label %then, label %UnifiedReturnBlock then:
2005 Apr 25
2
[LLVMdev] "Best" alias analysis algorithm
...dRef::getModRefInfo has this logic: > > // If we are asking for mod/ref info of a direct call with a pointer to a > // global we are tracking, return information if we have it. > if (GlobalValue *GV = const_cast<GlobalValue*>(getUnderlyingObject(P))) > if (GV->hasInternalLinkage()) > > So, no information is produced for external variables, the function calls > Aliasanalysis::getModRefInfo, which sees that called function may write to > memory, and returns true for all global variables. > > Anything I can do about it? What I what is minimally accurate info...
2005 Jul 11
2
[LLVMdev] Mod for using GAS with MS VC++
...tUsesFooFeature = true; > TargetUsesBarFeature = true; > TargetUsesBazFeature = false; > } else if (isCygwin) { > ... > } > etc. > > Then instead of code that looks like this: > > if (!forCygwin && !forDarwin && !forWindows && I->hasInternalLinkage()) > O << "\t.local " << name << "\n"; > > We would have: > > if (TargetUsesSymbolsMarkedLocal && I->hasInternalLinkage()) > O << "\t.local " << name << "\n"; > > ... or somethin...
2005 Apr 26
0
[LLVMdev] "Best" alias analysis algorithm
...is logic: > > > > // If we are asking for mod/ref info of a direct call with a pointer > > to a // global we are tracking, return information if we have it. > > if (GlobalValue *GV = > > const_cast<GlobalValue*>(getUnderlyingObject(P))) if > > (GV->hasInternalLinkage()) > > > > So, no information is produced for external variables, the function calls > > Aliasanalysis::getModRefInfo, which sees that called function may write > > to memory, and returns true for all global variables. > > > > Anything I can do about it? What I w...
2006 May 10
2
[LLVMdev] llvm-gcc4 & mingw32
Hello, Everyone. This is just brief description on building llvm-gcc4 with mingw32. It's definitely non error-free and contains many "hacks", which should be eliminated in the future. 1. Prerequisites We're building in the folowing configuration: 1.1 GCC 3.4.5: gcc -v Reading specs from f:/research/mingw/bin/../lib/gcc/mingw32/3.4.5/specs Configured with: