Displaying 7 results from an estimated 7 matches for "setoeq".
Did you mean:
seteq
2017 Feb 25
2
Help understanding and lowering LLVM IDS conditional codes correctly
...Chain, Dest, TargetCC, Flag);
}
and code for getFPCCtoXXCC() is as following:
static void getFPCCtoXXCC(ISD::CondCode CC, XXXCC::CondCodes &CondCode) {
switch (CC) {
default:
llvm_unreachable("Unknown FP condition!");
case ISD::SETEQ:
case ISD::SETOEQ:
CondCode = XXXCC::COND_E;
break;
case ISD::SETGT:
case ISD::SETOGT:
CondCode = XXXCC::COND_GT;
break;
case ISD::SETGE:
case ISD::SETOGE:
CondCode = XXXCC::COND_GE;
break;
case ISD::SETOLT:
case ISD::SETLT:
CondCode = XXXCC::COND_LT;...
2017 Mar 09
2
Help understanding and lowering LLVM IDS conditional codes correctly
...t; }
>
> and code for getFPCCtoXXCC() is as following:
>
> static void getFPCCtoXXCC(ISD::CondCode CC, XXXCC::CondCodes &CondCode) {
> switch (CC) {
> default:
> llvm_unreachable("Unknown FP condition!");
> case ISD::SETEQ:
> case ISD::SETOEQ:
> CondCode = XXXCC::COND_E;
> break;
> case ISD::SETGT:
> case ISD::SETOGT:
> CondCode = XXXCC::COND_GT;
> break;
> case ISD::SETGE:
> case ISD::SETOGE:
> CondCode = XXXCC::COND_GE;
> break;
> case ISD::SETOLT...
2017 Mar 14
2
Help understanding and lowering LLVM IDS conditional codes correctly
...tic void getFPCCtoXXCC(ISD::CondCode CC, XXXCC::CondCodes
>> &CondCode) {
>> switch (CC) {
>> default:
>> llvm_unreachable("Unknown FP condition!");
>> case ISD::SETEQ:
>> case ISD::SETOEQ:
>> CondCode = XXXCC::COND_E;
>> break;
>> case ISD::SETGT:
>> case ISD::SETOGT:
>> CondCode = XXXCC::COND_GT;
>> break;
>> case ISD::SETGE:
>> cas...
2009 May 21
0
[LLVMdev] [PATCH] Add new phase to legalization to handle vector operations
On Wed, May 20, 2009 at 4:55 PM, Dan Gohman <gohman at apple.com> wrote:
> Can you explain why you chose the approach of using a new pass?
> I pictured removing LegalizeDAG's type legalization code would
> mostly consist of finding all the places that use TLI.getTypeAction
> and just deleting code for handling its Expand and Promote. Are you
> anticipating something more
2009 May 20
2
[LLVMdev] [PATCH] Add new phase to legalization to handle vector operations
On May 20, 2009, at 1:34 PM, Eli Friedman wrote:
> On Wed, May 20, 2009 at 1:19 PM, Eli Friedman
> <eli.friedman at gmail.com> wrote:
>
>> Per subject, this patch adding an additional pass to handle vector
>>
>> operations; the idea is that this allows removing the code from
>>
>> LegalizeDAG that handles illegal types, which should be a significant
2009 May 21
2
[LLVMdev] [PATCH] Add new phase to legalization to handle vector operations
...HS.getValueType();
- if (VT == MVT::f32 || VT == MVT::f64) {
- // Expand into one or more soft-fp libcall(s).
- RTLIB::Libcall LC1 = RTLIB::UNKNOWN_LIBCALL, LC2 = RTLIB::UNKNOWN_LIBCALL;
- switch (cast<CondCodeSDNode>(CC)->get()) {
- case ISD::SETEQ:
- case ISD::SETOEQ:
- LC1 = (VT == MVT::f32) ? RTLIB::OEQ_F32 : RTLIB::OEQ_F64;
- break;
- case ISD::SETNE:
- case ISD::SETUNE:
- LC1 = (VT == MVT::f32) ? RTLIB::UNE_F32 : RTLIB::UNE_F64;
- break;
- case ISD::SETGE:
- case ISD::SETOGE:
- LC1 = (VT == MVT::f32) ?...
2012 Jul 16
3
[LLVMdev] RFC: LLVM incubation, or requirements for committing new backends
...n. (The code below does this but we don't have the Instruction
> + // selection patterns to do this yet.
> +#if 0
> + if (isZero(LHS) || isZero(RHS)) {
> + SDValue Cond = (isZero(LHS) ? RHS : LHS);
> + bool SwapTF = false;
> + switch (CCOpcode) {
> + case ISD::SETOEQ:
> + case ISD::SETUEQ:
> + case ISD::SETEQ:
> + SwapTF = true;
> + // Fall through
> + case ISD::SETONE:
> + case ISD::SETUNE:
> + case ISD::SETNE:
> + // We can lower to select
> + if (SwapTF) {
> + Temp = True;
> +...