Lines Matching defs:isTypeLegal
140 bool isTypeLegal(Type *Ty, MVT &VT, bool AllowI1 = false);
150 bool X86FastISel::isTypeLegal(Type *Ty, MVT &VT, bool AllowI1) {
170 return (AllowI1 && VT == MVT::i1) || TLI.isTypeLegal(VT);
699 if (!isTypeLegal(I->getOperand(0)->getType(), VT, /*AllowI1=*/true))
825 if (!isTypeLegal(I->getType(), VT, /*AllowI1=*/true))
914 if (!isTypeLegal(I->getOperand(0)->getType(), VT))
994 if (!TLI.isTypeLegal(DstVT))
1102 isTypeLegal(TI->getOperand(0)->getType(), SourceVT)) {
1191 if (!isTypeLegal(I->getType(), VT))
1218 if (!isTypeLegal(I->getType(), VT))
1302 if (!TLI.isTypeLegal(SrcVT))
1469 if (!isTypeLegal(RetTy, VT))
1660 if (!isTypeLegal(ArgVal->getType(), ArgVT)) return false;
1672 if (!isTypeLegal(ArgTy, ArgVT))
2016 if (!isTypeLegal(C->getType(), VT))
2142 if (!isTypeLegal(CF->getType(), VT))