reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/CodeGenPrepare.cpp
  424     TLI = SubtargetInfo->getTargetLowering();
  445   if (!OptSize && !PSI->hasHugeWorkingSetSize() && TLI &&
  446       TLI->isSlowDivBypassed()) {
  448        TLI->getBypassSlowDivWidths();
 1266   if (!TLI->shouldFormOverflowOp(ISD::UADDO,
 1267                                  TLI->getValueType(*DL, Add->getType())))
 1333   if (!TLI->shouldFormOverflowOp(ISD::USUBO,
 1334                                  TLI->getValueType(*DL, Sub->getType())))
 1412   if (sinkCmpExpression(Cmp, *TLI))
 1780   if (TLI && isa<InlineAsm>(CI->getCalledValue())) {
 1781     if (TLI->ExpandInlineAsm(CI)) {
 1797   if (TLI && TLI->shouldAlignPointerArgs(CI, MinSize, PrefAlign)) {
 1797   if (TLI && TLI->shouldAlignPointerArgs(CI, MinSize, PrefAlign)) {
 1909       return despeculateCountZeros(II, TLI, DL, ModifiedDT);
 1912     if (TLI) {
 1915       if (TLI->getAddrModeArguments(II, PtrOps, AccessTy))
 1973   if (!TLI)
 2023           TLI->mayBeEmittedAsTailCall(CI) &&
 2024           attributesPermitTailCall(F, CI, RetI, *TLI))
 2041       if (CI && CI->use_empty() && TLI->mayBeEmittedAsTailCall(CI) &&
 2042           attributesPermitTailCall(F, CI, RetI, *TLI))
 4716         V, AccessTy, AddrSpace, MemoryInst, AddrModeInsts, *TLI, *TRI,
 5037       TLI->ParseConstraints(*DL, TRI, CS);
 5043     TLI->ComputeConstraintToUse(OpInfo, SDValue());
 5129     if (!TLI || !TLI->enableExtLdPromotion() || DisableExtLdPromotion)
 5129     if (!TLI || !TLI->enableExtLdPromotion() || DisableExtLdPromotion)
 5134         TypePromotionHelper::getAction(I, InsertedInsts, *TLI, PromotedInsts);
 5147     unsigned ExtCost = !TLI->isExtFree(I);
 5150                              &NewExts, nullptr, *TLI);
 5167          !isPromotedInstructionLegal(*TLI, *DL, PromotedVal))) {
 5186             (ExtOperand->hasOneUse() || hasSameExtUse(ExtOperand, *TLI))))
 5317         if (!TLI->isLegalAddressingMode(*DL, AddrMode,
 5414   return TLI->isExtLoad(LI, Inst, *DL);
 5456   if (!TLI)
 5588   if (TLI && !TLI->isTruncateFree(I->getType(), Src->getType()))
 5588   if (TLI && !TLI->isTruncateFree(I->getType(), Src->getType()))
 5718   EVT LoadResultVT = TLI->getValueType(*DL, Load->getType());
 5763       EVT TruncVT = TLI->getValueType(*DL, I->getType());
 5792   EVT TruncVT = TLI->getValueType(*DL, TruncTy);
 5796       !TLI->isLoadExtLegal(ISD::ZEXTLOAD, LoadResultVT, TruncVT))
 5912   if (!Ty->isVectorTy() || !TLI->isVectorShiftByScalarCheap(Ty))
 5935   if (DisableSelectToBranch || OptSize || !TLI)
 5970   if (TLI->isSelectSupported(SelectKind) &&
 5971       !isFormingBranchFromSelectProfitable(TTI, TLI, SI))
 6120   if (!TLI || !TLI->isVectorShiftByScalarCheap(SVI->getType()))
 6120   if (!TLI || !TLI->isVectorShiftByScalarCheap(SVI->getType()))
 6172   if (!TLI || !TLI->shouldSinkOperands(I, OpsToSink))
 6172   if (!TLI || !TLI->shouldSinkOperands(I, OpsToSink))
 6225   if (!TLI || !DL)
 6231   MVT RegType = TLI->getRegisterType(Context, TLI->getValueType(*DL, OldType));
 6231   MVT RegType = TLI->getRegisterType(Context, TLI->getValueType(*DL, OldType));
 6591   if (DisableStoreExtract || !TLI ||
 6593        !TLI->canCombineStoreAndExtract(Inst->getOperand(0)->getType(),
 6606   VectorPromoteHelper VPH(*DL, *TLI, *TTI, Inst, CombineCost);
 6952     if (TLI && OptimizeNoopCopyExpression(CI, *TLI, *DL))
 6952     if (TLI && OptimizeNoopCopyExpression(CI, *TLI, *DL))
 6958       if (TLI &&
 6959           TLI->getTypeAction(CI->getContext(),
 6960                              TLI->getValueType(*DL, CI->getType())) ==
 6972     if (TLI && optimizeCmp(Cmp, ModifiedDT))
 6977     if (TLI) {
 6987     if (TLI && splitMergedValStore(*SI, *DL, *TLI))
 6987     if (TLI && splitMergedValStore(*SI, *DL, *TLI))
 6990     if (TLI) {
 7013       EnableAndCmpSinking && TLI)
 7014     return sinkAndCmp0Expression(BinOp, *TLI, InsertedInsts);
 7020     if (TLI && CI && TLI->hasExtractBitsInsn())
 7020     if (TLI && CI && TLI->hasExtractBitsInsn())
 7021       if (OptimizeExtractBits(BinOp, CI, *TLI, *DL))
 7099   while (TLI && MadeBitReverse) {
 7102       if (makeBitReverse(I, *DL, *TLI)) {
 7185   if (!TM || !TM->Options.EnableFastISel || !TLI || TLI->isJumpExpensive())
 7185   if (!TM || !TM->Options.EnableFastISel || !TLI || TLI->isJumpExpensive())