Lines Matching refs:TLI

188   const TargetLoweringBase *TLI = getTLI();
189 return TLI->supportJumpTables() &&
190 (TLI->isOperationLegalOrCustom(ISD::BR_JT, MVT::Other) ||
191 TLI->isOperationLegalOrCustom(ISD::BRIND, MVT::Other));
195 const TargetLoweringBase *TLI = getTLI();
196 EVT VT = TLI->getValueType(Ty);
197 return TLI->isTypeLegal(VT) && TLI->isOperationLegalOrCustom(ISD::FSQRT, VT);
293 const TargetLoweringBase *TLI = getTLI();
294 int ISD = TLI->InstructionOpcodeToISD(Opcode);
297 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Ty);
304 if (TLI->isOperationLegalOrPromote(ISD, LT.second)) {
314 if (!TLI->isOperationExpand(ISD, LT.second)) {
360 const TargetLoweringBase *TLI = getTLI();
361 int ISD = TLI->InstructionOpcodeToISD(Opcode);
364 std::pair<unsigned, MVT> SrcLT = TLI->getTypeLegalizationCost(Src);
365 std::pair<unsigned, MVT> DstLT = TLI->getTypeLegalizationCost(Dst);
377 TLI->isTruncateFree(SrcLT.second, DstLT.second))
381 TLI->isZExtFree(SrcLT.second, DstLT.second))
386 TLI->isOperationLegalOrPromote(ISD, DstLT.second))
397 if (!TLI->isOperationExpand(ISD, DstLT.second))
421 if (!TLI->isOperationExpand(ISD, DstLT.second))
455 const TargetLoweringBase *TLI = getTLI();
456 int ISD = TLI->InstructionOpcodeToISD(Opcode);
466 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy);
468 if (!TLI->isOperationExpand(ISD, LT.second)) {
580 const TargetLoweringBase *TLI = getTLI();
581 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(RetTy);
583 if (TLI->isOperationLegalOrPromote(ISD, LT.second)) {
593 if (!TLI->isOperationExpand(ISD, LT.second)) {