Lines Matching refs:TLI

182   const TargetLoweringBase *TLI = getTLI();
183 return TLI->supportJumpTables() &&
184 (TLI->isOperationLegalOrCustom(ISD::BR_JT, MVT::Other) ||
185 TLI->isOperationLegalOrCustom(ISD::BRIND, MVT::Other));
189 const TargetLoweringBase *TLI = getTLI();
190 EVT VT = TLI->getValueType(Ty);
191 return TLI->isTypeLegal(VT) && TLI->isOperationLegalOrCustom(ISD::FSQRT, VT);
233 const TargetLoweringBase *TLI = getTLI();
234 int ISD = TLI->InstructionOpcodeToISD(Opcode);
237 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Ty);
244 if (TLI->isOperationLegalOrPromote(ISD, LT.second)) {
254 if (!TLI->isOperationExpand(ISD, LT.second)) {
280 const TargetLoweringBase *TLI = getTLI();
281 int ISD = TLI->InstructionOpcodeToISD(Opcode);
284 std::pair<unsigned, MVT> SrcLT = TLI->getTypeLegalizationCost(Src);
285 std::pair<unsigned, MVT> DstLT = TLI->getTypeLegalizationCost(Dst);
297 TLI->isTruncateFree(SrcLT.second, DstLT.second))
301 TLI->isZExtFree(SrcLT.second, DstLT.second))
305 if (TLI->isOperationLegalOrPromote(ISD, DstLT.second))
316 if (!TLI->isOperationExpand(ISD, DstLT.second))
340 if (!TLI->isOperationExpand(ISD, DstLT.second))
374 const TargetLoweringBase *TLI = getTLI();
375 int ISD = TLI->InstructionOpcodeToISD(Opcode);
385 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy);
387 if (!TLI->isOperationExpand(ISD, LT.second)) {
473 const TargetLoweringBase *TLI = getTLI();
474 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(RetTy);
476 if (TLI->isOperationLegalOrPromote(ISD, LT.second)) {
486 if (!TLI->isOperationExpand(ISD, LT.second)) {