Displaying 5 results from an estimated 5 matches for "printsuffixedname".
2009 Jun 21
4
[LLVMdev] proposal to simplify isel/asmprinter interaction with globals
...if (GV->isDeclaration() || GV->isWeakForLinker()) {
// Dynamically-resolved functions need a stub for the function.
if (GV->hasHiddenVisibility()) {
if (!GV->isDeclaration() && !GV->hasCommonLinkage())
...
else {
printSuffixedName(Name, "$non_lazy_ptr");
}
} else {
printSuffixedName(Name, "$non_lazy_ptr");
}
where shouldPrintStub is:
static inline bool shouldPrintStub(TargetMachine &TM, const
X86Subtarget* ST) {
return ST->isPICStyleStub() &&...
2009 Jun 03
5
[LLVMdev] patch for llc/ARM: added mechanism to move switch tables from .text -> .data; also cleanup and documentation
...: A lot of this code is replicated in ARMConstantPoolValue::print
printDataDirective(MCPV->getType());
ARMConstantPoolValue *ACPV = static_cast<ARMConstantPoolValue*>(MCPV);
@@ -155,8 +162,13 @@
} else if (ACPV->isStub()) {
FnStubs.insert(Name);
printSuffixedName(Name, "$stub");
- } else
+ } else if (ACPV->isDataSegmentJumpTable()) {
+ // requires synchronization with code (grep for "$jumptable$")
+ O << Name << "$jumptable$" << ACPV->getLabelId();
+ } else {
+ assert(...
2009 Jun 11
0
[LLVMdev] patch for llc/ARM: added mechanism to move switch tables from .text -> .data; also cleanup and documentation
On Jun 8, 2009, at 2:42 PM, robert muth wrote:
> On Sun, Jun 7, 2009 at 11:53 PM, Evan Cheng <evan.cheng at apple.com>
> wrote:
>>
>> On Jun 7, 2009, at 6:59 AM, robert muth wrote:
>>
>>> On Sat, Jun 6, 2009 at 4:51 PM, Evan Cheng<evan.cheng at apple.com>
>>> wrote:
>>>> +cl::opt<std::string>
2009 Jun 08
2
[LLVMdev] patch for llc/ARM: added mechanism to move switch tables from .text -> .data; also cleanup and documentation
On Sun, Jun 7, 2009 at 11:53 PM, Evan Cheng <evan.cheng at apple.com> wrote:
>
> On Jun 7, 2009, at 6:59 AM, robert muth wrote:
>
>> On Sat, Jun 6, 2009 at 4:51 PM, Evan Cheng<evan.cheng at apple.com>
>> wrote:
>>> +cl::opt<std::string> FlagJumpTableSection("jumptable-section",
>>> +
2009 Jun 24
2
[LLVMdev] patch for llc/ARM: added mechanism to move switch tables from .text -> .data; also cleanup and documentation
...: A lot of this code is replicated in ARMConstantPoolValue::print
printDataDirective(MCPV->getType());
ARMConstantPoolValue *ACPV = static_cast<ARMConstantPoolValue*>(MCPV);
@@ -157,8 +162,13 @@
} else if (ACPV->isStub()) {
FnStubs.insert(Name);
printSuffixedName(Name, "$stub");
- } else
+ } else if (ACPV->isDataSegmentJumpTable()) {
+ // requires synchronization with code (grep for "$jumptable$")
+ O << Name << "$jumptable$" << ACPV->getLabelId();
+ } else {
+ assert(...