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

12

/freebsd-11.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DResourcePriorityQueue.cpp97 if (TLI->isTypeLegal(VT)
135 if (TLI->isTypeLegal(VT)
335 if (TLI->isTypeLegal(VT)
347 if (TLI->isTypeLegal(VT) && TLI->getRegClassFor(VT)
488 if (TLI->isTypeLegal(VT)) {
499 if (TLI->isTypeLegal(VT)) {
H A DLegalizeTypes.cpp130 } else if (isTypeLegal(Res.getValueType()) || IgnoreNodeResults(&Node)) {
425 if (!isTypeLegal(Node.getValueType(i)) &&
426 !TLI.isTypeLegal(Node.getValueType(i))) {
435 !isTypeLegal(Node.getOperand(i).getValueType()) &&
436 !TLI.isTypeLegal(Node.getOperand(i).getValueType())) {
1139 TLI.isTypeLegal(ValVT) &&
H A DFastISel.cpp178 if (!TLI.isTypeLegal(VT)) {
392 if (!TLI.isTypeLegal(VT)) {
1253 if (!TLI.isTypeLegal(DstVT))
1257 if (!TLI.isTypeLegal(SrcVT))
1290 !TLI.isTypeLegal(SrcEVT) || !TLI.isTypeLegal(DstEVT))
1474 if (!TLI.isTypeLegal(IntVT))
1508 if (!TLI.isTypeLegal(VT) && VT != MVT::i1)
2035 if (VT == MVT::Other || !TLI.isTypeLegal(VT)) {
H A DLegalizeTypesGeneric.cpp114 while (!isTypeLegal(NVT)) {
124 if (isTypeLegal(NVT)) {
361 if (!isTypeLegal(NVT)) {
H A DLegalizeVectorTypes.cpp1244 if (TLI.isTypeLegal(SrcVT) && !TLI.isTypeLegal(SplitSrcVT) &&
1245 TLI.isTypeLegal(NewSrcVT) && TLI.isTypeLegal(SplitLoVT)) {
2146 while (!TLI.isTypeLegal(VT) && NumElts != 1) {
2192 } while (!TLI.isTypeLegal(VT) && NumElts != 1);
2231 } while (!TLI.isTypeLegal(NextVT));
2305 if (TLI.isTypeLegal(InWidenVT)) {
2477 if (TLI.isTypeLegal(NewInVT)) {
2618 if (TLI.isTypeLegal(InWidenV
[all...]
H A DLegalizeDAG.cpp329 if (TLI.isTypeLegal(intVT)) {
453 if (TLI.isTypeLegal(intVT) && TLI.isTypeLegal(LoadedVT)) {
685 TLI.isTypeLegal(MVT::i32)) {
695 if (TLI.isTypeLegal(MVT::i64)) {
702 if (TLI.isTypeLegal(MVT::i32) && !ST->isVolatile()) {
885 assert(TLI.isTypeLegal(StVT) &&
1125 if (TLI.isTypeLegal(SrcVT) || // Same as SrcVT == LoadVT?
1212 TLI.isTypeLegal(Node->getValueType(i))) &&
1218 TLI.isTypeLegal(O
[all...]
H A DDAGCombiner.cpp485 bool isTypeLegal(const EVT &VT) { function in class:__anon2522::DAGCombiner
487 return TLI.isTypeLegal(VT);
2167 if (!TLI.isTypeLegal(VT))
2737 TLI.isTypeLegal(Op0VT))) &&
3706 TLI.isTypeLegal(VT) &&
3973 if (!TLI.isTypeLegal(VT)) return nullptr;
5746 (!LegalTypes || (!LegalOperations && TLI.isTypeLegal(SVT))) &&
7069 if (isa<ConstantSDNode>(EltNo) && isTypeLegal(NVT)) {
7390 if (isTypeLegal(IntXVT)) {
7461 if (Level < AfterLegalizeDAG && TLI.isTypeLegal(V
[all...]
H A DLegalizeIntegerTypes.cpp216 if (!TLI.isTypeLegal(SVT))
599 if (!TLI.isTypeLegal(SVT))
1051 assert(!((NumElts & 1) && (!TLI.isTypeLegal(VecVT))) &&
1193 if (TLI.isTypeLegal(DataVT))
2264 if ((Action == TargetLowering::Legal && TLI.isTypeLegal(NVT)) ||
2764 if (TLI.isTypeLegal(LHSLo.getValueType()) &&
2765 TLI.isTypeLegal(RHSLo.getValueType()))
2771 if (TLI.isTypeLegal(LHSHi.getValueType()) &&
2772 TLI.isTypeLegal(RHSHi.getValueType()))
H A DInstrEmitter.cpp107 if (TLI->isTypeLegal(VT))
226 if (i < NumResults && TLI->isTypeLegal(Node->getSimpleValueType(i))) {
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
77 return VT.isSimple() && TLI.isTypeLegal(VT);
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp880 assert(isTypeLegal(VT));
1052 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) {
1060 if (!TLI->isTypeLegal(NewVT))
1085 if (isTypeLegal(*I))
1177 // isTypeLegal over as well - a massive change that would just require
1242 if (isTypeLegal(IVT)) {
1252 if (!isTypeLegal(MVT::ppcf128)) {
1261 if (!isTypeLegal(MVT::f128)) {
1270 if (!isTypeLegal(MVT::f64)) {
1279 if (!isTypeLegal(MV
[all...]
H A DAnalysis.cpp221 TLI.isTypeLegal(EVT::getEVT(T1)) && TLI.isTypeLegal(EVT::getEVT(T2)));
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/
H A DX86FastISel.cpp160 bool isTypeLegal(Type *Ty, MVT &VT, bool AllowI1 = false);
279 if (!isTypeLegal(RetTy, RetVT))
319 bool X86FastISel::isTypeLegal(Type *Ty, MVT &VT, bool AllowI1) { function in class:X86FastISel
339 return (AllowI1 && VT == MVT::i1) || TLI.isTypeLegal(VT);
979 if (!isTypeLegal(Val->getType(), VT, /*AllowI1=*/true))
1137 if (!isTypeLegal(LI->getType(), VT, /*AllowI1=*/true))
1244 if (!isTypeLegal(I->getOperand(0)->getType(), VT))
1336 if (!TLI.isTypeLegal(DstVT))
1473 isTypeLegal(TI->getOperand(0)->getType(), SourceVT)) {
1574 if (!isTypeLegal(
[all...]
/freebsd-11.0-release/contrib/llvm/include/llvm/Target/
H A DTargetLowering.h407 bool isTypeLegal(EVT VT) const { function in class:llvm::TargetLoweringBase
560 return (VT == MVT::Other || isTypeLegal(VT)) &&
569 return (VT == MVT::Other || isTypeLegal(VT)) &&
578 return (!isTypeLegal(VT) || getOperationAction(Op, VT) == Expand);
583 return (VT == MVT::Other || isTypeLegal(VT)) &&
629 return isTypeLegal(ValVT) && MemVT.isSimple() &&
713 } while (!isTypeLegal(NVT) ||
2248 return isTypeLegal(VT);
/freebsd-11.0-release/contrib/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp151 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { function in class:TargetTransformInfo
152 return TTIImpl->isTypeLegal(Ty);
H A DVectorUtils.cpp464 !TTI->isTypeLegal(I.getOperand(0)->getType()))
473 if (TTI && isa<TruncInst>(&I) && TTI->isTypeLegal(I.getType()))
/freebsd-11.0-release/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h347 bool isTypeLegal(Type *Ty) const;
596 virtual bool isTypeLegal(Type *Ty) = 0;
742 bool isTypeLegal(Type *Ty) override { return Impl.isTypeLegal(Ty); }
H A DTargetTransformInfoImpl.h231 bool isTypeLegal(Type *Ty) { return false; } function in class:llvm::TargetTransformInfoImplBase
/freebsd-11.0-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp56 // Consider factoring isTypeLegal into the base class.
145 bool isTypeLegal(Type *Ty, MVT &VT);
265 bool PPCFastISel::isTypeLegal(Type *Ty, MVT &VT) { function in class:PPCFastISel
274 return TLI.isTypeLegal(VT);
280 if (isTypeLegal(Ty, VT)) return true;
986 if (!isTypeLegal(DstTy, DstVT))
1095 if (!isTypeLegal(DstTy, DstVT))
1107 if (!isTypeLegal(SrcTy, SrcVT))
1468 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 &&
1514 if (!isTypeLegal(ArgT
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp140 bool isTypeLegal(Type *Ty, MVT &VT);
483 if (!isTypeLegal(CFP->getType(), VT))
909 bool AArch64FastISel::isTypeLegal(Type *Ty, MVT &VT) { function in class:AArch64FastISel
923 return TLI.isTypeLegal(VT);
934 if (isTypeLegal(Ty, VT))
2721 if (!isTypeLegal(I->getType(), DestVT) || DestVT.isVector())
2754 if (!isTypeLegal(I->getType(), DestVT) || DestVT.isVector())
3063 else if (!isTypeLegal(CLI.RetTy, RetVT))
3076 if (!isTypeLegal(Val->getType(), VT) &&
3227 if (!isTypeLegal(RetT
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/
H A DARMFastISel.cpp167 bool isTypeLegal(Type *Ty, MVT &VT);
732 bool ARMFastISel::isTypeLegal(Type *Ty, MVT &VT) { function in class:ARMFastISel
741 return TLI.isTypeLegal(VT);
745 if (isTypeLegal(Ty, VT)) return true;
1549 if (!isTypeLegal(Ty, DstVT))
1593 if (!isTypeLegal(RetTy, DstVT))
1621 if (!isTypeLegal(I->getType(), VT))
1698 if (!isTypeLegal(Ty, VT))
1726 if (!isTypeLegal(Ty, VT))
2198 else if (!isTypeLegal(RetT
[all...]
H A DARMISelLowering.cpp3511 if (!DAG.getTargetLoweringInfo().isTypeLegal(Op.getValueType()))
3542 if (!DAG.getTargetLoweringInfo().isTypeLegal(Cond->getValueType(0)))
4287 if (SrcVT == MVT::i64 && TLI.isTypeLegal(DstVT)) {
4302 if (DstVT == MVT::i64 && TLI.isTypeLegal(SrcVT)) {
8898 if(!DAG.getTargetLoweringInfo().isTypeLegal(VT))
8941 if(!DAG.getTargetLoweringInfo().isTypeLegal(VT))
8981 DAG.getTargetLoweringInfo().isTypeLegal(VT)) {
9135 if(!DAG.getTargetLoweringInfo().isTypeLegal(VT))
9452 if (!TLI.isTypeLegal(VecVT))
9538 if (!TLI.isTypeLegal(V
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp111 bool isTypeLegal(Type *Ty, MVT &VT);
540 bool MipsFastISel::isTypeLegal(Type *Ty, MVT &VT) { function in class:MipsFastISel
549 return TLI.isTypeLegal(VT);
556 if (isTypeLegal(Ty, VT))
568 if (isTypeLegal(Ty, VT))
1041 if (!isTypeLegal(DstTy, DstVT))
1049 if (!isTypeLegal(SrcTy, SrcVT))
1278 if (!isTypeLegal(Val->getType(), VT) &&
/freebsd-11.0-release/contrib/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h150 bool isTypeLegal(Type *Ty) { function in class:llvm::BasicTTIImplBase
152 return getTLI()->isTypeLegal(VT);
190 return TLI->isTypeLegal(VT) &&
/freebsd-11.0-release/contrib/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2302 && (!hasHardQuad || !TLI.isTypeLegal(VT))) {
2310 if (!TLI.isTypeLegal(VT))
2333 && (!hasHardQuad || !TLI.isTypeLegal(OpVT))) {
2341 if (!TLI.isTypeLegal(OpVT))
2359 (hasHardQuad && TLI.isTypeLegal(VT)))
2380 if (Op.getValueType() != MVT::f128 || (hasHardQuad && TLI.isTypeLegal(OpVT)))

Completed in 503 milliseconds

12