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

References

include/llvm/CodeGen/SelectionDAG.h
  420   const TargetLowering &getTargetLoweringInfo() const { return *TLI; }
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 1012   TLI = getSubtarget().getTargetLowering();
 1127   TargetLowering::BooleanContent BType = TLI->getBooleanContents(OpVT);
 1128   return getNode(TLI->getExtendForContent(BType), SL, VT, Op);
 1173   switch (TLI->getBooleanContents(OpVT)) {
 1208   if (VT.isVector() && TLI->getTypeAction(*getContext(), EltVT) ==
 1210    EltVT = TLI->getTypeToTransformTo(*getContext(), EltVT);
 1221            TLI->getTypeAction(*getContext(), EltVT) ==
 1224     EVT ViaEltVT = TLI->getTypeToTransformTo(*getContext(), EltVT);
 1292   return getConstant(Val, DL, TLI->getPointerTy(getDataLayout()), isTarget);
 1297   EVT ShiftVT = TLI->getShiftAmountTy(VT, getDataLayout(), LegalTypes);
 1601   if (TLI->hasVectorBlend()) {
 1761   N->SDNodeBits.IsDivergent = TLI->isSDNodeSourceOfDivergence(N, FLI, DA);
 1890   EVT ShTy = TLI->getShiftAmountTy(LHSTy, getDataLayout());
 1952   return getFrameIndex(FrameIdx, TLI->getFrameIndexTy(getDataLayout()));
 1965   return getFrameIndex(FrameIdx, TLI->getFrameIndexTy(getDataLayout()));
 2097     if (!TLI->isCondCodeLegal(SwappedCond, OpVT.getSimpleVT()))
 2157     return TLI->SimplifyMultipleUseDemandedBits(V, DemandedBits, DemandedElts,
 2783     if (TLI->getBooleanContents(Op.getValueType().isVector(), false) ==
 2790     if (TLI->getBooleanContents(Op.getOperand(0).getValueType()) ==
 2921     const Constant *Cst = TLI->getTargetConstantFromLoad(LD);
 3037       if (TLI->getBooleanContents(Op.getOperand(0).getValueType()) ==
 3057       if (TLI->getBooleanContents(Op.getOperand(0).getValueType()) ==
 3311     TLI->computeKnownBitsForFrameIndex(Op, Known, DemandedElts, *this, Depth);
 3322     TLI->computeKnownBitsForTargetNode(Op, Known, DemandedElts, *this, Depth);
 3648     if (TLI->getBooleanContents(VT.isVector(), false) ==
 3654     if (TLI->getBooleanContents(Op.getOperand(0).getValueType()) ==
 3901         if (const Constant *Cst = TLI->getTargetConstantFromLoad(LD)) {
 3940         TLI->ComputeNumSignBitsForTargetNode(Op, DemandedElts, *this, Depth);
 4090       return TLI->isKnownNeverNaNForTargetNode(Op, *this, SNaN, Depth);
 4754   if (!TLI->isOffsetFoldingLegal(GA))
 4818   if (TLI->isCommutativeBinOp(Opcode))
 4840     LegalSVT = TLI->getTypeToTransformTo(*getContext(), LegalSVT);
 4927     LegalSVT = TLI->getTypeToTransformTo(*getContext(), LegalSVT);
 5044   if (TLI->isCommutativeBinOp(Opcode)) {
 5371     if (TLI->isCommutativeBinOp(Opcode)) {
 6200   checkAddrSpaceIsValidForLibcall(TLI, DstPtrInfo.getAddrSpace());
 6201   checkAddrSpaceIsValidForLibcall(TLI, SrcPtrInfo.getAddrSpace());
 6222       .setLibCallee(TLI->getLibcallCallingConv(RTLIB::MEMCPY),
 6224                     getExternalSymbol(TLI->getLibcallName(RTLIB::MEMCPY),
 6225                                       TLI->getPointerTy(getDataLayout())),
 6230   std::pair<SDValue,SDValue> CallResult = TLI->LowerCallTo(CLI);
 6263       .setLibCallee(TLI->getLibcallCallingConv(LibraryCall),
 6265                     getExternalSymbol(TLI->getLibcallName(LibraryCall),
 6266                                       TLI->getPointerTy(getDataLayout())),
 6271   std::pair<SDValue, SDValue> CallResult = TLI->LowerCallTo(CLI);
 6307   checkAddrSpaceIsValidForLibcall(TLI, DstPtrInfo.getAddrSpace());
 6308   checkAddrSpaceIsValidForLibcall(TLI, SrcPtrInfo.getAddrSpace());
 6326       .setLibCallee(TLI->getLibcallCallingConv(RTLIB::MEMMOVE),
 6328                     getExternalSymbol(TLI->getLibcallName(RTLIB::MEMMOVE),
 6329                                       TLI->getPointerTy(getDataLayout())),
 6334   std::pair<SDValue,SDValue> CallResult = TLI->LowerCallTo(CLI);
 6367       .setLibCallee(TLI->getLibcallCallingConv(LibraryCall),
 6369                     getExternalSymbol(TLI->getLibcallName(LibraryCall),
 6370                                       TLI->getPointerTy(getDataLayout())),
 6375   std::pair<SDValue, SDValue> CallResult = TLI->LowerCallTo(CLI);
 6410   checkAddrSpaceIsValidForLibcall(TLI, DstPtrInfo.getAddrSpace());
 6428       .setLibCallee(TLI->getLibcallCallingConv(RTLIB::MEMSET),
 6430                     getExternalSymbol(TLI->getLibcallName(RTLIB::MEMSET),
 6431                                       TLI->getPointerTy(getDataLayout())),
 6436   std::pair<SDValue,SDValue> CallResult = TLI->LowerCallTo(CLI);
 6468       .setLibCallee(TLI->getLibcallCallingConv(LibraryCall),
 6470                     getExternalSymbol(TLI->getLibcallName(LibraryCall),
 6471                                       TLI->getPointerTy(getDataLayout())),
 6476   std::pair<SDValue, SDValue> CallResult = TLI->LowerCallTo(CLI);
 8395   if (TLI->isSDNodeAlwaysUniform(N))
 8397   bool IsDivergent = TLI->isSDNodeSourceOfDivergence(N, FLI, DA);
 8652     auto PtrTy = TLI->getPointerTy(getDataLayout(), Function->getAddressSpace());
 9053     if (!TLI->isExtractSubvectorCheap(SubVT, OpVT, 0))
 9058         getConstant(0, SDLoc(Op), TLI->getVectorIdxTy(getDataLayout())));
 9138                     getConstant(i, dl, TLI->getVectorIdxTy(getDataLayout())));
 9205   EVT SVT = TLI->getSetCCResultType(getDataLayout(), *getContext(), ResEltVT);
 9261   if (TLI->isGAPlusOffset(Ptr.getNode(), GV, GVOffset)) {
 9300     LoVT = HiVT = TLI->getTypeToTransformTo(*getContext(), VT);
 9317                getConstant(0, DL, TLI->getVectorIdxTy(getDataLayout())));
 9320                            TLI->getVectorIdxTy(getDataLayout())));
 9330                  getConstant(0, DL, TLI->getVectorIdxTy(getDataLayout())));
 9341   EVT IdxTy = TLI->getVectorIdxTy(getDataLayout());
 9547         TLI->isOffsetFoldingLegal(GA))
 9578   IsDivergent |= TLI->isSDNodeSourceOfDivergence(Node, FLI, DA);
 9579   if (!TLI->isSDNodeAlwaysUniform(Node))