/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsSEISelDAGToDAG.cpp | 216 CurDAG->SelectNodeTo(Node, Mips::ADDWC, VT, MVT::Glue, Ops); in selectAddE() 234 SDValue CstOne = CurDAG->getTargetConstant(1, DL, MVT::i32); in selectAddE() 236 SDValue OuFlag = CurDAG->getTargetConstant(20, DL, MVT::i32); in selectAddE() 238 SDNode *DSPCtrlField = CurDAG->getMachineNode(Mips::RDDSP, DL, MVT::i32, in selectAddE() 241 SDNode *Carry = CurDAG->getMachineNode( in selectAddE() 245 CurDAG->getTargetConstant(6, DL, MVT::i32), CstOne, in selectAddE() 247 SDNode *DSPCFWithCarry = CurDAG->getMachineNode(Mips::INS, DL, MVT::i32, Ops); in selectAddE() 254 SDValue Zero = CurDAG->getRegister(Mips::ZERO, MVT::i32); in selectAddE() 258 CurDAG->getMachineNode(Mips::INS, DL, MVT::i32, InsOps); in selectAddE() 260 SDNode *WrDSP = CurDAG->getMachineNode(Mips::WRDSP, DL, MVT::Glue, in selectAddE() [all …]
|
D | Mips16ISelDAGToDAG.cpp | 48 SDNode *Mul = CurDAG->getMachineNode(Opc, DL, MVT::Glue, N->getOperand(0), in selectMULT() 54 Lo = CurDAG->getMachineNode(Opcode, DL, Ty, MVT::Glue, InFlag); in selectMULT() 59 Hi = CurDAG->getMachineNode(Opcode, DL, Ty, InFlag); in selectMULT() 106 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr() 107 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr() 123 if (CurDAG->isBaseWithConstantOffset(Addr)) { in selectAddr() 130 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr() 131 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr() 137 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr() 163 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr() [all …]
|
D | MipsISelDAGToDAG.cpp | 69 return CurDAG->getRegister(GlobalBaseReg, getTargetLowering()->getPointerTy( in getGlobalBaseReg() 70 CurDAG->getDataLayout())) in getGlobalBaseReg() 255 SDValue NegC = CurDAG->FoldConstantArithmetic( in selectVecAddAsVecSubIfProfitable() 256 ISD::SUB, DL, VT, CurDAG->getConstant(0, DL, VT).getNode(), C.getNode()); in selectVecAddAsVecSubIfProfitable() 258 SDValue NewNode = CurDAG->getNode(ISD::SUB, DL, VT, X, NegC); in selectVecAddAsVecSubIfProfitable() 272 LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n"); in Select()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelDAGToDAG.cpp | 76 return CurDAG->getTargetConstant(Imm, dl, MVT::i32); in getI32Imm() 107 Pred = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(N), MVT::i32); in SelectCMOVPred() 108 Reg = CurDAG->getRegister(ARM::CPSR, MVT::i32); in SelectCMOVPred() 377 for (SelectionDAG::allnodes_iterator I = CurDAG->allnodes_begin(), in PreprocessISelDAG() 378 E = CurDAG->allnodes_end(); I != E; ) { in PreprocessISelDAG() 442 Srl = CurDAG->getNode(ISD::SRL, SDLoc(Srl), MVT::i32, in PreprocessISelDAG() 444 CurDAG->getConstant(Srl_imm + TZ, SDLoc(Srl), in PreprocessISelDAG() 446 N1 = CurDAG->getNode(ISD::AND, SDLoc(N1), MVT::i32, in PreprocessISelDAG() 448 CurDAG->getConstant(And_imm, SDLoc(Srl), MVT::i32)); in PreprocessISelDAG() 449 N1 = CurDAG->getNode(ISD::SHL, SDLoc(N1), MVT::i32, in PreprocessISelDAG() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 434 SDVTList VTList = CurDAG->getVTList(VT, MVT::Other); in matchLoadD16FromBuildVector() 436 SDValue TiedIn = CurDAG->getNode(ISD::SCALAR_TO_VECTOR, SDLoc(N), VT, Lo); in matchLoadD16FromBuildVector() 450 CurDAG->getMemIntrinsicNode(LoadOp, SDLoc(LdHi), VTList, in matchLoadD16FromBuildVector() 454 CurDAG->ReplaceAllUsesOfValueWith(SDValue(N, 0), NewLoadHi); in matchLoadD16FromBuildVector() 455 CurDAG->ReplaceAllUsesOfValueWith(SDValue(LdHi, 1), NewLoadHi.getValue(1)); in matchLoadD16FromBuildVector() 468 SDVTList VTList = CurDAG->getVTList(VT, MVT::Other); in matchLoadD16FromBuildVector() 477 TiedIn = CurDAG->getNode(ISD::BITCAST, SDLoc(N), VT, TiedIn); in matchLoadD16FromBuildVector() 484 CurDAG->getMemIntrinsicNode(LoadOp, SDLoc(LdLo), VTList, in matchLoadD16FromBuildVector() 488 CurDAG->ReplaceAllUsesOfValueWith(SDValue(N, 0), NewLoadLo); in matchLoadD16FromBuildVector() 489 CurDAG->ReplaceAllUsesOfValueWith(SDValue(LdLo, 1), NewLoadLo.getValue(1)); in matchLoadD16FromBuildVector() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | SparcISelDAGToDAG.cpp | 70 return CurDAG->getRegister(GlobalBaseReg, in getGlobalBaseReg() 71 TLI->getPointerTy(CurDAG->getDataLayout())) in getGlobalBaseReg() 78 Base = CurDAG->getTargetFrameIndex( in SelectADDRri() 79 FIN->getIndex(), TLI->getPointerTy(CurDAG->getDataLayout())); in SelectADDRri() 80 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectADDRri() 94 Base = CurDAG->getTargetFrameIndex( in SelectADDRri() 95 FIN->getIndex(), TLI->getPointerTy(CurDAG->getDataLayout())); in SelectADDRri() 99 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr), in SelectADDRri() 116 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectADDRri() 140 R2 = CurDAG->getRegister(SP::G0, TLI->getPointerTy(CurDAG->getDataLayout())); in SelectADDRrr() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
D | AVRISelDAGToDAG.cpp | 67 auto DL = CurDAG->getDataLayout(); in SelectAddr() 72 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), PtrVT); in SelectAddr() 73 Disp = CurDAG->getTargetConstant(0, dl, MVT::i8); in SelectAddr() 80 !CurDAG->isBaseWithConstantOffset(N)) { in SelectAddr() 99 Base = CurDAG->getTargetFrameIndex(FI, PtrVT); in SelectAddr() 100 Disp = CurDAG->getTargetConstant(RHSC, dl, MVT::i16); in SelectAddr() 112 Disp = CurDAG->getTargetConstant(RHSC, dl, MVT::i8); in SelectAddr() 125 auto PtrVT = getTargetLowering()->getPointerTy(CurDAG->getDataLayout()); in selectIndexedLoad() 159 SDNode *ResNode = CurDAG->getMachineNode(Opcode, SDLoc(N), VT, in selectIndexedLoad() 163 CurDAG->RemoveDeadNode(N); in selectIndexedLoad() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyISelDAGToDAG.cpp | 80 LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n"); in Select() 87 MachineFunction &MF = CurDAG->getMachineFunction(); in Select() 101 Fence = CurDAG->getMachineNode(WebAssembly::COMPILER_FENCE, in Select() 110 Fence = CurDAG->getMachineNode( in Select() 114 CurDAG->getTargetConstant(0, DL, MVT::i32), // order in Select() 123 CurDAG->RemoveDeadNode(Node); in Select() 148 MVT PtrVT = TLI->getPointerTy(CurDAG->getDataLayout()); in Select() 151 SDValue TLSBaseSym = CurDAG->getTargetExternalSymbol("__tls_base", PtrVT); in Select() 152 SDValue TLSOffsetSym = CurDAG->getTargetGlobalAddress( in Select() 155 MachineSDNode *TLSBase = CurDAG->getMachineNode(WebAssembly::GLOBAL_GET_I32, in Select() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVISelDAGToDAG.cpp | 66 static SDNode *selectImm(SelectionDAG *CurDAG, const SDLoc &DL, int64_t Imm, in selectImm() argument 72 SDValue SrcReg = CurDAG->getRegister(RISCV::X0, XLenVT); in selectImm() 74 SDValue SDImm = CurDAG->getTargetConstant(Inst.Imm, DL, XLenVT); in selectImm() 76 Result = CurDAG->getMachineNode(RISCV::LUI, DL, XLenVT, SDImm); in selectImm() 78 Result = CurDAG->getMachineNode(Inst.Opc, DL, XLenVT, SrcReg, SDImm); in selectImm() 101 LLVM_DEBUG(dbgs() << "== "; Node->dump(CurDAG); dbgs() << "\n"); in Select() 117 SDValue New = CurDAG->getCopyFromReg(CurDAG->getEntryNode(), SDLoc(Node), in Select() 124 ReplaceNode(Node, selectImm(CurDAG, SDLoc(Node), Imm, XLenVT)); in Select() 130 SDValue Imm = CurDAG->getTargetConstant(0, DL, XLenVT); in Select() 132 SDValue TFI = CurDAG->getTargetFrameIndex(FI, VT); in Select() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreISelDAGToDAG.cpp | 50 return CurDAG->getTargetConstant(Imm, dl, MVT::i32); in getI32Imm() 91 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32); in SelectADDRspii() 92 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectADDRspii() 101 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32); in SelectADDRspii() 102 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), SDLoc(Addr), in SelectADDRspii() 120 Reg = CurDAG->getRegister(XCore::CP, MVT::i32); in SelectInlineAsmMemoryOperand() 123 Reg = CurDAG->getRegister(XCore::DP, MVT::i32); in SelectInlineAsmMemoryOperand() 142 ReplaceNode(N, CurDAG->getMachineNode(XCore::MKMSK_rus, dl, in Select() 147 SDValue CPIdx = CurDAG->getTargetConstantPool( in Select() 148 ConstantInt::get(Type::getInt32Ty(*CurDAG->getContext()), Val), in Select() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiISelDAGToDAG.cpp | 86 return CurDAG->getTargetConstant(Imm, DL, MVT::i32); in getI32Imm() 109 Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0)); in selectAddrSls() 131 Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0)); in selectAddrRiSpls() 132 Base = CurDAG->getRegister(Lanai::R0, CN->getValueType(0)); in selectAddrRiSpls() 133 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls() 144 Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0)); in selectAddrRiSpls() 145 Base = CurDAG->getRegister(Lanai::R0, CN->getValueType(0)); in selectAddrRiSpls() 146 AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32); in selectAddrRiSpls() 154 Base = CurDAG->getTargetFrameIndex( in selectAddrRiSpls() 156 getTargetLowering()->getPointerTy(CurDAG->getDataLayout())); in selectAddrRiSpls() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 168 return CurDAG->getTargetConstant(Imm, dl, MVT::i16); in getI16Imm() 174 return CurDAG->getTargetConstant(Imm, dl, MVT::i32); in getI32Imm() 180 return CurDAG->getTargetConstant(Imm, dl, MVT::i64); in getI64Imm() 185 return CurDAG->getTargetConstant( in getSmallIPtrImm() 186 Imm, dl, PPCLowering->getPointerTy(CurDAG->getDataLayout())); in getSmallIPtrImm() 242 return PPCLowering->SelectAddressRegReg(N, Base, Index, *CurDAG, 0); in SelectAddrIdx() 252 return PPCLowering->SelectAddressRegReg(N, Base, Index, *CurDAG, 4); in SelectAddrIdxX4() 262 return PPCLowering->SelectAddressRegReg(N, Base, Index, *CurDAG, 16); in SelectAddrIdxX16() 268 return PPCLowering->SelectAddressRegRegOnly(N, Base, Index, *CurDAG); in SelectAddrIdxOnly() 277 return PPCLowering->SelectAddressRegImm(N, Disp, Base, *CurDAG, 0); in SelectAddrImm() [all …]
|
D | PPCInstrAltivec.td | 40 return PPC::isVPKUHUMShuffleMask(cast<ShuffleVectorSDNode>(N), 0, *CurDAG); 44 return PPC::isVPKUWUMShuffleMask(cast<ShuffleVectorSDNode>(N), 0, *CurDAG); 48 return PPC::isVPKUDUMShuffleMask(cast<ShuffleVectorSDNode>(N), 0, *CurDAG); 52 return PPC::isVPKUHUMShuffleMask(cast<ShuffleVectorSDNode>(N), 1, *CurDAG); 56 return PPC::isVPKUWUMShuffleMask(cast<ShuffleVectorSDNode>(N), 1, *CurDAG); 60 return PPC::isVPKUDUMShuffleMask(cast<ShuffleVectorSDNode>(N), 1, *CurDAG); 67 return PPC::isVPKUHUMShuffleMask(cast<ShuffleVectorSDNode>(N), 2, *CurDAG); 71 return PPC::isVPKUWUMShuffleMask(cast<ShuffleVectorSDNode>(N), 2, *CurDAG); 75 return PPC::isVPKUDUMShuffleMask(cast<ShuffleVectorSDNode>(N), 2, *CurDAG); 80 return PPC::isVMRGLShuffleMask(cast<ShuffleVectorSDNode>(N), 1, 0, *CurDAG); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 274 Base = CurDAG->getTargetFrameIndex( in getAddressOperands() 275 AM.Base_FrameIndex, TLI->getPointerTy(CurDAG->getDataLayout())); in getAddressOperands() 279 Base = CurDAG->getRegister(0, VT); in getAddressOperands() 286 SDValue Neg = SDValue(CurDAG->getMachineNode(NegOpc, DL, VT, MVT::i32, in getAddressOperands() 294 Index = CurDAG->getRegister(0, VT); in getAddressOperands() 299 Disp = CurDAG->getTargetGlobalAddress(AM.GV, SDLoc(), in getAddressOperands() 303 Disp = CurDAG->getTargetConstantPool(AM.CP, MVT::i32, in getAddressOperands() 307 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i32, AM.SymbolFlags); in getAddressOperands() 311 Disp = CurDAG->getMCSymbol(AM.MCSym, MVT::i32); in getAddressOperands() 314 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i32, AM.SymbolFlags); in getAddressOperands() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
D | ARCISelDAGToDAG.cpp | 53 Pred = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(N), MVT::i32); in SelectCMOVPred() 54 Reg = CurDAG->getRegister(ARC::STATUS32, MVT::i32); in SelectCMOVPred() 79 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectAddrModeImm() 92 !CurDAG->isBaseWithConstantOffset(Addr)) { in SelectAddrModeS9() 96 Base = CurDAG->getTargetFrameIndex( in SelectAddrModeS9() 97 FI, TLI->getPointerTy(CurDAG->getDataLayout())); in SelectAddrModeS9() 101 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectAddrModeS9() 116 Base = CurDAG->getTargetFrameIndex( in SelectAddrModeS9() 117 FI, TLI->getPointerTy(CurDAG->getDataLayout())); in SelectAddrModeS9() 119 Offset = CurDAG->getTargetConstant(RHSC, SDLoc(Addr), MVT::i32); in SelectAddrModeS9() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 129 SDValue IncV = CurDAG->getTargetConstant(Inc, dl, MVT::i32); in SelectIndexedLoad() 135 SDValue Zero = CurDAG->getTargetConstant(0, dl, MVT::i32); in SelectIndexedLoad() 136 return CurDAG->getMachineNode(Hexagon::A4_combineir, dl, MVT::i64, in SelectIndexedLoad() 140 return CurDAG->getMachineNode(Hexagon::A2_sxtw, dl, MVT::i64, in SelectIndexedLoad() 158 MachineSDNode *L = CurDAG->getMachineNode(Opcode, dl, ValueVT, in SelectIndexedLoad() 161 CurDAG->setNodeMemRefs(L, {MemOp}); in SelectIndexedLoad() 169 SDValue Zero = CurDAG->getTargetConstant(0, dl, MVT::i32); in SelectIndexedLoad() 170 MachineSDNode *L = CurDAG->getMachineNode(Opcode, dl, ValueVT, MVT::Other, in SelectIndexedLoad() 172 CurDAG->setNodeMemRefs(L, {MemOp}); in SelectIndexedLoad() 174 MachineSDNode *A = CurDAG->getMachineNode(Hexagon::A2_addi, dl, MVT::i32, in SelectIndexedLoad() [all …]
|
D | HexagonISelDAGToDAGHVX.cpp | 2113 HvxSelector(*this, *CurDAG).selectShuffle(N); in SelectHvxShuffle() 2117 HvxSelector(*this, *CurDAG).selectRor(N); in SelectHvxRor() 2121 HvxSelector(*this, *CurDAG).selectVAlign(N); in SelectHvxVAlign() 2152 SDVTList VTs = CurDAG->getVTList(MVT::Other); in SelectV65GatherPred() 2154 SDNode *Result = CurDAG->getMachineNode(Opcode, dl, VTs, Ops); in SelectV65GatherPred() 2157 CurDAG->setNodeMemRefs(cast<MachineSDNode>(Result), {MemOp}); in SelectV65GatherPred() 2189 SDVTList VTs = CurDAG->getVTList(MVT::Other); in SelectV65Gather() 2191 SDNode *Result = CurDAG->getMachineNode(Opcode, dl, VTs, Ops); in SelectV65Gather() 2194 CurDAG->setNodeMemRefs(cast<MachineSDNode>(Result), {MemOp}); in SelectV65Gather() 2206 SDVTList VTs = CurDAG->getVTList(MVT::v16i32, MVT::v512i1); in SelectHVXDualOutput() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFISelDAGToDAG.cpp | 104 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i64); in SelectAddr() 105 Offset = CurDAG->getTargetConstant(0, DL, MVT::i64); in SelectAddr() 114 if (CurDAG->isBaseWithConstantOffset(Addr)) { in SelectAddr() 121 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i64); in SelectAddr() 125 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64); in SelectAddr() 131 Offset = CurDAG->getTargetConstant(0, DL, MVT::i64); in SelectAddr() 140 if (!CurDAG->isBaseWithConstantOffset(Addr)) in SelectFIAddr() 149 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i64); in SelectFIAddr() 153 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64); in SelectFIAddr() 173 SDValue AluOp = CurDAG->getTargetConstant(ISD::ADD, DL, MVT::i32);; in SelectInlineAsmMemoryOperand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelDAGToDAG.cpp | 187 Imm = CurDAG->getTargetConstant(MulImm, SDLoc(N), MVT::i32); in SelectCntImm() 318 SDValue RC = CurDAG->getTargetConstant(TRC->getID(), dl, MVT::i64); in SelectInlineAsmMemoryOperand() 320 SDValue(CurDAG->getMachineNode(TargetOpcode::COPY_TO_REGCLASS, in SelectInlineAsmMemoryOperand() 355 Val = CurDAG->getTargetConstant(Immed, dl, MVT::i32); in SelectArithImmed() 356 Shift = CurDAG->getTargetConstant(ShVal, dl, MVT::i32); in SelectArithImmed() 389 return SelectArithImmed(CurDAG->getConstant(Immed, SDLoc(N), MVT::i32), Val, in SelectNegArithImmed() 438 if (CurDAG->shouldOptForSize() || V.hasOneUse()) in isWorthFolding() 477 Shift = CurDAG->getTargetConstant(ShVal, SDLoc(N), MVT::i32); in SelectShiftedRegister() 595 SDValue LaneIdxVal = CurDAG->getTargetConstant(LaneIdx, dl, MVT::i64); in tryMLAV64LaneV128() 618 ReplaceNode(N, CurDAG->getMachineNode(MLAOpc, dl, N->getValueType(0), Ops)); in tryMLAV64LaneV128() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelDAGToDAG.cpp | 139 return CurDAG->getTargetConstant(Imm, SDLoc(Node), Node->getValueType(0)); in getImm() 462 if (Opcode == ISD::ADD || CurDAG->isBaseWithConstantOffset(N)) { in expandAddress() 603 LLVM_DEBUG(AM.dump(CurDAG)); in selectAddress() 632 Base = CurDAG->getRegister(0, VT); in getAddressOperands() 636 Base = CurDAG->getTargetFrameIndex(FrameIndex, VT); in getAddressOperands() 642 SDValue Trunc = CurDAG->getNode(ISD::TRUNCATE, DL, VT, Base); in getAddressOperands() 643 insertDAGNode(CurDAG, Base.getNode(), Trunc); in getAddressOperands() 648 Disp = CurDAG->getTargetConstant(AM.Disp, SDLoc(Base), VT); in getAddressOperands() 660 Index = CurDAG->getRegister(0, VT); in getAddressOperands() 742 KnownBits Known = CurDAG->computeKnownBits(Op.getOperand(0)); in detectOrAndInsertion() [all …]
|
D | SystemZOperands.td | 179 return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64); 185 return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64); 191 return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64); 197 return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64); 203 return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64); 209 return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64); 215 return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64); 220 return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64); 225 return CurDAG->getTargetConstant(int8_t(N->getZExtValue()), SDLoc(N), 231 return CurDAG->getTargetConstant(uint8_t(N->getZExtValue()), SDLoc(N), [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGISel.cpp | 313 CurDAG(new SelectionDAG(tm, OL)), in SelectionDAGISel() 314 SDB(std::make_unique<SelectionDAGBuilder>(*CurDAG, *FuncInfo, *SwiftError, in SelectionDAGISel() 325 delete CurDAG; in ~SelectionDAGISel() 452 CurDAG->init(*MF, *ORE, this, LibInfo, in runOnMachineFunction() 454 FuncInfo->set(Fn, *MF, CurDAG); in runOnMachineFunction() 720 CurDAG->NewNodesMustHaveLegalTypes = false; in SelectBasicBlock() 730 CurDAG->setRoot(SDB->getControlRoot()); in SelectBasicBlock() 743 Worklist.push_back(CurDAG->getRoot().getNode()); in ComputeLiveOutVRegInfo() 744 Added.insert(CurDAG->getRoot().getNode()); in ComputeLiveOutVRegInfo() 770 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/ |
D | MSP430ISelDAGToDAG.cpp | 229 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) { in MatchAddress() 253 AM.Base.Reg = CurDAG->getRegister(MSP430::SR, MVT::i16); in SelectAddr() 256 ? CurDAG->getTargetFrameIndex( in SelectAddr() 258 getTargetLowering()->getPointerTy(CurDAG->getDataLayout())) in SelectAddr() 262 Disp = CurDAG->getTargetGlobalAddress(AM.GV, SDLoc(N), in SelectAddr() 266 Disp = CurDAG->getTargetConstantPool(AM.CP, MVT::i16, in SelectAddr() 269 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i16, 0/*AM.SymbolFlags*/); in SelectAddr() 271 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i16, 0/*AM.SymbolFlags*/); in SelectAddr() 273 Disp = CurDAG->getTargetBlockAddress(AM.BlockAddr, MVT::i32, 0, in SelectAddr() 276 Disp = CurDAG->getTargetConstant(AM.Disp, SDLoc(N), MVT::i16); in SelectAddr() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAGISel.h | 55 SelectionDAG *CurDAG; variable 214 CurDAG->ReplaceAllUsesOfValueWith(F, T); in ReplaceUses() 221 CurDAG->ReplaceAllUsesOfValuesWith(F, T, Num); in ReplaceUses() 229 CurDAG->ReplaceAllUsesWith(F, T); in ReplaceUses() 235 CurDAG->ReplaceAllUsesWith(F, T); in ReplaceNode() 237 CurDAG->RemoveDeadNode(F); in ReplaceNode() 256 return CurDAG->shouldOptForSize(); in shouldOptForSize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXISelDAGToDAG.cpp | 527 SDValue Val = CurDAG->getTargetConstantFP( in tryConstantFP16() 530 CurDAG->getMachineNode(NVPTX::LOAD_CONST_F16, SDLoc(N), MVT::f16, Val); in tryConstantFP16() 596 SDNode *SetP = CurDAG->getMachineNode( in SelectSETP_F16X2() 598 N->getOperand(1), CurDAG->getTargetConstant(PTXCmpMode, DL, MVT::i32)); in SelectSETP_F16X2() 647 CurDAG->getMachineNode(Op, SDLoc(N), MVT::f16, MVT::f16, Source); in tryEXTRACT_VECTOR_ELEMENT() 734 ReplaceNode(N, CurDAG->getMachineNode(NVPTX::texsurf_handles, SDLoc(N), in SelectTexSurfHandle() 770 ReplaceNode(N, CurDAG->getMachineNode(Opc, SDLoc(N), N->getValueType(0), in SelectAddrSpaceCast() 804 ReplaceNode(N, CurDAG->getMachineNode(Opc, SDLoc(N), N->getValueType(0), in SelectAddrSpaceCast() 869 CurDAG->getDataLayout().getPointerSizeInBits(LD->getAddressSpace()); in tryLoad() 927 NVPTXLD = CurDAG->getMachineNode(Opcode.getValue(), dl, TargetVT, in tryLoad() [all …]
|