Displaying 4 results from an estimated 4 matches for "isglobalinsmallsect".
2016 Nov 08
3
[MC] Target-Independent Small Data Section Handling
...roach for handling small global
variables in its TargetLoweringObjectFile subclass. Also, the clang driver
responds to the `-G <bytes>` flag so the user can define a cutoff size
other than 8 (or 0 to disable small data altogether).
It seems the Hexagon and Lanai targets duplicate much of the
IsGlobalInSmallSection handling from the MIPS target, but perform the same
basic classification tasks:
1. Pass GlobalObject to target-declared IsGlobalInSmallSection.
If it's a declaration, skip to step 4.
2. Pass GlobalObject to target-independent
TargetLoweringObjectFile::getKindForGlobal.
3. Ensure the r...
2016 Nov 17
3
[MC] Target-Independent Small Data Section Handling
...handling small global variables in its TargetLoweringObjectFile subclass. Also, the clang driver responds to the `-G <bytes>` flag so the user can define a cutoff size other than 8 (or 0 to disable small data altogether).
>
> It seems the Hexagon and Lanai targets duplicate much of the IsGlobalInSmallSection handling from the MIPS target, but perform the same basic classification tasks:
>
> 1. Pass GlobalObject to target-declared IsGlobalInSmallSection.
> If it's a declaration, skip to step 4.
> 2. Pass GlobalObject to target-independent
> TargetLoweringObjectFile::getKin...
2016 Nov 18
0
[MC] Target-Independent Small Data Section Handling
...ingObjectFile subclass. Also,
> > the clang driver responds to the `-G <bytes>` flag so the user can
> > define a cutoff size other than 8 (or 0 to disable small data
> > altogether).
> >
> > It seems the Hexagon and Lanai targets duplicate much of the
> > IsGlobalInSmallSection handling from the MIPS target, but perform
> > the same basic classification tasks:
> >
> > 1. Pass GlobalObject to target-declared IsGlobalInSmallSection.
> > If it's a declaration, skip to step 4.
> > 2. Pass GlobalObject to target-independent
> >...
2013 Apr 12
1
[LLVMdev] Problem with Store of i8 in a global address
...arguments: source register and address (immediate). This
instruction is not available in Mips, but it is in Hexagon, so I copied
from Hexagon the following, adapting it to my registers:
- In ISelLowering.h: CONST32 and CONST32_GP
- In ISelLowering.cpp: LowerGlobalAddress
- In TargetObjectFile.cpp: isGlobalInSmallSection
- In InstrInfo.td:
def SDTmyCONST32 : SDTypeProfile<1, 1, [
SDTCisVT<0, i32>,
SDTCisVT<1, i32>,
SDTCisPtrTy<0>]>;
def myCONST32 : SDNode<...