Lines Matching refs:TLI

932   : TM(tm), TSI(*tm.getSelectionDAGInfo()), TLI(nullptr), OptLevel(OL),
942 TLI = tli;
1020 TargetLowering::BooleanContent BType = TLI->getBooleanContents(OpVT);
1021 return getNode(TLI->getExtendForContent(BType), SL, VT, Op);
1078 switch (TLI->getBooleanContents(VT)) {
1111 const TargetLowering *TLI = TM.getTargetLowering();
1117 if (VT.isVector() && TLI->getTypeAction(*getContext(), EltVT) ==
1119 EltVT = TLI->getTypeToTransformTo(*getContext(), EltVT);
1130 TLI->getTypeAction(*getContext(), EltVT) ==
1133 EVT ViaEltVT = TLI->getTypeToTransformTo(*getContext(), EltVT);
1152 if (TLI->isBigEndian())
1266 const TargetLowering *TLI = TM.getTargetLowering();
1269 unsigned BitWidth = TLI->getPointerTypeSizeInBits(GV->getType());
1765 const TargetLowering *TLI = TM.getTargetLowering();
1767 std::max((unsigned)TLI->getDataLayout()->getPrefTypeAlignment(Ty), minAlign);
1770 return getFrameIndex(FrameIdx, TLI->getPointerTy());
1780 const TargetLowering *TLI = TM.getTargetLowering();
1781 const DataLayout *TD = TLI->getDataLayout();
1787 return getFrameIndex(FrameIdx, TLI->getPointerTy());
1799 const TargetLowering *TLI = TM.getTargetLowering();
1801 TLI->getBooleanContents(N1->getValueType(0));
1924 const TargetLowering *TLI = TM.getTargetLowering();
2036 if (TLI->getBooleanContents(Op.getValueType().isVector(), false) ==
2043 if (TLI->getBooleanContents(Op.getOperand(0).getValueType()) ==
2347 TLI->computeKnownBitsForTargetNode(Op, KnownZero, KnownOne, *this, Depth);
2360 const TargetLowering *TLI = TM.getTargetLowering();
2447 if (TLI->getBooleanContents(Op.getValueType().isVector(), false) ==
2453 if (TLI->getBooleanContents(Op.getOperand(0).getValueType()) ==
2554 unsigned NumBits = TLI->ComputeNumSignBitsForTargetNode(Op, *this, Depth);
3195 // TLI.getShiftAmount().
3709 const TargetLowering &TLI, StringRef Str) {
3732 if (TLI.isLittleEndian()) {
3743 if (TLI.shouldConvertConstantLoadToIntImm(Val, Ty))
3788 const TargetLowering &TLI) {
3798 EVT VT = TLI.getOptimalMemOpType(Size, DstAlign, SrcAlign,
3804 if (DstAlign >= TLI.getDataLayout()->getPointerPrefAlignment(AS) ||
3805 TLI.allowsUnalignedMemoryAccesses(VT, AS)) {
3806 VT = TLI.getPointerTy();
3817 while (!TLI.isTypeLegal(LVT))
3836 if (TLI.isOperationLegalOrCustom(ISD::STORE, NewVT) &&
3837 TLI.isSafeMemOpType(NewVT.getSimpleVT()))
3840 TLI.isOperationLegalOrCustom(ISD::STORE, MVT::f64) &&
3841 TLI.isSafeMemOpType(MVT::f64)) {
3853 } while (!TLI.isSafeMemOpType(NewVT.getSimpleVT()));
3865 TLI.allowsUnalignedMemoryAccesses(VT, AS, &Fast) && Fast)
3898 const TargetLowering &TLI = DAG.getTargetLoweringInfo();
3915 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemcpy(OptSize);
3920 false, false, CopyFromStr, true, DAG, TLI))
3925 unsigned NewAlign = (unsigned) TLI.getDataLayout()->getABITypeAlignment(Ty);
3932 TLI.getDataLayout()->exceedsNaturalStackAlignment(NewAlign))
3966 Value = getMemsetStringVal(VT, dl, DAG, TLI, Str.substr(SrcOff));
3980 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), VT);
4013 const TargetLowering &TLI = DAG.getTargetLoweringInfo();
4026 unsigned Limit = AlwaysInline ? ~0U : TLI.getMaxStoresPerMemmove(OptSize);
4030 false, false, false, false, DAG, TLI))
4035 unsigned NewAlign = (unsigned) TLI.getDataLayout()->getABITypeAlignment(Ty);
4108 const TargetLowering &TLI = DAG.getTargetLoweringInfo();
4120 if (!FindOptimalMemOpLowering(MemOps, TLI.getMaxStoresPerMemset(OptSize),
4122 true, IsZeroVal, false, true, DAG, TLI))
4127 unsigned NewAlign = (unsigned) TLI.getDataLayout()->getABITypeAlignment(Ty);
4162 TLI.isTruncateFree(LargestVT, VT))
4226 const TargetLowering *TLI = TM.getTargetLowering();
4231 Entry.Ty = TLI->getDataLayout()->getIntPtrType(*getContext());
4238 .setCallee(TLI->getLibcallCallingConv(RTLIB::MEMCPY),
4240 getExternalSymbol(TLI->getLibcallName(RTLIB::MEMCPY),
4241 TLI->getPointerTy()), std::move(Args), 0)
4243 std::pair<SDValue,SDValue> CallResult = TLI->LowerCallTo(CLI);
4282 const TargetLowering *TLI = TM.getTargetLowering();
4287 Entry.Ty = TLI->getDataLayout()->getIntPtrType(*getContext());
4294 .setCallee(TLI->getLibcallCallingConv(RTLIB::MEMMOVE),
4296 getExternalSymbol(TLI->getLibcallName(RTLIB::MEMMOVE),
4297 TLI->getPointerTy()), std::move(Args), 0)
4299 std::pair<SDValue,SDValue> CallResult = TLI->LowerCallTo(CLI);
4335 const TargetLowering *TLI = TM.getTargetLowering();
4336 Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(*getContext());
4358 .setCallee(TLI->getLibcallCallingConv(RTLIB::MEMSET),
4360 getExternalSymbol(TLI->getLibcallName(RTLIB::MEMSET),
4361 TLI->getPointerTy()), std::move(Args), 0)
4364 std::pair<SDValue,SDValue> CallResult = TLI->LowerCallTo(CLI);
6430 const TargetLowering *TLI = TM.getTargetLowering();
6435 getConstant(i, TLI->getVectorIdxTy()));
6510 const TargetLowering *TLI = TM.getTargetLowering();
6511 bool isGA1 = TLI->isGAPlusOffset(Loc.getNode(), GV1, Offset1);
6512 bool isGA2 = TLI->isGAPlusOffset(BaseLoc.getNode(), GV2, Offset2);
6525 const TargetLowering *TLI = TM.getTargetLowering();
6526 if (TLI->isGAPlusOffset(Ptr.getNode(), GV, GVOffset)) {
6527 unsigned PtrWidth = TLI->getPointerTypeSizeInBits(GV->getType());
6530 TLI->getDataLayout());
6566 LoVT = HiVT = TLI->getTypeToTransformTo(*getContext(), VT);
6586 getConstant(0, TLI->getVectorIdxTy()));
6588 getConstant(LoVT.getVectorNumElements(), TLI->getVectorIdxTy()));
6600 EVT IdxTy = TLI->getVectorIdxTy();