Searched refs:isTypeLegal (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-10.2-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DResourcePriorityQueue.cpp98 if (TLI->isTypeLegal(VT)
136 if (TLI->isTypeLegal(VT)
336 if (TLI->isTypeLegal(VT)
348 if (TLI->isTypeLegal(VT) && TLI->getRegClassFor(VT)
489 if (TLI->isTypeLegal(VT)) {
500 if (TLI->isTypeLegal(VT)) {
H A DFastISel.cpp149 if (!TLI.isTypeLegal(VT)) {
367 if (!TLI.isTypeLegal(VT)) {
741 if (!TLI.isTypeLegal(DstVT))
745 if (!TLI.isTypeLegal(SrcVT))
780 !TLI.isTypeLegal(SrcEVT) || !TLI.isTypeLegal(DstEVT))
911 if (!TLI.isTypeLegal(IntVT))
947 if (!TLI.isTypeLegal(VT) && VT != MVT::i1)
1487 if (VT == MVT::Other || !TLI.isTypeLegal(VT)) {
H A DLegalizeVectorTypes.cpp980 if (TLI.isTypeLegal(SrcVT) && !TLI.isTypeLegal(SplitSrcVT) &&
981 TLI.isTypeLegal(NewSrcVT) && TLI.isTypeLegal(SplitLoVT)) {
1618 while (!TLI.isTypeLegal(VT) && NumElts != 1) {
1662 } while (!TLI.isTypeLegal(VT) && NumElts != 1);
1701 } while (!TLI.isTypeLegal(NextVT));
1775 if (TLI.isTypeLegal(InWidenVT)) {
1935 if (TLI.isTypeLegal(NewInVT)) {
2077 if (TLI.isTypeLegal(InWidenV
[all...]
H A DLegalizeTypesGeneric.cpp99 while (!isTypeLegal(NVT)) {
109 if (isTypeLegal(NVT)) {
345 if (!isTypeLegal(NVT)) {
H A DLegalizeTypes.cpp129 } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(I)) {
409 if (!isTypeLegal(I->getValueType(i))) {
417 !isTypeLegal(I->getOperand(i).getValueType())) {
H A DLegalizeDAG.cpp320 if (TLI.isTypeLegal(intVT)) {
442 if (TLI.isTypeLegal(intVT) && TLI.isTypeLegal(LoadedVT)) {
668 TLI.isTypeLegal(MVT::i32)) {
678 if (TLI.isTypeLegal(MVT::i64)) {
685 if (TLI.isTypeLegal(MVT::i32) && !ST->isVolatile()) {
864 assert(TLI.isTypeLegal(StVT) &&
1091 if (!TLI.isLoadExtLegal(ISD::EXTLOAD, SrcVT) && TLI.isTypeLegal(SrcVT)) {
1510 if (TLI.isTypeLegal(IVT)) {
2255 if (Op0.getValueType() == MVT::i32 && TLI.isTypeLegal(MV
[all...]
H A DInstrEmitter.cpp106 if (TLI->isTypeLegal(VT))
227 if (i < NumResults && TLI->isTypeLegal(Node->getSimpleValueType(i))) {
H A DDAGCombiner.cpp356 /// isTypeLegal - This method returns true if we are running before type
358 bool isTypeLegal(const EVT &VT) { function in class:__anon2315::DAGCombiner
360 return TLI.isTypeLegal(VT);
2399 TLI.isTypeLegal(Op0VT))) &&
3311 if (!TLI.isTypeLegal(VT)) return 0;
5526 if (isa<ConstantSDNode>(EltNo) && isTypeLegal(NVT)) {
5788 if (isTypeLegal(IntXVT)) {
6699 if (N0CFP && isTypeLegal(EVT)) {
7754 if (!TLI.isTypeLegal(SliceType))
8228 if (!DC->isTypeLegal(V
[all...]
H A DTargetLowering.cpp1377 isTypeLegal(VT) && VT.bitsLE(N0.getValueType())) {
1534 (isTypeLegal(VT) && VT.bitsLE(N0.getValueType()))) &&
2548 if (!isTypeLegal(VT))
2608 if (!isTypeLegal(VT))
H A DLegalizeTypes.h71 /// isTypeLegal - Return true if this type is legal on this target.
72 bool isTypeLegal(EVT VT) const { function in class:llvm::DAGTypeLegalizer
H A DLegalizeIntegerTypes.cpp515 if (!TLI.isTypeLegal(SVT))
920 assert(!((NumElts & 1) && (!TLI.isTypeLegal(VecVT))) &&
2104 if ((Action == TargetLowering::Legal && TLI.isTypeLegal(NVT)) ||
/freebsd-10.2-release/contrib/llvm/lib/CodeGen/
H A DBasicTargetTransformInfo.cpp82 virtual bool isTypeLegal(Type *Ty) const;
168 bool BasicTTI::isTypeLegal(Type *Ty) const { function in class:BasicTTI
170 return getTLI()->isTypeLegal(T);
191 return TLI->isTypeLegal(VT) && TLI->isOperationLegalOrCustom(ISD::FSQRT, VT);
H A DTargetLoweringBase.cpp824 assert(isTypeLegal(VT));
858 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) {
866 if (!TLI->isTypeLegal(NewVT))
891 if (isTypeLegal(*I))
961 if (isTypeLegal(IVT)) {
971 if (!isTypeLegal(MVT::ppcf128)) {
980 if (!isTypeLegal(MVT::f128)) {
989 if (!isTypeLegal(MVT::f64)) {
998 if (!isTypeLegal(MVT::f32)) {
999 if (isTypeLegal(MV
[all...]
H A DAnalysis.cpp208 TLI.isTypeLegal(EVT::getEVT(T1)) && TLI.isTypeLegal(EVT::getEVT(T2)));
/freebsd-10.2-release/contrib/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp132 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { function in class:TargetTransformInfo
133 return PrevTTI->isTypeLegal(Ty);
512 bool isTypeLegal(Type *Ty) const { function in struct:__anon2227::NoTTI
/freebsd-10.2-release/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h281 virtual bool isTypeLegal(Type *Ty) const;
/freebsd-10.2-release/contrib/llvm/include/llvm/Target/
H A DTargetLowering.h285 bool isTypeLegal(EVT VT) const { function in class:llvm::TargetLoweringBase
434 return (VT == MVT::Other || isTypeLegal(VT)) &&
443 return (VT == MVT::Other || isTypeLegal(VT)) &&
452 return (!isTypeLegal(VT) || getOperationAction(Op, VT) == Expand);
457 return (VT == MVT::Other || isTypeLegal(VT)) &&
489 return isTypeLegal(ValVT) && MemVT.isSimple() &&
573 } while (!isTypeLegal(NVT) ||
1888 return isTypeLegal(VT);
/freebsd-10.2-release/contrib/llvm/lib/Target/X86/
H A DX86FastISel.cpp144 bool isTypeLegal(Type *Ty, MVT &VT, bool AllowI1 = false);
154 bool X86FastISel::isTypeLegal(Type *Ty, MVT &VT, bool AllowI1) { function in class:X86FastISel
174 return (AllowI1 && VT == MVT::i1) || TLI.isTypeLegal(VT);
757 if (!isTypeLegal(I->getOperand(0)->getType(), VT, /*AllowI1=*/true))
905 if (!isTypeLegal(I->getType(), VT, /*AllowI1=*/true))
994 if (!isTypeLegal(I->getOperand(0)->getType(), VT))
1070 if (!TLI.isTypeLegal(DstVT))
1203 isTypeLegal(TI->getOperand(0)->getType(), SourceVT)) {
1292 if (!isTypeLegal(I->getType(), VT))
1379 if (!isTypeLegal(
[all...]
H A DX86ISelLowering.cpp5464 DAG.getTargetLoweringInfo().isTypeLegal(MVT::v2i64)) {
7164 if (!DAG.getTargetLoweringInfo().isTypeLegal(NVT))
13305 !DAG.getTargetLoweringInfo().isTypeLegal(VT)) {
13323 if (!DAG.getTargetLoweringInfo().isTypeLegal(VT))
13585 if (!TLI.isTypeLegal(N->getOperand(0).getValueType()))
13947 if (!isTypeLegal(EVT::getEVT(Ty1)))
16260 if (!DCI.isBeforeLegalize() && !TLI.isTypeLegal(VT.getVectorElementType()))
16618 VT != MVT::f80 && TLI.isTypeLegal(VT) &&
16778 if (DAG.getTargetLoweringInfo().isTypeLegal(LHS.getValueType())) {
16898 if (!TLI.isTypeLegal(V
[all...]
/freebsd-10.2-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp55 // Consider factoring isTypeLegal into the base class.
143 bool isTypeLegal(Type *Ty, MVT &VT);
257 bool PPCFastISel::isTypeLegal(Type *Ty, MVT &VT) { function in class:PPCFastISel
266 return TLI.isTypeLegal(VT);
272 if (isTypeLegal(Ty, VT)) return true;
916 if (!isTypeLegal(DstTy, DstVT))
1023 if (!isTypeLegal(DstTy, DstVT))
1035 if (!isTypeLegal(SrcTy, SrcVT))
1384 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 &&
1439 if (!isTypeLegal(ArgT
[all...]
/freebsd-10.2-release/contrib/llvm/lib/Target/ARM/
H A DARMFastISel.cpp181 bool isTypeLegal(Type *Ty, MVT &VT);
818 bool ARMFastISel::isTypeLegal(Type *Ty, MVT &VT) { function in class:ARMFastISel
827 return TLI.isTypeLegal(VT);
831 if (isTypeLegal(Ty, VT)) return true;
1641 if (!isTypeLegal(Ty, DstVT))
1686 if (!isTypeLegal(RetTy, DstVT))
1715 if (!isTypeLegal(I->getType(), VT))
1782 if (!isTypeLegal(Ty, VT))
1810 if (!isTypeLegal(Ty, VT))
2267 else if (!isTypeLegal(RetT
[all...]
H A DARMISelLowering.cpp3853 if (SrcVT == MVT::i64 && TLI.isTypeLegal(DstVT)) {
3863 if (DstVT == MVT::i64 && TLI.isTypeLegal(SrcVT)) {
8634 if(!DAG.getTargetLoweringInfo().isTypeLegal(VT))
8677 if(!DAG.getTargetLoweringInfo().isTypeLegal(VT))
8717 DAG.getTargetLoweringInfo().isTypeLegal(VT)) {
8871 if(!DAG.getTargetLoweringInfo().isTypeLegal(VT))
9010 if (!TLI.isTypeLegal(WideVecVT)) return SDValue();
9023 if (TLI.isTypeLegal(Tp) && Tp.getSizeInBits() <= NumElems * ToEltSz)
9027 if (!TLI.isTypeLegal(StoreType))
9214 if (!TLI.isTypeLegal(VecV
[all...]
/freebsd-10.2-release/contrib/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2205 && (!hasHardQuad || !TLI.isTypeLegal(VT))) {
2213 if (!TLI.isTypeLegal(VT))
2236 && (!hasHardQuad || !TLI.isTypeLegal(OpVT))) {
2244 if (!TLI.isTypeLegal(OpVT))
2262 (hasHardQuad && TLI.isTypeLegal(VT)))
2283 if (Op.getValueType() != MVT::f128 || (hasHardQuad && TLI.isTypeLegal(OpVT)))
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Scalar/
H A DCodeGenPrepare.cpp1697 TLI && (TLI->isTypeLegal(TLI->getValueType(LI->getType())) ||
1698 !TLI->isTypeLegal(TLI->getValueType(I->getType()))) &&
/freebsd-10.2-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp103 if (isTypeLegal(VT)) {
128 if (isTypeLegal(VT)) {
223 if (isTypeLegal(VT)) {

Completed in 426 milliseconds

12