Lines Matching defs:TLI

880   : TM(tm), TSI(*tm.getSelectionDAGInfo()), TTI(0), TLI(0), OptLevel(OL),
892 TLI = tli;
985 const TargetLowering *TLI = TM.getTargetLowering();
991 if (VT.isVector() && TLI->getTypeAction(*getContext(), EltVT) ==
993 EltVT = TLI->getTypeToTransformTo(*getContext(), EltVT);
1004 TLI->getTypeAction(*getContext(), EltVT) ==
1007 EVT ViaEltVT = TLI->getTypeToTransformTo(*getContext(), EltVT);
1026 if (TLI->isBigEndian())
1139 const TargetLowering *TLI = TM.getTargetLowering();
1142 unsigned BitWidth = TLI->getPointerTypeSizeInBits(GV->getType());
1608 const TargetLowering *TLI = TM.getTargetLowering();
1610 std::max((unsigned)TLI->getDataLayout()->getPrefTypeAlignment(Ty), minAlign);
1613 return getFrameIndex(FrameIdx, TLI->getPointerTy());
1623 const TargetLowering *TLI = TM.getTargetLowering();
1624 const DataLayout *TD = TLI->getDataLayout();
1630 return getFrameIndex(FrameIdx, TLI->getPointerTy());
1642 const TargetLowering *TLI = TM.getTargetLowering();
1643 TargetLowering::BooleanContent Cnt = TLI->getBooleanContents(VT.isVector());
1769 const TargetLowering *TLI = TM.getTargetLowering();
1892 if (TLI->getBooleanContents(Op.getValueType().isVector()) ==
2202 TLI->computeMaskedBitsForTargetNode(Op, KnownZero, KnownOne, *this, Depth);
2213 const TargetLowering *TLI = TM.getTargetLowering();
2299 if (TLI->getBooleanContents(Op.getValueType().isVector()) ==
2400 unsigned NumBits = TLI->ComputeNumSignBitsForTargetNode(Op, Depth);
3014 // TLI.getShiftAmount().
3526 const TargetLowering &TLI, StringRef Str) {
3549 if (TLI.isLittleEndian()) {
3605 const TargetLowering &TLI) {
3615 EVT VT = TLI.getOptimalMemOpType(Size, DstAlign, SrcAlign,
3620 if (DstAlign >= TLI.getDataLayout()->getPointerPrefAlignment() ||
3621 TLI.allowsUnalignedMemoryAccesses(VT)) {
3622 VT = TLI.getPointerTy();
3633 while (!TLI.isTypeLegal(LVT))
3652 if (TLI.isOperationLegalOrCustom(ISD::STORE, NewVT) &&
3653 TLI.isSafeMemOpType(NewVT.getSimpleVT()))
3656 TLI.isOperationLegalOrCustom(ISD::STORE, MVT::f64) &&
3657 TLI.isSafeMemOpType(MVT::f64)) {
3669 } while (!TLI.isSafeMemOpType(NewVT.getSimpleVT()));
3680 TLI.allowsUnalignedMemoryAccesses(VT, &Fast) && Fast)
3713 const TargetLowering &TLI = DAG.getTargetLoweringInfo();
3730 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize);
3735 false, false, CopyFromStr, true, DAG, TLI))
3740 unsigned NewAlign = (unsigned) TLI.getDataLayout()->getABITypeAlignment(Ty);
3747 TLI.getDataLayout()->exceedsNaturalStackAlignment(NewAlign))
3781 Value = getMemsetStringVal(VT, dl, DAG, TLI, Str.substr(SrcOff));
3795 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), VT);
3829 const TargetLowering &TLI = DAG.getTargetLoweringInfo();
3842 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize);
3846 false, false, false, false, DAG, TLI))
3851 unsigned NewAlign = (unsigned) TLI.getDataLayout()->getABITypeAlignment(Ty);
3926 const TargetLowering &TLI = DAG.getTargetLoweringInfo();
3938 if (!FindOptimalMemOpLowering(MemOps, TLI.getMaxStoresPerMemset(OptSize),
3940 true, IsZeroVal, false, true, DAG, TLI))
3945 unsigned NewAlign = (unsigned) TLI.getDataLayout()->getABITypeAlignment(Ty);
3980 TLI.isTruncateFree(LargestVT, VT))
4045 const TargetLowering *TLI = TM.getTargetLowering();
4050 Entry.Ty = TLI->getDataLayout()->getIntPtrType(*getContext());
4058 TLI->getLibcallCallingConv(RTLIB::MEMCPY),
4061 getExternalSymbol(TLI->getLibcallName(RTLIB::MEMCPY),
4062 TLI->getPointerTy()),
4064 std::pair<SDValue,SDValue> CallResult = TLI->LowerCallTo(CLI);
4103 const TargetLowering *TLI = TM.getTargetLowering();
4108 Entry.Ty = TLI->getDataLayout()->getIntPtrType(*getContext());
4116 TLI->getLibcallCallingConv(RTLIB::MEMMOVE),
4119 getExternalSymbol(TLI->getLibcallName(RTLIB::MEMMOVE),
4120 TLI->getPointerTy()),
4122 std::pair<SDValue,SDValue> CallResult = TLI->LowerCallTo(CLI);
4158 const TargetLowering *TLI = TM.getTargetLowering();
4159 Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(*getContext());
4181 TLI->getLibcallCallingConv(RTLIB::MEMSET),
4184 getExternalSymbol(TLI->getLibcallName(RTLIB::MEMSET),
4185 TLI->getPointerTy()),
4187 std::pair<SDValue,SDValue> CallResult = TLI->LowerCallTo(CLI);
6286 const TargetLowering *TLI = TM.getTargetLowering();
6291 getConstant(i, TLI->getVectorIdxTy()));
6369 const TargetLowering *TLI = TM.getTargetLowering();
6370 bool isGA1 = TLI->isGAPlusOffset(Loc.getNode(), GV1, Offset1);
6371 bool isGA2 = TLI->isGAPlusOffset(BaseLoc.getNode(), GV2, Offset2);
6384 const TargetLowering *TLI = TM.getTargetLowering();
6385 if (TLI->isGAPlusOffset(Ptr.getNode(), GV, GVOffset)) {
6386 unsigned PtrWidth = TLI->getPointerTypeSizeInBits(GV->getType());
6389 TLI->getDataLayout());
6425 LoVT = HiVT = TLI->getTypeToTransformTo(*getContext(), VT);
6445 getConstant(0, TLI->getVectorIdxTy()));
6447 getConstant(LoVT.getVectorNumElements(), TLI->getVectorIdxTy()));