search for: getfpcctoxxcc

Displaying 3 results from an estimated 3 matches for "getfpcctoxxcc".

2017 Feb 25
2
Help understanding and lowering LLVM IDS conditional codes correctly
...en FPU is not present I need to generate a library call, so I have added following code in LowerBR_CC function in XXXISelLowering.cpp const XXXSubtarget &STI = static_cast<const XXXSubtarget&> (DAG.getSubtarget()); XXXCC::CondCodes TCC; getFPCCtoXXCC(CC,TCC); TargetCC = DAG.getConstant(TCC, dl, MVT::i8); if (STI.useHardFloat()) { // if fcmp instruction is available use it SDValue Flag = DAG.getNode(XXXISD::FCMP, dl, MVT::Glue, LHS, RHS, TargetCC); return DAG.getNode(XXXISD::BR_CC, dl, Op.getValueType(),...
2017 Mar 09
2
Help understanding and lowering LLVM IDS conditional codes correctly
...te a library call, > > so I have added following code in LowerBR_CC function in > XXXISelLowering.cpp > > const XXXSubtarget &STI = static_cast<const XXXSubtarget&> > (DAG.getSubtarget()); > XXXCC::CondCodes TCC; > getFPCCtoXXCC(CC,TCC); > TargetCC = DAG.getConstant(TCC, dl, MVT::i8); > if (STI.useHardFloat()) { > // if fcmp instruction is available use it > SDValue Flag = DAG.getNode(XXXISD::FCMP, dl, MVT::Glue, LHS, RHS, > TargetCC); > return DAG.getNode(XXXISD::BR_CC,...
2017 Mar 14
2
Help understanding and lowering LLVM IDS conditional codes correctly
...o I have added following code in LowerBR_CC function in >> XXXISelLowering.cpp >> >> const XXXSubtarget &STI = static_cast<const XXXSubtarget&> >> (DAG.getSubtarget()); >> XXXCC::CondCodes TCC; >> getFPCCtoXXCC(CC,TCC); >> TargetCC = DAG.getConstant(TCC, dl, MVT::i8); >> if (STI.useHardFloat()) { >> // if fcmp instruction is available use it >> SDValue Flag = DAG.getNode(XXXISD::FCMP, dl, MVT::Glue, >> LHS, RHS, >>...