search for: valvt

Displaying 20 results from an estimated 39 matches for "valvt".

2009 Feb 16
3
[LLVMdev] Using CallingConvLower in ARM target
...- NeededStackSize = 4; - break; - case MVT::i64: - case MVT::f64: - if (firstGPR < 3) - NeededGPRs = 2; - else if (firstGPR == 3) { - NeededGPRs = 1; - NeededStackSize = 4; - } else - NeededStackSize = 8; + State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, + State.AllocateStack(4, 4), + MVT::i32, LocInfo)); + return true; // we handled it Your change isn't handling the "NeededStackSize = 8" case. ++ static const unsigned HiRegList[] = { ARM::...
2009 Feb 18
0
[LLVMdev] Using CallingConvLower in ARM target
...se MVT::i64: > - case MVT::f64: > - if (firstGPR < 3) > - NeededGPRs = 2; > - else if (firstGPR == 3) { > - NeededGPRs = 1; > - NeededStackSize = 4; > - } else > - NeededStackSize = 8; > + State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, > + State.AllocateStack(4, 4), > + MVT::i32, LocInfo)); > + return true; // we handled it > > Your change isn't handling the "NeededStackSize = 8" case. I believe it is. I'...
2009 Feb 18
2
[LLVMdev] Using CallingConvLower in ARM target
...64: >> - if (firstGPR < 3) >> - NeededGPRs = 2; >> - else if (firstGPR == 3) { >> - NeededGPRs = 1; >> - NeededStackSize = 4; >> - } else >> - NeededStackSize = 8; >> + State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, >> + State.AllocateStack(4, 4), >> + MVT::i32, LocInfo)); >> + return true; // we handled it >> >> Your change isn't handling the "NeededStackSize = 8" case. >...
2009 Feb 26
0
[LLVMdev] Using CallingConvLower in ARM target
...PR < 3) >>> - NeededGPRs = 2; >>> - else if (firstGPR == 3) { >>> - NeededGPRs = 1; >>> - NeededStackSize = 4; >>> - } else >>> - NeededStackSize = 8; >>> + State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, >>> + >>> State.AllocateStack(4, 4), >>> + MVT::i32, LocInfo)); >>> + return true; // we handled it >>> >>> Your change isn't handling the "N...
2009 Feb 28
3
[LLVMdev] Using CallingConvLower in ARM target
...-      NeededGPRs = 2; >>>> -    else if (firstGPR == 3) { >>>> -      NeededGPRs = 1; >>>> -      NeededStackSize = 4; >>>> -    } else >>>> -      NeededStackSize = 8; >>>> +      State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, >>>> + >>>> State.AllocateStack(4, 4), >>>> +                                             MVT::i32, LocInfo)); >>>> +    return true;  // we handled it >>>> >>>> Your change isn't handling the "NeededStackSize = 8&quo...
2009 Apr 17
0
[LLVMdev] Using CallingConvLower in ARM target
...- else if (firstGPR == 3) { >>>>>> - NeededGPRs = 1; >>>>>> - NeededStackSize = 4; >>>>>> - } else >>>>>> - NeededStackSize = 8; >>>>>> + State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, >>>>>> + >>>>>> State.AllocateStack(4, 4), >>>>>> + MVT::i32, >>>>>> LocInfo)); >>>>>> + return true; // we handled it >>>>>> >>>&g...
2009 Apr 16
2
[LLVMdev] Using CallingConvLower in ARM target
...gt;>>>> -    else if (firstGPR == 3) { >>>>> -      NeededGPRs = 1; >>>>> -      NeededStackSize = 4; >>>>> -    } else >>>>> -      NeededStackSize = 8; >>>>> +      State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, >>>>> + >>>>> State.AllocateStack(4, 4), >>>>> +                                             MVT::i32, LocInfo)); >>>>> +    return true;  // we handled it >>>>> >>>>> Your change isn't handling the &quot...
2009 Apr 17
1
[LLVMdev] Using CallingConvLower in ARM target
...PR == 3) { >>>>>>> - NeededGPRs = 1; >>>>>>> - NeededStackSize = 4; >>>>>>> - } else >>>>>>> - NeededStackSize = 8; >>>>>>> + State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, >>>>>>> + >>>>>>> State.AllocateStack(4, 4), >>>>>>> + MVT::i32, >>>>>>> LocInfo)); >>>>>>> + return true; // we handled it >>>>&gt...
2009 Feb 14
0
[LLVMdev] Using CallingConvLower in ARM target
...> 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); >>>>>> &g...
2009 Feb 14
2
[LLVMdev] Using CallingConvLower in ARM target
...>>>>> 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); >>>>> >>>>&g...
2009 Feb 13
2
[LLVMdev] Using CallingConvLower in ARM target
...> > +/// CCCustomFn - 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...
2009 Feb 13
0
[LLVMdev] Using CallingConvLower in ARM target
...d processing of the arg or not +/// CCCustomFn - 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 c...
2009 Feb 13
2
[LLVMdev] Using CallingConvLower in ARM target
...> > +/// CCCustomFn - 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 commen...
2013 Jan 27
2
[LLVMdev] lldb cannot display structure type for llvm3.2
I find the lldb cannot display structure type information, such as "print ArgLocs.size()" as follows, -> 593 CCValAssign &VA = ArgLocs[i]; 594 EVT ValVT = VA.getValVT(); 595 ISD::ArgFlagsTy Flags = Ins[i].Flags; 596 bool IsRegLoc = VA.isRegLoc(); (lldb) print ArgLocs.size() error: call to a function 'llvm::SmallVectorTemplateCommon<llvm::CCValAssign>::size() const' that is not present in the target error: Couldn't...
2009 Feb 07
2
[LLVMdev] Using CallingConvLower in ARM target
...gt; 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.u...
2009 Feb 14
2
[LLVMdev] Using CallingConvLower in ARM target
...on 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...
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...
2009 Feb 09
0
[LLVMdev] Using CallingConvLower in ARM target
...d. But I do have a question: +/// CCCustomFn - 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...
2009 Feb 14
0
[LLVMdev] Using CallingConvLower in ARM target
...t;>> 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&q...
2009 Jan 17
2
[LLVMdev] Using CallingConvLower in ARM target
...t names a function to be called: CCIfType<[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);