Displaying 1 result from an estimated 1 matches for "lowerudivrem".
2012 Jul 16
3
[LLVMdev] RFC: LLVM incubation, or requirements for committing new backends
...t; + const
> +{
> + switch (Op.getOpcode()) {
> + default: return AMDILTargetLowering::LowerOperation(Op, DAG);
> + case ISD::INTRINSIC_WO_CHAIN: return LowerINTRINSIC_WO_CHAIN(Op, DAG);
> + case ISD::SELECT_CC: return LowerSELECT_CC(Op, DAG);
> + case ISD::UDIVREM: return LowerUDIVREM(Op, DAG);
> + }
> +}
> +
> +SDValue AMDGPUTargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op,
> + SelectionDAG &DAG) const
> +{
> + unsigned IntrinsicID = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
> + DebugLoc DL = Op.getDebugLoc();
> + E...