Home
last modified time | relevance | path

Searched defs:VT (Results 1 – 25 of 136) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h309 getPreferredVectorAction(MVT VT) const { in getPreferredVectorAction()
339 virtual bool isIntDivCheap(EVT VT, AttributeList Attr) const { return false; } in isIntDivCheap()
342 virtual bool hasStandaloneRem(EVT VT) const { in hasStandaloneRem()
487 virtual bool hasBitPreservingFPLogic(EVT VT) const { in hasBitPreservingFPLogic()
516 virtual bool convertSetCCLogicToBitwiseLogic(EVT VT) const { in convertSetCCLogicToBitwiseLogic()
525 MVT VT = MVT::getIntegerVT(NumBits); in hasFastEqualityCompare() local
629 virtual bool preferIncOfAddToSubOfNot(EVT VT) const { in preferIncOfAddToSubOfNot()
656 virtual bool enableAggressiveFMAFusion(EVT VT) const { in enableAggressiveFMAFusion()
729 virtual const TargetRegisterClass *getRepRegClassFor(MVT VT) const { in getRepRegClassFor()
736 virtual uint8_t getRepRegClassCostFor(MVT VT) const { in getRepRegClassCostFor()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp446 RTLIB::Libcall RTLIB::getSYNC(unsigned Opc, MVT VT) { in getSYNC()
614 for (MVT VT : MVT::fp_valuetypes()) { in initActions() local
623 for (MVT VT : MVT::all_valuetypes()) { in initActions() local
937 static unsigned getVectorTypeBreakdownMVT(MVT VT, MVT &IntermediateVT, in getVectorTypeBreakdownMVT()
1240 MVT VT = (MVT::SimpleValueType) i; in computeRegisterProperties() local
1375 unsigned TargetLoweringBase::getVectorTypeBreakdown(LLVMContext &Context, EVT VT, in getVectorTypeBreakdown()
1476 EVT VT = ValueVTs[j]; in GetReturnInfo() local
1524 LLVMContext &Context, const DataLayout &DL, EVT VT, unsigned AddrSpace, in allowsMemoryAccessForAlignment()
1544 LLVMContext &Context, const DataLayout &DL, EVT VT, in allowsMemoryAccessForAlignment()
1552 LLVMContext &Context, const DataLayout &DL, EVT VT, unsigned AddrSpace, in allowsMemoryAccess()
[all …]
DCallingConvLower.cpp104 MVT VT = Outs[i].VT; in CheckReturn() local
118 MVT VT = Outs[i].VT; in AnalyzeReturn() local
166 MVT VT = Ins[i].VT; in AnalyzeCallResult() local
179 void CCState::AnalyzeCallResult(MVT VT, CCAssignFn Fn) { in AnalyzeCallResult()
189 static bool isValueTypeInRegForCC(CallingConv::ID CC, MVT VT) { in isValueTypeInRegForCC()
200 MVT VT, CCAssignFn Fn) { in getRemainingRegParmsForType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp587 MVT VT = Node->getSimpleValueType(0); in Promote() local
624 MVT VT = Node->getOperand(IsStrict ? 1 : 0).getSimpleValueType(); in PromoteINT_TO_FP() local
662 MVT VT = Node->getSimpleValueType(0); in PromoteFP_TO_INT() local
1002 EVT VT = Node->getValueType(0); in ExpandSELECT() local
1054 EVT VT = Node->getValueType(0); in ExpandSEXTINREG() local
1076 EVT VT = Node->getValueType(0); in ExpandANY_EXTEND_VECTOR_INREG() local
1112 EVT VT = Node->getValueType(0); in ExpandSIGN_EXTEND_VECTOR_INREG() local
1136 EVT VT = Node->getValueType(0); in ExpandZERO_EXTEND_VECTOR_INREG() local
1174 static void createBSWAPShuffleMask(EVT VT, SmallVectorImpl<int> &ShuffleMask) { in createBSWAPShuffleMask()
1182 EVT VT = Node->getValueType(0); in ExpandBSWAP() local
[all …]
DDAGCombiner.cpp232 for (MVT VT : MVT::all_valuetypes()) in DAGCombiner() local
310 EVT VT = Op.getValueType(); in SimplifyDemandedBits() local
686 bool hasOperation(unsigned Opcode, EVT VT) { in hasOperation()
707 bool isTypeLegal(const EVT &VT) { in isTypeLegal()
929 EVT VT = LoadStore->getMemoryVT(); in reassociationCanBreakAddressingModePattern() local
949 EVT VT = N0.getValueType(); in reassociateOpsCommutative() local
1096 EVT VT = Load->getValueType(0); in ReplaceLoadWithPromotedLoad() local
1183 EVT VT = Op.getValueType(); in PromoteIntBinOp() local
1248 EVT VT = Op.getValueType(); in PromoteIntShiftOp() local
1297 EVT VT = Op.getValueType(); in PromoteExtend() local
[all …]
DResourcePriorityQueue.cpp93 MVT VT = ScegN->getSimpleValueType(i); in numberRCValPredInSU() local
131 MVT VT = Op.getNode()->getSimpleValueType(Op.getResNo()); in numberRCValSuccInSU() local
327 MVT VT = SU->getNode()->getSimpleValueType(i); in rawRegPressureDelta() local
336 MVT VT = Op.getNode()->getSimpleValueType(Op.getResNo()); in rawRegPressureDelta() local
475 MVT VT = ScegN->getSimpleValueType(i); in scheduledNode() local
486 MVT VT = Op.getNode()->getSimpleValueType(Op.getResNo()); in scheduledNode() local
DSelectionDAG.cpp122 bool ConstantFPSDNode::isValueValidForType(EVT VT, in isValueValidForType()
811 EVT VT = N->getValueType(0); in VerifySDNode() local
887 EVT VT = cast<VTSDNode>(N)->getVT(); in RemoveNodeFromCSEMaps() local
1122 SDValue SelectionDAG::getFPExtendOrRound(SDValue Op, const SDLoc &DL, EVT VT) { in getFPExtendOrRound()
1130 const SDLoc &DL, EVT VT) { in getStrictFPExtendOrRound()
1142 SDValue SelectionDAG::getAnyExtOrTrunc(SDValue Op, const SDLoc &DL, EVT VT) { in getAnyExtOrTrunc()
1148 SDValue SelectionDAG::getSExtOrTrunc(SDValue Op, const SDLoc &DL, EVT VT) { in getSExtOrTrunc()
1154 SDValue SelectionDAG::getZExtOrTrunc(SDValue Op, const SDLoc &DL, EVT VT) { in getZExtOrTrunc()
1160 SDValue SelectionDAG::getBoolExtOrTrunc(SDValue Op, const SDLoc &SL, EVT VT, in getBoolExtOrTrunc()
1169 SDValue SelectionDAG::getZeroExtendInReg(SDValue Op, const SDLoc &DL, EVT VT) { in getZeroExtendInReg()
[all …]
DLegalizeTypes.h62 TargetLowering::LegalizeTypeAction getTypeAction(EVT VT) const { in getTypeAction()
67 bool isTypeLegal(EVT VT) const { in isTypeLegal()
72 bool isSimpleLegalType(EVT VT) const { in isSimpleLegalType()
76 EVT getSetCCResultType(EVT VT) const { in getSetCCResultType()
DLegalizeDAG.cpp260 EVT NVT, EVT VT, const SDLoc &dl, SDValue N1, SDValue N2, in ShuffleWithNarrowerEltType()
299 EVT VT = CFP->getValueType(0); in ExpandConstantFP() local
348 EVT VT = CP->getValueType(0); in ExpandConstant() local
376 EVT VT = Tmp1.getValueType(); in PerformInsertVectorEltInMemory() local
502 MVT VT = Value.getSimpleValueType(); in LegalizeStoreOps() local
673 MVT VT = Node->getSimpleValueType(0); in LegalizeLoadOps() local
1397 EVT VT = Node->getValueType(0); in ExpandVectorBuildThroughStack() local
1590 EVT VT = Node->getValueType(0); in ExpandDYNAMIC_STACKALLOC() local
1638 EVT VT, SDValue &LHS, SDValue &RHS, SDValue &CC, bool &NeedInvert, in LegalizeSetCCCondCode()
1814 EVT VT = Node->getValueType(0); in ExpandBVWithShuffles() local
[all …]
DLegalizeFloatTypes.cpp29 static RTLIB::Libcall GetFPLibCall(EVT VT, in GetFPLibCall()
650 EVT VT = N->getValueType(0); in SoftenFloatRes_LOAD() local
704 EVT VT = N->getValueType(0); in SoftenFloatRes_VAARG() local
855 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_BR_CC() local
923 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_SELECT_CC() local
951 EVT VT = Op0.getValueType(); in SoftenFloatOp_SETCC() local
1557 EVT VT = N->getValueType(0); in ExpandFloatRes_XINT_TO_FP() local
2019 EVT VT = N->getValueType(0); in PromoteFloatOp_FP_EXTEND() local
2044 EVT VT = N->getValueType(0); in PromoteFloatOp_SETCC() local
2061 EVT VT = ST->getOperand(1).getValueType(); in PromoteFloatOp_STORE() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMachineFunctionInfo.h67 void addParam(MVT VT) { Params.push_back(VT); } in addParam()
70 void addResult(MVT VT) { Results.push_back(VT); } in addResult()
79 void setLocal(size_t i, MVT VT) { Locals[i] = VT; } in setLocal()
80 void addLocal(MVT VT) { Locals.push_back(VT); } in addLocal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp226 static MVT scaleVectorType(MVT VT) { in scaleVectorType()
254 static void genShuffleBland(MVT VT, ArrayRef<uint32_t> Mask, in genShuffleBland()
284 static void reorderSubVector(MVT VT, SmallVectorImpl<Value *> &TransposedMatrix, in reorderSubVector()
326 MVT VT = MVT::v8i16; in interleave8bitStride4VF8() local
366 MVT VT = MVT::getVectorVT(MVT::i8, NumOfElm); in interleave8bitStride4() local
435 static void createShuffleStride(MVT VT, int Stride, in createShuffleStride()
449 static void setGroupSize(MVT VT, SmallVectorImpl<uint32_t> &SizeInfo) { in setGroupSize()
472 static void DecodePALIGNRMask(MVT VT, unsigned Imm, in DecodePALIGNRMask()
557 MVT VT = MVT::getVT(Shuffles[0]->getType()); in deinterleave8bitStride3() local
608 static void group2Shuffle(MVT VT, SmallVectorImpl<uint32_t> &Mask, in group2Shuffle()
[all …]
DX86FastISel.cpp292 bool X86FastISel::isTypeLegal(Type *Ty, MVT &VT, bool AllowI1) { in isTypeLegal()
318 bool X86FastISel::X86FastEmitLoad(MVT VT, X86AddressMode &AM, in X86FastEmitLoad()
483 bool X86FastISel::X86FastEmitStore(EVT VT, unsigned ValReg, bool ValIsKill, in X86FastEmitStore()
657 bool X86FastISel::X86FastEmitStore(EVT VT, const Value *Val, in X86FastEmitStore()
1127 MVT VT; in X86SelectStore() local
1315 MVT VT; in X86SelectLoad() local
1339 static unsigned X86ChooseCmpOpcode(EVT VT, const X86Subtarget *Subtarget) { in X86ChooseCmpOpcode()
1366 static unsigned X86ChooseCmpImmediateOpcode(EVT VT, const ConstantInt *RHSC) { in X86ChooseCmpImmediateOpcode()
1393 bool X86FastISel::X86FastEmitCompare(const Value *Op0, const Value *Op1, EVT VT, in X86FastEmitCompare()
1429 MVT VT; in X86SelectCmp() local
[all …]
DX86ISelLowering.cpp179 for (MVT VT : MVT::integer_valuetypes()) in X86TargetLowering() local
773 for (MVT VT : MVT::fixedlen_vector_valuetypes()) { in X86TargetLowering() local
2137 LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT, in getVectorTypeBreakdownForCallingConv()
2311 EVT VT, unsigned, unsigned Align, MachineMemOperand::Flags Flags, in allowsMisalignedMemoryAccesses()
2877 EVT X86TargetLowering::getTypeForExtReturn(LLVMContext &Context, EVT VT, in getTypeForExtReturn()
3738 EVT VT = getPointerTy(DAG.getDataLayout()); in EmitTailCallLoadRetAddr() local
3767 static SDValue getMOVL(SelectionDAG &DAG, const SDLoc &dl, MVT VT, SDValue V1, in getMOVL()
4965 MVT VT = MVT::getVT(I.getArgOperand(1)->getType()); in getTgtMemIntrinsic() local
5014 bool X86TargetLowering::isFPImmLegal(const APFloat &Imm, EVT VT, in isFPImmLegal()
5038 EVT VT = Load->getValueType(0); in shouldReduceLoadWidth() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp347 for (MVT VT : MVT::fixedlen_vector_valuetypes()) { in AArch64TargetLowering() local
361 for (MVT VT : MVT::fixedlen_vector_valuetypes()) { in AArch64TargetLowering() local
580 for (MVT VT : MVT::fp_valuetypes()) { in AArch64TargetLowering() local
586 for (MVT VT : MVT::integer_valuetypes()) in AArch64TargetLowering() local
805 for (MVT VT : MVT::fixedlen_vector_valuetypes()) { in AArch64TargetLowering() local
857 for (MVT VT : MVT::integer_scalable_vector_valuetypes()) { in AArch64TargetLowering() local
868 void AArch64TargetLowering::addTypeForNEON(MVT VT, MVT PromotedBitwiseVT) { in addTypeForNEON()
947 void AArch64TargetLowering::addDRTypeForNEON(MVT VT) { in addDRTypeForNEON()
952 void AArch64TargetLowering::addQRTypeForNEON(MVT VT) { in addQRTypeForNEON()
1038 EVT VT = Op.getValueType(); in optimizeLogicalImm() local
[all …]
DAArch64ISelDAGToDAG.cpp1167 EVT VT = N->getValueType(0); in SelectTable() local
1189 EVT VT = LD->getMemoryVT(); in tryIndexedLoad() local
1282 EVT VT = N->getValueType(0); in SelectLoad() local
1308 EVT VT = N->getValueType(0); in SelectPostLoad() local
1340 EVT VT = N->getOperand(2)->getValueType(0); in SelectStore() local
1360 EVT VT = N->getOperand(2)->getValueType(0); in SelectPostStore() local
1388 EVT VT = V64Reg.getValueType(); in operator ()() local
1404 EVT VT = V128Reg.getValueType(); in NarrowVector() local
1416 EVT VT = N->getValueType(0); in SelectLoadLane() local
1455 EVT VT = N->getValueType(0); in SelectPostLoadLane() local
[all …]
DAArch64FastISel.cpp328 static unsigned getImplicitScaleFactor(MVT VT) { in getImplicitScaleFactor()
380 unsigned AArch64FastISel::materializeInt(const ConstantInt *CI, MVT VT) { in materializeInt()
397 unsigned AArch64FastISel::materializeFP(const ConstantFP *CFP, MVT VT) { in materializeFP()
528 MVT VT = CEVT.getSimpleVT(); in fastMaterializeConstant() local
552 MVT VT; in fastMaterializeFloatZero() local
977 bool AArch64FastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal()
1001 bool AArch64FastISel::isTypeSupported(Type *Ty, MVT &VT, bool IsVectorAllowed) { in isTypeSupported()
1024 bool AArch64FastISel::simplifyAddress(Address &Addr, MVT VT) { in simplifyAddress()
1490 MVT VT = EVT.getSimpleVT(); in emitCmp() local
1565 unsigned AArch64FastISel::emitAdd_ri_(MVT VT, unsigned Op0, bool Op0IsKill, in emitAdd_ri_()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp42 EVT AMDGPUTargetLowering::getEquivalentMemType(LLVMContext &Ctx, EVT VT) { in getEquivalentMemType()
52 EVT VT = Op.getValueType(); in numBitsUnsigned() local
58 EVT VT = Op.getValueType(); in numBitsSigned() local
108 for (MVT VT : MVT::integer_valuetypes()) { in AMDGPUTargetLowering() local
114 for (MVT VT : MVT::integer_valuetypes()) { in AMDGPUTargetLowering() local
134 for (MVT VT : MVT::integer_fixedlen_vector_valuetypes()) { in AMDGPUTargetLowering() local
306 for (MVT VT : ScalarIntVTs) { in AMDGPUTargetLowering() local
360 for (MVT VT : VectorIntTypes) { in AMDGPUTargetLowering() local
402 for (MVT VT : FloatVectorTypes) { in AMDGPUTargetLowering() local
545 static bool opMustUseVOP3Encoding(const SDNode *N, MVT VT) { in opMustUseVOP3Encoding()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMFastISel.cpp398 unsigned ARMFastISel::ARMMoveToFPReg(MVT VT, unsigned SrcReg) { in ARMMoveToFPReg()
408 unsigned ARMFastISel::ARMMoveToIntReg(MVT VT, unsigned SrcReg) { in ARMMoveToIntReg()
421 unsigned ARMFastISel::ARMMaterializeFP(const ConstantFP *CFP, MVT VT) { in ARMMaterializeFP()
464 unsigned ARMFastISel::ARMMaterializeInt(const Constant *C, MVT VT) { in ARMMaterializeInt()
537 unsigned ARMFastISel::ARMMaterializeGV(const GlobalValue *GV, MVT VT) { in ARMMaterializeGV()
647 MVT VT = CEVT.getSimpleVT(); in fastMaterializeConstant() local
665 MVT VT; in fastMaterializeAlloca() local
689 bool ARMFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal()
701 bool ARMFastISel::isLoadTypeLegal(Type *Ty, MVT &VT) { in isLoadTypeLegal()
818 void ARMFastISel::ARMSimplifyAddress(Address &Addr, MVT VT, bool useAM3) { in ARMSimplifyAddress()
[all …]
DARMISelLowering.cpp156 void ARMTargetLowering::addTypeForNEON(MVT VT, MVT PromotedLdStVT, in addTypeForNEON()
223 void ARMTargetLowering::addDRTypeForNEON(MVT VT) { in addDRTypeForNEON()
228 void ARMTargetLowering::addQRTypeForNEON(MVT VT) { in addQRTypeForNEON()
233 void ARMTargetLowering::setAllExpand(MVT VT) { in setAllExpand()
256 for (auto VT : IntTypes) { in addMVEVectorTypes() local
314 for (auto VT : FloatTypes) { in addMVEVectorTypes() local
365 for (auto VT : LongTypes) { in addMVEVectorTypes() local
407 for (auto VT : pTypes) { in addMVEVectorTypes() local
727 for (MVT VT : MVT::fixedlen_vector_valuetypes()) { in ARMTargetLowering() local
929 for (MVT VT : MVT::integer_fixedlen_vector_valuetypes()) { in ARMTargetLowering() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsCallLowering.cpp28 const EVT &VT) { in assign()
42 const EVT &VT) { in assignVRegs()
66 EVT VT = TLI.getValueType(DL, Args[ArgsIndex].Ty); in handle() local
138 const EVT &VT) { in assignValueToReg()
216 Register ArgsReg, const EVT &VT) { in handleSplit()
252 const EVT &VT) { in assignValueToReg()
352 Register ArgsReg, const EVT &VT) { in handleSplit()
383 static CCValAssign::LocInfo determineLocInfo(const MVT RegisterVT, const EVT VT, in determineLocInfo()
682 EVT VT = TLI.getValueType(DL, Arg.Ty); in subTargetRegTypeForCallingConv() local
DMipsFastISel.cpp356 unsigned MipsFastISel::materializeInt(const Constant *C, MVT VT) { in materializeInt()
389 unsigned MipsFastISel::materializeFP(const ConstantFP *CFP, MVT VT) { in materializeFP()
411 unsigned MipsFastISel::materializeGV(const GlobalValue *GV, MVT VT) { in materializeGV()
453 MVT VT = CEVT.getSimpleVT(); in fastMaterializeConstant() local
596 bool MipsFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal()
608 bool MipsFastISel::isTypeSupported(Type *Ty, MVT &VT) { in isTypeSupported()
623 bool MipsFastISel::isLoadTypeLegal(Type *Ty, MVT &VT) { in isLoadTypeLegal()
757 bool MipsFastISel::emitLoad(MVT VT, unsigned &ResultReg, Address &Addr, in emitLoad()
813 bool MipsFastISel::emitStore(MVT VT, unsigned SrcReg, Address &Addr, in emitStore()
866 MVT VT; in selectLogicalOp() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DMachineValueType.h863 bool bitsGT(MVT VT) const { in bitsGT()
868 bool bitsGE(MVT VT) const { in bitsGE()
873 bool bitsLT(MVT VT) const { in bitsLT()
878 bool bitsLE(MVT VT) const { in bitsLE()
918 static MVT getVectorVT(MVT VT, unsigned NumElements) { in getVectorVT()
1018 static MVT getScalableVectorVT(MVT VT, unsigned NumElements) { in getScalableVectorVT()
1084 static MVT getVectorVT(MVT VT, unsigned NumElements, bool IsScalable) { in getVectorVT()
1090 static MVT getVectorVT(MVT VT, ElementCount EC) { in getVectorVT()
1104 SimpleValueType VT; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRISelDAGToDAG.cpp107 MVT VT = cast<MemSDNode>(Op)->getMemoryVT().getSimpleVT(); in SelectAddr() local
124 MVT VT = LD->getMemoryVT().getSimpleVT(); in selectIndexedLoad() local
169 MVT VT) { in selectIndexedProgMemLoad()
343 EVT VT = ST->getValue().getValueType(); in select() local
371 MVT VT = LD->getMemoryVT().getSimpleVT(); in select() local
DAVRISelLowering.cpp58 for (MVT VT : MVT::integer_valuetypes()) { in AVRTargetLowering() local
67 for (MVT VT : MVT::integer_valuetypes()) { in AVRTargetLowering() local
133 for (MVT VT : MVT::integer_valuetypes()) { in AVRTargetLowering() local
154 for (MVT VT : MVT::integer_valuetypes()) { in AVRTargetLowering() local
174 for (MVT VT : MVT::integer_valuetypes()) { in AVRTargetLowering() local
179 for (MVT VT : MVT::integer_valuetypes()) { in AVRTargetLowering() local
185 for (MVT VT : MVT::integer_valuetypes()) { in AVRTargetLowering() local
283 EVT VT = Op.getValueType(); in LowerShifts() local
344 EVT VT = Op->getValueType(0); in LowerDivRem() local
447 EVT VT = LHS.getValueType(); in getAVRCmp() local
[all …]

123456