Searched defs:isTypeLegal (Results 1 - 10 of 10) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.h70 /// isTypeLegal - Return true if this type is legal on this target.
71 bool isTypeLegal(EVT VT) const { function in class:llvm::DAGTypeLegalizer
H A DDAGCombiner.cpp377 /// isTypeLegal - This method returns true if we are running before type
379 bool isTypeLegal(const EVT &VT) { function in class:__anon24962::DAGCombiner
381 return TLI.isTypeLegal(VT);
2466 TLI.isTypeLegal(Op0VT))) &&
3594 if (!TLI.isTypeLegal(VT)) return nullptr;
4821 (!LegalTypes || (!LegalOperations && TLI.isTypeLegal(SVT))) &&
6011 if (isa<ConstantSDNode>(EltNo) && isTypeLegal(NVT)) {
6280 if (isTypeLegal(IntXVT)) {
7180 if (N0CFP && isTypeLegal(EVT)) {
8235 if (!TLI.isTypeLegal(SliceTyp
[all...]
/external/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp123 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { function in class:TargetTransformInfo
124 return PrevTTI->isTypeLegal(Ty);
514 bool isTypeLegal(Type *Ty) const override {
/external/llvm/lib/CodeGen/
H A DBasicTargetTransformInfo.cpp88 bool isTypeLegal(Type *Ty) const override;
174 bool BasicTTI::isTypeLegal(Type *Ty) const { function in class:BasicTTI
176 return getTLI()->isTypeLegal(T);
197 return TLI->isTypeLegal(VT) && TLI->isOperationLegalOrCustom(ISD::FSQRT, VT);
/external/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp80 bool isTypeLegal(Type *Ty, MVT &VT);
119 bool MipsFastISel::isTypeLegal(Type *Ty, MVT &VT) { function in class:__anon25212::MipsFastISel
128 return TLI.isTypeLegal(VT);
132 if (isTypeLegal(Ty, VT))
/external/llvm/include/llvm/Target/
H A DTargetLowering.h341 bool isTypeLegal(EVT VT) const { function in class:llvm::TargetLoweringBase
490 return (VT == MVT::Other || isTypeLegal(VT)) &&
499 return (VT == MVT::Other || isTypeLegal(VT)) &&
508 return (!isTypeLegal(VT) || getOperationAction(Op, VT) == Expand);
513 return (VT == MVT::Other || isTypeLegal(VT)) &&
545 return isTypeLegal(ValVT) && MemVT.isSimple() &&
629 } while (!isTypeLegal(NVT) ||
2070 return isTypeLegal(VT);
/external/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp113 bool isTypeLegal(Type *Ty, MVT &VT);
414 bool AArch64FastISel::isTypeLegal(Type *Ty, MVT &VT) { function in class:AArch64FastISel
428 return TLI.isTypeLegal(VT);
432 if (isTypeLegal(Ty, VT))
1120 if (!isTypeLegal(I->getType(), DestVT) || DestVT.isVector())
1153 if (!isTypeLegal(I->getType(), DestVT) || DestVT.isVector())
1337 else if (!isTypeLegal(RetTy, RetVT))
1377 if (!isTypeLegal(ArgTy, ArgVT) &&
/external/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp54 // Consider factoring isTypeLegal into the base class.
141 bool isTypeLegal(Type *Ty, MVT &VT);
255 bool PPCFastISel::isTypeLegal(Type *Ty, MVT &VT) { function in class:PPCFastISel
264 return TLI.isTypeLegal(VT);
270 if (isTypeLegal(Ty, VT)) return true;
920 if (!isTypeLegal(DstTy, DstVT))
1027 if (!isTypeLegal(DstTy, DstVT))
1039 if (!isTypeLegal(SrcTy, SrcVT))
1402 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 &&
1457 if (!isTypeLegal(ArgT
[all...]
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp169 bool isTypeLegal(Type *Ty, MVT &VT);
729 bool ARMFastISel::isTypeLegal(Type *Ty, MVT &VT) { function in class:ARMFastISel
738 return TLI.isTypeLegal(VT);
742 if (isTypeLegal(Ty, VT)) return true;
1554 if (!isTypeLegal(Ty, DstVT))
1598 if (!isTypeLegal(RetTy, DstVT))
1626 if (!isTypeLegal(I->getType(), VT))
1703 if (!isTypeLegal(Ty, VT))
1731 if (!isTypeLegal(Ty, VT))
2189 else if (!isTypeLegal(RetT
[all...]
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp154 bool isTypeLegal(Type *Ty, MVT &VT, bool AllowI1 = false);
296 if (!isTypeLegal(RetTy, RetVT))
336 bool X86FastISel::isTypeLegal(Type *Ty, MVT &VT, bool AllowI1) { function in class:X86FastISel
356 return (AllowI1 && VT == MVT::i1) || TLI.isTypeLegal(VT);
941 if (!isTypeLegal(Val->getType(), VT, /*AllowI1=*/true))
1097 if (!isTypeLegal(LI->getType(), VT, /*AllowI1=*/true))
1188 if (!isTypeLegal(I->getOperand(0)->getType(), VT))
1280 if (!TLI.isTypeLegal(DstVT))
1428 isTypeLegal(TI->getOperand(0)->getType(), SourceVT)) {
1543 if (!isTypeLegal(
[all...]

Completed in 244 milliseconds