/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | TinyPtrVector.h | 29 template <typename EltTy> 32 using VecTy = SmallVector<EltTy, 4>; 38 using PtrUnion = PointerUnion<EltTy, VecTy *>; 66 if (Val.template is<EltTy>()) { 75 if (RHS.Val.template is<EltTy>()) { 85 RHS.Val = (EltTy)nullptr; in TinyPtrVector() 100 if (RHS.Val.template is<EltTy>()) { 103 RHS.Val = EltTy(); 110 RHS.Val = EltTy(); 114 TinyPtrVector(std::initializer_list<EltTy> IL) in TinyPtrVector() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ScalarizeMaskedMemIntrin.cpp | 136 Type *EltTy = VecType->getElementType(); in scalarizeMaskedLoad() local 154 AlignVal = MinAlign(AlignVal, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedLoad() 157 EltTy->getPointerTo(Ptr->getType()->getPointerAddressSpace()); in scalarizeMaskedLoad() 168 Value *Gep = Builder.CreateConstInBoundsGEP1_32(EltTy, FirstEltPtr, Idx); in scalarizeMaskedLoad() 169 LoadInst *Load = Builder.CreateAlignedLoad(EltTy, Gep, AlignVal); in scalarizeMaskedLoad() 212 Value *Gep = Builder.CreateConstInBoundsGEP1_32(EltTy, FirstEltPtr, Idx); in scalarizeMaskedLoad() 213 LoadInst *Load = Builder.CreateAlignedLoad(EltTy, Gep, AlignVal); in scalarizeMaskedLoad() 274 Type *EltTy = VecType->getElementType(); in scalarizeMaskedStore() local 290 AlignVal = MinAlign(AlignVal, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedStore() 293 EltTy->getPointerTo(Ptr->getType()->getPointerAddressSpace()); in scalarizeMaskedStore() [all …]
|
D | Analysis.cpp | 58 Type *EltTy = ATy->getElementType(); in ComputeLinearIndex() local 61 unsigned EltLinearOffset = ComputeLinearIndex(EltTy, nullptr, nullptr, 0); in ComputeLinearIndex() 67 return ComputeLinearIndex(EltTy, Indices+1, IndicesEnd, CurIndex); in ComputeLinearIndex() 101 Type *EltTy = ATy->getElementType(); in ComputeValueVTs() local 102 uint64_t EltSize = DL.getTypeAllocSize(EltTy); in ComputeValueVTs() 104 ComputeValueVTs(TLI, DL, EltTy, ValueVTs, MemVTs, Offsets, in ComputeValueVTs() 141 Type *EltTy = ATy->getElementType(); in computeValueLLTs() local 142 uint64_t EltSize = DL.getTypeAllocSize(EltTy); in computeValueLLTs() 144 computeValueLLTs(DL, *EltTy, ValueTys, Offsets, in computeValueLLTs()
|
D | TargetLoweringBase.cpp | 943 MVT EltTy = VT.getVectorElementType(); in getVectorTypeBreakdownMVT() local 956 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { in getVectorTypeBreakdownMVT() 963 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); in getVectorTypeBreakdownMVT() 965 NewVT = EltTy; in getVectorTypeBreakdownMVT() 1398 EVT EltTy = VT.getVectorElementType(); in getVectorTypeBreakdown() local 1412 EVT::getVectorVT(Context, EltTy, NumElts))) { in getVectorTypeBreakdown() 1419 EVT NewVT = EVT::getVectorVT(Context, EltTy, NumElts); in getVectorTypeBreakdown() 1421 NewVT = EltTy; in getVectorTypeBreakdown()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPURewriteOutArguments.cpp | 400 Type *EltTy = Arg->getType()->getPointerElementType(); in runOnFunction() local 401 if (Val->getType() != EltTy) { in runOnFunction() 402 Type *EffectiveEltTy = EltTy; in runOnFunction() 403 if (StructType *CT = dyn_cast<StructType>(EltTy)) { in runOnFunction() 418 if (EltTy != EffectiveEltTy) in runOnFunction() 419 Val = B.CreateInsertValue(UndefValue::get(EltTy), Val, 0); in runOnFunction() 455 auto *EltTy = ArgType->getElementType(); in runOnFunction() local 458 Align = DL->getABITypeAlignment(EltTy); in runOnFunction()
|
D | AMDGPULegalizerInfo.cpp | 46 const LLT EltTy = Ty.getScalarType(); in isMultiple32() local 47 return Ty.getSizeInBits() <= MaxSize && EltTy.getSizeInBits() % 32 == 0; in isMultiple32() 70 const LLT EltTy = Ty.getScalarType(); in isWideVec16() local 71 return EltTy.getSizeInBits() == 16 && Ty.getNumElements() > 2; in isWideVec16() 78 const LLT EltTy = Ty.getElementType(); in oneMoreElement() local 79 return std::make_pair(TypeIdx, LLT::vector(Ty.getNumElements() + 1, EltTy)); in oneMoreElement() 86 const LLT EltTy = Ty.getElementType(); in fewerEltsToSize64Vector() local 90 return std::make_pair(TypeIdx, LLT::scalarOrVector(NewNumElts, EltTy)); in fewerEltsToSize64Vector() 100 const LLT EltTy = Ty.getElementType(); in moreEltsToNext32Bit() local 102 const int EltSize = EltTy.getSizeInBits(); in moreEltsToNext32Bit() [all …]
|
D | AMDGPUPromoteAlloca.cpp | 836 Type *EltTy = Src0->getType()->getPointerElementType(); in handleAlloca() local 837 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS); in handleAlloca() 853 Type *EltTy = V->getType()->getPointerElementType(); in handleAlloca() local 854 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS); in handleAlloca()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 471 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); in getInteger() local 472 return VectorType::get(EltTy, VTy->getElementCount()); in getInteger() 479 auto *EltTy = cast<IntegerType>(VTy->getElementType()); in getExtendedElementVectorType() local 480 return VectorType::get(EltTy->getExtendedType(), VTy->getElementCount()); in getExtendedElementVectorType() 487 Type *EltTy; in getTruncatedElementVectorType() local 491 EltTy = Type::getFloatTy(VTy->getContext()); in getTruncatedElementVectorType() 494 EltTy = Type::getHalfTy(VTy->getContext()); in getTruncatedElementVectorType() 503 EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); in getTruncatedElementVectorType() 505 return VectorType::get(EltTy, VTy->getElementCount()); in getTruncatedElementVectorType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsSEISelDAGToDAG.cpp | 554 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatCommon() local 559 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatCommon() 560 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatCommon() 564 Imm = CurDAG->getTargetConstant(ImmValue, SDLoc(N), EltTy); in selectVSplatCommon() 630 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatUimmPow2() local 635 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatUimmPow2() 636 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatUimmPow2() 640 Imm = CurDAG->getTargetConstant(Log2, SDLoc(N), EltTy); in selectVSplatUimmPow2() 661 EVT EltTy = N->getValueType(0).getVectorElementType(); in selectVSplatMaskL() local 666 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatMaskL() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | DerivedTypes.h | 385 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); in getInteger() local 386 return VectorType::get(EltTy, VTy->getNumElements()); in getInteger() 393 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); in getExtendedElementVectorType() local 394 return VectorType::get(EltTy, VTy->getNumElements()); in getExtendedElementVectorType() 403 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); in getTruncatedElementVectorType() local 404 return VectorType::get(EltTy, VTy->getNumElements()); in getTruncatedElementVectorType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64LegalizerInfo.cpp | 72 LLT EltTy = Query.Types[0].getElementType(); in AArch64LegalizerInfo() local 73 if (EltTy == s64) in AArch64LegalizerInfo() 75 return std::make_pair(0, EltTy); in AArch64LegalizerInfo() 243 const LLT EltTy = ValTy.getElementType(); in AArch64LegalizerInfo() local 244 return EltTy.isPointer() && EltTy.getAddressSpace() == 0; in AArch64LegalizerInfo() 473 const LLT &EltTy = Ty.getElementType(); in AArch64LegalizerInfo() local 474 if (EltTy.getSizeInBits() < 8 || EltTy.getSizeInBits() > 64) in AArch64LegalizerInfo() 476 if (!isPowerOf2_32(EltTy.getSizeInBits())) in AArch64LegalizerInfo() 544 const LLT &EltTy = Query.Types[1].getElementType(); in AArch64LegalizerInfo() local 545 return Query.Types[0] != EltTy; in AArch64LegalizerInfo()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 295 Type *EltTy = cast<PointerType>(SrcAddr->getType())->getElementType(); in createMemMoveLoop() local 335 EltTy, LoopBuilder.CreateInBoundsGEP(EltTy, SrcAddr, IndexPtr), in createMemMoveLoop() 338 Element, LoopBuilder.CreateInBoundsGEP(EltTy, DstAddr, IndexPtr)); in createMemMoveLoop() 353 EltTy, FwdLoopBuilder.CreateInBoundsGEP(EltTy, SrcAddr, FwdCopyPhi), in createMemMoveLoop() 356 FwdElement, FwdLoopBuilder.CreateInBoundsGEP(EltTy, DstAddr, FwdCopyPhi)); in createMemMoveLoop()
|
D | ModuleUtils.cpp | 31 StructType *EltTy = StructType::get( in appendToGlobalArray() local 50 ConstantStruct::get(EltTy, makeArrayRef(CSVals, EltTy->getNumElements())); in appendToGlobalArray() 55 ArrayType *AT = ArrayType::get(EltTy, CurrentCtors.size()); in appendToGlobalArray()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Type.cpp | 637 PointerType *PointerType::get(Type *EltTy, unsigned AddressSpace) { in get() argument 638 assert(EltTy && "Can't get a pointer to <null> type!"); in get() 639 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get() 641 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; in get() 644 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy] in get() 645 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)]; in get() 648 Entry = new (CImpl->Alloc) PointerType(EltTy, AddressSpace); in get()
|
D | Function.cpp | 1026 Type *EltTy = DecodeFixedType(Infos, Tys, Context); in DecodeFixedType() local 1029 return VectorType::get(EltTy, VTy->getElementCount()); in DecodeFixedType() 1030 return EltTy; in DecodeFixedType() 1041 Type *EltTy = VTy->getVectorElementType(); in DecodeFixedType() local 1042 return PointerType::getUnqual(EltTy); in DecodeFixedType() 1262 Type *EltTy = Ty; in matchIntrinsicType() local 1267 EltTy = ThisArgType->getVectorElementType(); in matchIntrinsicType() 1269 return matchIntrinsicType(EltTy, Infos, ArgTys, DeferredChecks, in matchIntrinsicType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFAbstractMemberAccess.cpp | 551 auto *EltTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo() local 553 (EltTy->getSizeInBits() >> 3); in GetFieldInfo() 570 auto *EltTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo() local 571 return calcArraySize(CTy, 1) * (EltTy->getSizeInBits() >> 3); in GetFieldInfo() 624 auto *EltTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo() local 625 SizeInBits = calcArraySize(CTy, 1) * EltTy->getSizeInBits(); in GetFieldInfo() 655 auto *EltTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo() local 656 SizeInBits = calcArraySize(CTy, 1) * EltTy->getSizeInBits(); in GetFieldInfo()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
D | TGParser.cpp | 465 if (!I->getType()->typeIsA(Defset->EltTy)) { in addDefOne() 2022 RecTy *EltTy = nullptr; in ParseSimpleValue() local 2026 if (EltTy) { in ParseSimpleValue() 2027 EltTy = resolveTypes(EltTy, TArg->getType()); in ParseSimpleValue() 2028 if (!EltTy) { in ParseSimpleValue() 2033 EltTy = TArg->getType(); in ParseSimpleValue() 2039 if (EltTy) { in ParseSimpleValue() 2041 if (!EltTy->typeIsConvertibleTo(GivenEltTy)) { in ParseSimpleValue() 2046 EltTy = GivenEltTy; in ParseSimpleValue() 2049 if (!EltTy) { in ParseSimpleValue() [all …]
|
D | TGParser.h | 77 RecTy *EltTy = nullptr; member 250 Record *ArgsRec = nullptr, RecTy *EltTy = nullptr);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerInfo.h | 858 LegalizeRuleSet &clampMinNumElements(unsigned TypeIdx, const LLT &EltTy, in clampMinNumElements() argument 866 return VecTy.isVector() && VecTy.getElementType() == EltTy && in clampMinNumElements() 876 LegalizeRuleSet &clampMaxNumElements(unsigned TypeIdx, const LLT &EltTy, in clampMaxNumElements() argument 884 return VecTy.isVector() && VecTy.getElementType() == EltTy && in clampMaxNumElements() 904 const LLT &EltTy = MinTy.getElementType(); in clampNumElements() local 905 return clampMinNumElements(TypeIdx, EltTy, MinTy.getNumElements()) in clampNumElements() 906 .clampMaxNumElements(TypeIdx, EltTy, MaxTy.getNumElements()); in clampNumElements()
|
D | LegalizationArtifactCombiner.h | 641 LLT EltTy = Ty.getElementType(); in isConstantUnsupported() local 642 return isInstUnsupported({TargetOpcode::G_CONSTANT, {EltTy}}) || in isConstantUnsupported() 643 isInstUnsupported({TargetOpcode::G_BUILD_VECTOR, {Ty, EltTy}}); in isConstantUnsupported()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 102 MVT EltTy = getSimpleVT().getVectorElementType(); in changeVectorElementTypeToInteger() local 103 unsigned BitWidth = EltTy.getSizeInBits(); in changeVectorElementTypeToInteger()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineInternal.h | 249 Type *EltTy = In->getType()->getVectorElementType(); in getSafeVectorConstantForBinop() local 250 auto *SafeC = ConstantExpr::getBinOpIdentity(Opcode, EltTy, IsRHSConstant); in getSafeVectorConstantForBinop() 258 SafeC = ConstantInt::get(EltTy, 1); in getSafeVectorConstantForBinop() 261 SafeC = ConstantFP::get(EltTy, 1.0); in getSafeVectorConstantForBinop() 279 SafeC = Constant::getNullValue(EltTy); in getSafeVectorConstantForBinop()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 281 LLT EltTy = Ty.getScalarType(); in buildConstant() local 282 assert(EltTy.getScalarSizeInBits() == Val.getBitWidth() && in buildConstant() 287 .addDef(getMRI()->createGenericVirtualRegister(EltTy)) in buildConstant() 309 LLT EltTy = Ty.getScalarType(); in buildFConstant() local 312 == EltTy.getSizeInBits() && in buildFConstant() 319 .addDef(getMRI()->createGenericVirtualRegister(EltTy)) in buildFConstant()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
D | IRMover.cpp | 843 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getValueType())) in linkAppendingVarProto() local 854 if (cast<StructType>(EltTy)->getNumElements() == 3) in linkAppendingVarProto() 862 auto &ST = *cast<StructType>(EltTy); in linkAppendingVarProto() 864 EltTy = StructType::get(SrcGV->getContext(), Tys, false); in linkAppendingVarProto() 879 if (EltTy != DstTy->getElementType()) in linkAppendingVarProto() 916 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 970 for (const auto *EltTy : STy->elements()) { in promoteArguments() local 971 if (!EltTy->isSingleValueType()) { in promoteArguments() 992 for (const auto *EltTy : STy->elements()) { in promoteArguments() local 993 if (EltTy == PtrArg->getType()) { in promoteArguments()
|