Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:ISD

146 /// getFCmpCondCode - Return the ISD condition code corresponding to
150 ISD::CondCode llvm::getFCmpCondCode(FCmpInst::Predicate Pred) {
152 case FCmpInst::FCMP_FALSE: return ISD::SETFALSE;
153 case FCmpInst::FCMP_OEQ: return ISD::SETOEQ;
154 case FCmpInst::FCMP_OGT: return ISD::SETOGT;
155 case FCmpInst::FCMP_OGE: return ISD::SETOGE;
156 case FCmpInst::FCMP_OLT: return ISD::SETOLT;
157 case FCmpInst::FCMP_OLE: return ISD::SETOLE;
158 case FCmpInst::FCMP_ONE: return ISD::SETONE;
159 case FCmpInst::FCMP_ORD: return ISD::SETO;
160 case FCmpInst::FCMP_UNO: return ISD::SETUO;
161 case FCmpInst::FCMP_UEQ: return ISD::SETUEQ;
162 case FCmpInst::FCMP_UGT: return ISD::SETUGT;
163 case FCmpInst::FCMP_UGE: return ISD::SETUGE;
164 case FCmpInst::FCMP_ULT: return ISD::SETULT;
165 case FCmpInst::FCMP_ULE: return ISD::SETULE;
166 case FCmpInst::FCMP_UNE: return ISD::SETUNE;
167 case FCmpInst::FCMP_TRUE: return ISD::SETTRUE;
172 ISD::CondCode llvm::getFCmpCodeWithoutNaN(ISD::CondCode CC) {
174 case ISD::SETOEQ: case ISD::SETUEQ: return ISD::SETEQ;
175 case ISD::SETONE: case ISD::SETUNE: return ISD::SETNE;
176 case ISD::SETOLT: case ISD::SETULT: return ISD::SETLT;
177 case ISD::SETOLE: case ISD::SETULE: return ISD::SETLE;
178 case ISD::SETOGT: case ISD::SETUGT: return ISD::SETGT;
179 case ISD::SETOGE: case ISD::SETUGE: return ISD::SETGE;
184 /// getICmpCondCode - Return the ISD condition code corresponding to
187 ISD::CondCode llvm::getICmpCondCode(ICmpInst::Predicate Pred) {
189 case ICmpInst::ICMP_EQ: return ISD::SETEQ;
190 case ICmpInst::ICMP_NE: return ISD::SETNE;
191 case ICmpInst::ICMP_SLE: return ISD::SETLE;
192 case ICmpInst::ICMP_ULE: return ISD::SETULE;
193 case ICmpInst::ICMP_SGE: return ISD::SETGE;
194 case ICmpInst::ICMP_UGE: return ISD::SETUGE;
195 case ICmpInst::ICMP_SLT: return ISD::SETLT;
196 case ICmpInst::ICMP_ULT: return ISD::SETULT;
197 case ICmpInst::ICMP_SGT: return ISD::SETGT;
198 case ICmpInst::ICMP_UGT: return ISD::SETUGT;