Home
last modified time | relevance | path

Searched refs:SDValue (Results 1 – 25 of 140) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.h93 SmallDenseMap<SDValue, TableId, 8> ValueToIdMap;
94 SmallDenseMap<TableId, SDValue, 8> IdToValueMap;
136 TableId getTableId(SDValue V) { in getTableId()
155 const SDValue &getSDValue(TableId &Id) { in getSDValue()
176 TableId NewId = getTableId(SDValue(New, i)); in NoteDeletion()
177 TableId OldId = getTableId(SDValue(Old, i)); in NoteDeletion()
183 ValueToIdMap.erase(SDValue(Old, i)); in NoteDeletion()
200 void AnalyzeNewValue(SDValue &Val);
203 void RemapValue(SDValue &V);
206 SDValue BitConvertToInteger(SDValue Op);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h115 bool IsEligibleForTailCallOptimization(SDValue Callee,
118 const SmallVectorImpl<SDValue> &OutVals,
132 bool hasBitTest(SDValue X, SDValue Y) const override;
151 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
152 void LowerOperationWrapper(SDNode *N, SmallVectorImpl<SDValue> &Results,
154 void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue> &Results,
159 SDValue LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG) const;
160 SDValue LowerCONCAT_VECTORS(SDValue Op, SelectionDAG &DAG) const;
161 SDValue LowerEXTRACT_VECTOR_ELT(SDValue Op, SelectionDAG &DAG) const;
162 SDValue LowerEXTRACT_SUBVECTOR(SDValue Op, SelectionDAG &DAG) const;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.h35 unsigned getMSACtrlReg(const SDValue RegIdx) const;
45 bool selectAddrFrameIndex(SDValue Addr, SDValue &Base, SDValue &Offset) const;
46 bool selectAddrFrameIndexOffset(SDValue Addr, SDValue &Base, SDValue &Offset,
50 bool selectAddrRegImm(SDValue Addr, SDValue &Base,
51 SDValue &Offset) const override;
53 bool selectAddrDefault(SDValue Addr, SDValue &Base,
54 SDValue &Offset) const override;
56 bool selectIntAddr(SDValue Addr, SDValue &Base,
57 SDValue &Offset) const override;
59 bool selectAddrRegImm9(SDValue Addr, SDValue &Base,
[all …]
DMipsISelDAGToDAG.h58 virtual bool selectAddrRegImm(SDValue Addr, SDValue &Base,
59 SDValue &Offset) const;
62 virtual bool selectAddrDefault(SDValue Addr, SDValue &Base,
63 SDValue &Offset) const;
66 virtual bool selectIntAddr(SDValue Addr, SDValue &Base,
67 SDValue &Offset) const;
69 virtual bool selectIntAddr11MM(SDValue Addr, SDValue &Base,
70 SDValue &Offset) const;
72 virtual bool selectIntAddr12MM(SDValue Addr, SDValue &Base,
73 SDValue &Offset) const;
[all …]
DMipsISelDAGToDAG.cpp76 bool MipsDAGToDAGISel::selectAddrRegImm(SDValue Addr, SDValue &Base, in selectAddrRegImm()
77 SDValue &Offset) const { in selectAddrRegImm()
82 bool MipsDAGToDAGISel::selectAddrDefault(SDValue Addr, SDValue &Base, in selectAddrDefault()
83 SDValue &Offset) const { in selectAddrDefault()
88 bool MipsDAGToDAGISel::selectIntAddr(SDValue Addr, SDValue &Base, in selectIntAddr()
89 SDValue &Offset) const { in selectIntAddr()
94 bool MipsDAGToDAGISel::selectIntAddr11MM(SDValue Addr, SDValue &Base, in selectIntAddr11MM()
95 SDValue &Offset) const { in selectIntAddr11MM()
100 bool MipsDAGToDAGISel::selectIntAddr12MM(SDValue Addr, SDValue &Base, in selectIntAddr12MM()
101 SDValue &Offset) const { in selectIntAddr12MM()
[all …]
DMipsISelLowering.h320 SmallVectorImpl<SDValue> &Results,
324 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
329 void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue>&Results,
340 SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const override;
385 SDValue getGlobalReg(SelectionDAG &DAG, EVT Ty) const;
392 SDValue getAddrLocal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG, in getAddrLocal()
395 SDValue GOT = DAG.getNode(MipsISD::Wrapper, DL, Ty, getGlobalReg(DAG, Ty), in getAddrLocal()
397 SDValue Load = in getAddrLocal()
401 SDValue Lo = DAG.getNode(MipsISD::Lo, DL, Ty, in getAddrLocal()
411 SDValue getAddrGlobal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG, in getAddrGlobal()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGTargetInfo.h51 virtual SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl, in EmitTargetCodeForMemcpy()
52 SDValue Chain, SDValue Op1, in EmitTargetCodeForMemcpy()
53 SDValue Op2, SDValue Op3, in EmitTargetCodeForMemcpy()
58 return SDValue(); in EmitTargetCodeForMemcpy()
67 virtual SDValue EmitTargetCodeForMemmove( in EmitTargetCodeForMemmove()
68 SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Op1, in EmitTargetCodeForMemmove()
69 SDValue Op2, SDValue Op3, unsigned Align, bool isVolatile, in EmitTargetCodeForMemmove()
71 return SDValue(); in EmitTargetCodeForMemmove()
80 virtual SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, const SDLoc &dl, in EmitTargetCodeForMemset()
81 SDValue Chain, SDValue Op1, in EmitTargetCodeForMemset()
[all …]
DSelectionDAG.h247 SDValue Root;
384 void createOperands(SDNode *Node, ArrayRef<SDValue> Vals);
482 const SDValue &getRoot() const { return Root; }
485 SDValue getEntryNode() const {
486 return SDValue(const_cast<SDNode *>(&EntryNode), 0);
491 const SDValue &setRoot(SDValue N) {
586 SDValue getConstant(uint64_t Val, const SDLoc &DL, EVT VT,
588 SDValue getConstant(const APInt &Val, const SDLoc &DL, EVT VT,
591 SDValue getAllOnesConstant(const SDLoc &DL, EVT VT, bool IsTarget = false,
597 SDValue getConstant(const ConstantInt &Val, const SDLoc &DL, EVT VT,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.h606 SDValue get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG);
669 bool hasAndNotCompare(SDValue) const override { in hasAndNotCompare() argument
703 bool getPreIndexedAddressParts(SDNode *N, SDValue &Base,
704 SDValue &Offset,
710 bool SelectAddressEVXRegReg(SDValue N, SDValue &Base, SDValue &Index,
717 bool SelectAddressRegReg(SDValue N, SDValue &Base, SDValue &Index,
726 bool SelectAddressRegImm(SDValue N, SDValue &Disp, SDValue &Base,
732 bool SelectAddressRegRegOnly(SDValue N, SDValue &Base, SDValue &Index,
739 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
744 void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue>&Results,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.h40 SDValue lowerKernArgParameterPtr(SelectionDAG &DAG, const SDLoc &SL,
41 SDValue Chain, uint64_t Offset) const;
42 SDValue getImplicitArgPtr(SelectionDAG &DAG, const SDLoc &SL) const;
43 SDValue lowerKernargMemParameter(SelectionDAG &DAG, EVT VT, EVT MemVT,
44 const SDLoc &SL, SDValue Chain,
48 SDValue lowerStackParameter(SelectionDAG &DAG, CCValAssign &VA,
49 const SDLoc &SL, SDValue Chain,
51 SDValue getPreloadedValue(SelectionDAG &DAG,
56 SDValue LowerGlobalAddress(AMDGPUMachineFunction *MFI, SDValue Op,
58 SDValue lowerImplicitZextParam(SelectionDAG &DAG, SDValue Op,
[all …]
DAMDGPUISelLowering.h36 SDValue getFFBX_U32(SelectionDAG &DAG, SDValue Op, const SDLoc &DL, unsigned Opc) const;
39 static unsigned numBitsUnsigned(SDValue Op, SelectionDAG &DAG);
40 static unsigned numBitsSigned(SDValue Op, SelectionDAG &DAG);
44 SDValue LowerEXTRACT_SUBVECTOR(SDValue Op, SelectionDAG &DAG) const;
45 SDValue LowerCONCAT_VECTORS(SDValue Op, SelectionDAG &DAG) const;
49 SDValue LowerFREM(SDValue Op, SelectionDAG &DAG) const;
50 SDValue LowerFCEIL(SDValue Op, SelectionDAG &DAG) const;
51 SDValue LowerFTRUNC(SDValue Op, SelectionDAG &DAG) const;
52 SDValue LowerFRINT(SDValue Op, SelectionDAG &DAG) const;
53 SDValue LowerFNEARBYINT(SDValue Op, SelectionDAG &DAG) const;
[all …]
DR600ISelLowering.h35 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
36 SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const override;
38 SmallVectorImpl<SDValue> &Results,
41 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
45 SmallVectorImpl<SDValue> &InVals) const override;
63 SDValue LowerImplicitParameter(SelectionDAG &DAG, EVT VT, const SDLoc &DL,
68 SDValue OptimizeSwizzle(SDValue BuildVector, SDValue Swz[], SelectionDAG &DAG,
70 SDValue vectorToVerticalVector(SelectionDAG &DAG, SDValue Vector) const;
72 SDValue lowerFrameIndex(SDValue Op, SelectionDAG &DAG) const;
73 SDValue LowerEXTRACT_VECTOR_ELT(SDValue Op, SelectionDAG &DAG) const;
[all …]
DAMDGPUISelDAGToDAG.cpp74 static bool isNullConstantOrUndef(SDValue V) { in isNullConstantOrUndef()
82 static bool getConstantValue(SDValue N, uint32_t &Out) { in getConstantValue()
167 std::pair<SDValue, SDValue> foldFrameIndex(SDValue N) const;
168 bool isNoNanSrc(SDValue N) const;
196 SDNode *glueCopyToOp(SDNode *N, SDValue NewChain, SDValue Glue) const;
197 SDNode *glueCopyToM0(SDNode *N, SDValue Val) const;
201 virtual bool SelectADDRVTX_READ(SDValue Addr, SDValue &Base, SDValue &Offset);
202 virtual bool SelectADDRIndirect(SDValue Addr, SDValue &Base, SDValue &Offset);
203 bool isDSOffsetLegal(SDValue Base, unsigned Offset,
205 bool SelectDS1Addr1Offset(SDValue Ptr, SDValue &Base, SDValue &Offset) const;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreISelLowering.h99 bool isZExtFree(SDValue Val, EVT VT2) const override;
108 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
113 void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue>&Results,
147 SDValue LowerCCCArguments(SDValue Chain, CallingConv::ID CallConv,
151 SmallVectorImpl<SDValue> &InVals) const;
152 SDValue LowerCCCCallTo(SDValue Chain, SDValue Callee,
156 const SmallVectorImpl<SDValue> &OutVals,
159 SmallVectorImpl<SDValue> &InVals) const;
160 SDValue getReturnAddressFrameIndex(SelectionDAG &DAG) const;
161 SDValue getGlobalAddressWrapper(SDValue GA, const GlobalValue *GV,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.h449 void LowerAsmOperandForConstraint(SDValue Op,
451 std::vector<SDValue> &Ops,
498 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
499 void LowerOperationWrapper(SDNode *N, SmallVectorImpl<SDValue> &Results,
501 void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue>&Results,
506 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
510 SmallVectorImpl<SDValue> &InVals) const override;
511 SDValue LowerCall(CallLoweringInfo &CLI,
512 SmallVectorImpl<SDValue> &InVals) const override;
518 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool IsVarArg,
[all …]
DSystemZSelectionDAGInfo.h26 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &DL,
27 SDValue Chain, SDValue Dst, SDValue Src,
28 SDValue Size, unsigned Align, bool IsVolatile,
33 SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, const SDLoc &DL,
34 SDValue Chain, SDValue Dst, SDValue Byte,
35 SDValue Size, unsigned Align, bool IsVolatile,
38 std::pair<SDValue, SDValue>
39 EmitTargetCodeForMemcmp(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain,
40 SDValue Src1, SDValue Src2, SDValue Size,
44 std::pair<SDValue, SDValue>
[all …]
DSystemZSelectionDAGInfo.cpp25 static SDValue emitMemMem(SelectionDAG &DAG, const SDLoc &DL, unsigned Sequence, in emitMemMem()
26 unsigned Loop, SDValue Chain, SDValue Dst, in emitMemMem()
27 SDValue Src, uint64_t Size) { in emitMemMem()
48 SDValue SystemZSelectionDAGInfo::EmitTargetCodeForMemcpy( in EmitTargetCodeForMemcpy()
49 SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, SDValue Dst, SDValue Src, in EmitTargetCodeForMemcpy()
50 SDValue Size, unsigned Align, bool IsVolatile, bool AlwaysInline, in EmitTargetCodeForMemcpy()
53 return SDValue(); in EmitTargetCodeForMemcpy()
58 return SDValue(); in EmitTargetCodeForMemcpy()
64 static SDValue memsetStore(SelectionDAG &DAG, const SDLoc &DL, SDValue Chain, in memsetStore()
65 SDValue Dst, uint64_t ByteVal, uint64_t Size, in memsetStore()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.h72 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
78 SDValue LowerBlockAddress(SDValue Op, SelectionDAG &DAG) const;
79 SDValue LowerBR_CC(SDValue Op, SelectionDAG &DAG) const;
80 SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG) const;
81 SDValue LowerDYNAMIC_STACKALLOC(SDValue Op, SelectionDAG &DAG) const;
82 SDValue LowerFRAMEADDR(SDValue Op, SelectionDAG &DAG) const;
83 SDValue LowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const;
84 SDValue LowerJumpTable(SDValue Op, SelectionDAG &DAG) const;
85 SDValue LowerMUL(SDValue Op, SelectionDAG &DAG) const;
86 SDValue LowerRETURNADDR(SDValue Op, SelectionDAG &DAG) const;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h315 void computeKnownBitsForTargetNode(const SDValue Op, KnownBits &Known,
328 bool targetShrinkDemandedConstant(SDValue Op, const APInt &Demanded,
345 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
349 SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const override;
375 SDValue ReconstructShuffle(SDValue Op, SelectionDAG &DAG) const;
404 bool isZExtFree(SDValue Val, EVT VT2) const override;
543 bool hasAndNotCompare(SDValue V) const override { in hasAndNotCompare()
548 bool hasAndNot(SDValue Y) const override { in hasAndNot()
558 SDValue X, ConstantSDNode *XC, ConstantSDNode *CC, SDValue Y,
636 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.h306 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
310 void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue>&Results,
333 SDValue PerformCMOVCombine(SDNode *N, SelectionDAG &DAG) const;
334 SDValue PerformBRCONDCombine(SDNode *N, SelectionDAG &DAG) const;
335 SDValue PerformCMOVToBFICombine(SDNode *N, SelectionDAG &DAG) const;
336 SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const override;
356 bool isZExtFree(SDValue Val, EVT VT2) const override;
362 bool isVectorLoadExtDesirable(SDValue ExtVal) const override;
401 bool getPreIndexedAddressParts(SDNode *N, SDValue &Base, SDValue &Offset,
408 bool getPostIndexedAddressParts(SDNode *N, SDNode *Op, SDValue &Base,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h83 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
89 SDValue LowerShifts(SDValue Op, SelectionDAG &DAG) const;
90 SDValue LowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const;
91 SDValue LowerBlockAddress(SDValue Op, SelectionDAG &DAG) const;
92 SDValue LowerExternalSymbol(SDValue Op, SelectionDAG &DAG) const;
93 SDValue LowerBR_CC(SDValue Op, SelectionDAG &DAG) const;
94 SDValue LowerSETCC(SDValue Op, SelectionDAG &DAG) const;
95 SDValue LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const;
96 SDValue LowerSIGN_EXTEND(SDValue Op, SelectionDAG &DAG) const;
97 SDValue LowerRETURNADDR(SDValue Op, SelectionDAG &DAG) const;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.h57 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
64 void computeKnownBitsForTargetNode(const SDValue Op,
80 void LowerAsmOperandForConstraint(SDValue Op,
82 std::vector<SDValue> &Ops,
126 SDValue
127 LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
130 SmallVectorImpl<SDValue> &InVals) const override;
131 SDValue LowerFormalArguments_32(SDValue Chain, CallingConv::ID CallConv,
135 SmallVectorImpl<SDValue> &InVals) const;
136 SDValue LowerFormalArguments_64(SDValue Chain, CallingConv::ID CallConv,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.h74 bool isVectorLoadExtDesirable(SDValue ExtVal) const override;
81 SDValue LowerCall(CallLoweringInfo &CLI,
82 SmallVectorImpl<SDValue> &InVals) const override;
87 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
89 const SmallVectorImpl<SDValue> &OutVals, const SDLoc &dl,
91 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
95 SmallVectorImpl<SDValue> &InVals) const override;
97 void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue> &Results,
105 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
106 SDValue LowerFrameIndex(SDValue Op, SelectionDAG &DAG) const;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRISelLowering.h86 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
88 void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue> &Results,
95 bool getPreIndexedAddressParts(SDNode *N, SDValue &Base, SDValue &Offset,
99 bool getPostIndexedAddressParts(SDNode *N, SDNode *Op, SDValue &Base,
100 SDValue &Offset, ISD::MemIndexedMode &AM,
124 void LowerAsmOperandForConstraint(SDValue Op, std::string &Constraint,
125 std::vector<SDValue> &Ops,
137 SDValue getAVRCmp(SDValue LHS, SDValue RHS, ISD::CondCode CC, SDValue &AVRcc,
139 SDValue LowerShifts(SDValue Op, SelectionDAG &DAG) const;
140 SDValue LowerDivRem(SDValue Op, SelectionDAG &DAG) const;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.h706 bool isZeroNode(SDValue Elt);
720 bool isConstantSplat(SDValue Op, APInt &SplatVal);
746 SDValue getPICJumpTableRelocBase(SDValue Table,
790 SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;
797 SmallVectorImpl<SDValue> &Results,
803 void ReplaceNodeResults(SDNode *N, SmallVectorImpl<SDValue>&Results,
806 SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const override;
831 bool IsDesirableToPromoteOp(SDValue Op, EVT &PVT) const override;
836 char isNegatibleForFree(SDValue Op, SelectionDAG &DAG, bool LegalOperations,
840 SDValue getNegatedExpression(SDValue Op, SelectionDAG &DAG,
[all …]

123456