Displaying 20 results from an estimated 31 matches for "locvt".
2009 Feb 13
2
[LLVMdev] Using CallingConvLower in ARM target
...igns a location for Val, possibly
> updating
> +/// all args to reflect changes and indicates if it handled it. It
> must set
> +/// isCustom if it handles the arg and returns true.
> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
> + MVT &LocVT, CCValAssign::LocInfo &LocInfo,
> + ISD::ArgFlagsTy &ArgFlags, CCState &State,
> + bool &result);
>
> Is it necessary to return two bools (the second is returned by
> reference in 'result')? I am confused about the...
2009 Feb 13
0
[LLVMdev] Using CallingConvLower in ARM target
...stomFn - This function assigns a location for Val, possibly
updating
+/// all args to reflect changes and indicates if it handled it. It
must set
+/// isCustom if it handles the arg and returns true.
+typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
+ MVT &LocVT, CCValAssign::LocInfo &LocInfo,
+ ISD::ArgFlagsTy &ArgFlags, CCState &State,
+ bool &result);
Is "result" what you refer to as "isCustom" in the comments?
Sorry, I am still confused. You mean it could return true bu...
2009 Feb 13
2
[LLVMdev] Using CallingConvLower in ARM target
...igns a location for Val, possibly
> updating
> +/// all args to reflect changes and indicates if it handled it. It
> must set
> +/// isCustom if it handles the arg and returns true.
> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
> + MVT &LocVT, CCValAssign::LocInfo &LocInfo,
> + ISD::ArgFlagsTy &ArgFlags, CCState &State,
> + bool &result);
>
> Is "result" what you refer to as "isCustom" in the comments?
>
> Sorry, I am still confused. You...
2009 Feb 07
2
[LLVMdev] Using CallingConvLower in ARM target
...ed and if it the func succeeded
>> or failed:
>
> I like the second solution better. It seems rather cumbersome to embed
> multi-line c++ code in td files.
>
> Evan
>>
>>
>> typedef bool CCCustomFn(unsigned ValNo, MVT ValVT,
>> MVT LocVT, CCValAssign::LocInfo LocInfo,
>> ISD::ArgFlagsTy ArgFlags, CCState &State,
>> bool &result);
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>...
2009 Feb 14
2
[LLVMdev] Using CallingConvLower in ARM target
...pdating
>>> +/// all args to reflect changes and indicates if it handled it. It
>>> must set
>>> +/// isCustom if it handles the arg and returns true.
>>> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
>>> + MVT &LocVT, CCValAssign::LocInfo &LocInfo,
>>> + ISD::ArgFlagsTy &ArgFlags, CCState &State,
>>> + bool &result);
>>>
>>> Is "result" what you refer to as "isCustom" in the comments?
>>&g...
2009 Feb 13
0
[LLVMdev] Using CallingConvLower in ARM target
...possibly
>> updating
>> +/// all args to reflect changes and indicates if it handled it. It
>> must set
>> +/// isCustom if it handles the arg and returns true.
>> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
>> + MVT &LocVT, CCValAssign::LocInfo &LocInfo,
>> + ISD::ArgFlagsTy &ArgFlags, CCState &State,
>> + bool &result);
>>
>> Is "result" what you refer to as "isCustom" in the comments?
>>
>> Sorry, I...
2009 Feb 09
0
[LLVMdev] Using CallingConvLower in ARM target
...stomFn - This function assigns a location for Val, possibly
updating
+/// all args to reflect changes and indicates if it handled it. It
must set
+/// isCustom if it handles the arg and returns true.
+typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
+ MVT &LocVT, CCValAssign::LocInfo &LocInfo,
+ ISD::ArgFlagsTy &ArgFlags, CCState &State,
+ bool &result);
Is it necessary to return two bools (the second is returned by
reference in 'result')? I am confused about the semantics of 'res...
2009 Feb 14
2
[LLVMdev] Using CallingConvLower in ARM target
...gs to reflect changes and indicates if it handled it. It
>>>>> must set
>>>>> +/// isCustom if it handles the arg and returns true.
>>>>> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
>>>>> + MVT &LocVT, CCValAssign::LocInfo &LocInfo,
>>>>> + ISD::ArgFlagsTy &ArgFlags, CCState &State,
>>>>> + bool &result);
>>>>>
>>>>> Is "result" what you refer to as "isCustom&q...
2009 Feb 14
0
[LLVMdev] Using CallingConvLower in ARM target
...> +/// all args to reflect changes and indicates if it handled it. It
>>>> must set
>>>> +/// isCustom if it handles the arg and returns true.
>>>> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
>>>> + MVT &LocVT, CCValAssign::LocInfo &LocInfo,
>>>> + ISD::ArgFlagsTy &ArgFlags, CCState &State,
>>>> + bool &result);
>>>>
>>>> Is "result" what you refer to as "isCustom" in the comm...
2009 Jan 17
2
[LLVMdev] Using CallingConvLower in ARM target
...CIfType<[f64], CCCustom<"MyCustomLoweringFunc">>
the function signature for such functions will have to return two
results: if the CC processing is finished and if it the func succeeded
or failed:
typedef bool CCCustomFn(unsigned ValNo, MVT ValVT,
MVT LocVT, CCValAssign::LocInfo LocInfo,
ISD::ArgFlagsTy ArgFlags, CCState &State, bool &result);
2009 Feb 16
3
[LLVMdev] Using CallingConvLower in ARM target
...;>>>> it. It
>>>>>>> must set
>>>>>>> +/// isCustom if it handles the arg and returns true.
>>>>>>> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
>>>>>>> + MVT &LocVT, CCValAssign::LocInfo
>>>>>>> &LocInfo,
>>>>>>> + ISD::ArgFlagsTy &ArgFlags, CCState
>>>>>>> &State,
>>>>>>> + bool &result);
>>>>>>...
2009 Feb 14
0
[LLVMdev] Using CallingConvLower in ARM target
...anges and indicates if it handled it. It
>>>>>> must set
>>>>>> +/// isCustom if it handles the arg and returns true.
>>>>>> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
>>>>>> + MVT &LocVT, CCValAssign::LocInfo &LocInfo,
>>>>>> + ISD::ArgFlagsTy &ArgFlags, CCState &State,
>>>>>> + bool &result);
>>>>>>
>>>>>> Is "result" what you refer to as...
2013 Dec 03
0
[LLVMdev] How to implement CCIsPointer?
...s returned in register a0 (shadowed in d0 for some targets in
GCC). For calling conventions compatible with Turbo/Pure C the first
two pointes would also go in a0-a1, and the first three integers in
d0-d2 (This is not supported by official GCC as of now).
Simply subclassing CCIf and check ValVT or LocVT like this does not work:
class CCIfPointer<CCAction A> : CCIf<"LocVT==MVT::iPTR", A> { }
Do I have to extend ISD::ArgFlagsTy with a "IsPtr" flag that is
populated, maybe in SelectionDAGISel::LowerCallTo and
::LowerArguments? Or is there a better and more obvious...
2009 Feb 18
0
[LLVMdev] Using CallingConvLower in ARM target
...; it. It
>>>>>>>> must set
>>>>>>>> +/// isCustom if it handles the arg and returns true.
>>>>>>>> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
>>>>>>>> + MVT &LocVT, CCValAssign::LocInfo
>>>>>>>> &LocInfo,
>>>>>>>> + ISD::ArgFlagsTy &ArgFlags, CCState
>>>>>>>> &State,
>>>>>>>> + bool &result);
>>>...
2009 Feb 18
2
[LLVMdev] Using CallingConvLower in ARM target
...;>>>>>>> must set
>>>>>>>>> +/// isCustom if it handles the arg and returns true.
>>>>>>>>> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
>>>>>>>>> + MVT &LocVT, CCValAssign::LocInfo
>>>>>>>>> &LocInfo,
>>>>>>>>> + ISD::ArgFlagsTy &ArgFlags, CCState
>>>>>>>>> &State,
>>>>>>>>> + bool &resu...
2018 Jan 03
7
Options for custom CCState, CCAssignFn, and GlobalISel
...pport for RISC-V, which also motivated me to revisit code which I've always
felt was a bit clunky.
Calling convention lowering in LLVM is typically handled by functions
conforming to the CCAssignFn typedef:
typedef bool CCAssignFn(unsigned ValNo, MVT ValVT,
MVT LocVT, CCValAssign::LocInfo LocInfo,
ISD::ArgFlagsTy ArgFlags, CCState &State);
Notably, these functions are called after type legalisation so an argument/ret
has been split to legal value types. In some cases you want more information
than is available through this funct...
2009 Feb 26
0
[LLVMdev] Using CallingConvLower in ARM target
...;>>>> must set
>>>>>>>>>> +/// isCustom if it handles the arg and returns true.
>>>>>>>>>> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
>>>>>>>>>> + MVT &LocVT, CCValAssign::LocInfo
>>>>>>>>>> &LocInfo,
>>>>>>>>>> + ISD::ArgFlagsTy &ArgFlags, CCState
>>>>>>>>>> &State,
>>>>>>>>>> +...
2009 Feb 28
3
[LLVMdev] Using CallingConvLower in ARM target
...;> must set
>>>>>>>>>>> +/// isCustom if it handles the arg and returns true.
>>>>>>>>>>> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
>>>>>>>>>>> + MVT &LocVT, CCValAssign::LocInfo
>>>>>>>>>>> &LocInfo,
>>>>>>>>>>> + ISD::ArgFlagsTy &ArgFlags, CCState
>>>>>>>>>>> &State,
>>>>>>>>>>> + ...
2009 Jan 19
0
[LLVMdev] Using CallingConvLower in ARM target
...; results: if the CC processing is finished and if it the func succeeded
> or failed:
I like the second solution better. It seems rather cumbersome to embed
multi-line c++ code in td files.
Evan
>
>
> typedef bool CCCustomFn(unsigned ValNo, MVT ValVT,
> MVT LocVT, CCValAssign::LocInfo LocInfo,
> ISD::ArgFlagsTy ArgFlags, CCState &State,
> bool &result);
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs....
2009 Apr 17
0
[LLVMdev] Using CallingConvLower in ARM target
...gt;>>>>>>>>>> +/// isCustom if it handles the arg and returns true.
>>>>>>>>>>>>> +typedef bool CCCustomFn(unsigned &ValNo, MVT &ValVT,
>>>>>>>>>>>>> + MVT &LocVT, CCValAssign::LocInfo
>>>>>>>>>>>>> &LocInfo,
>>>>>>>>>>>>> + ISD::ArgFlagsTy &ArgFlags,
>>>>>>>>>>>>> CCState
>>>>>>>>>&g...