Home
last modified time | relevance | path

Searched refs:ElementTy (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dtest_vector_ops_main.cpp30 typedef typename VectorOps<T>::ElementTy ElementTy; in getTestVectors() typedef
39 Incr[I] = (ElementTy)I; in getTestVectors()
42 Decr[I] = (ElementTy)-I; in getTestVectors()
45 Min[I] = std::numeric_limits<ElementTy>::min(); in getTestVectors()
48 Max[I] = std::numeric_limits<ElementTy>::max(); in getTestVectors()
68 typedef typename VectorOps<T>::ElementTy ElementTy; in testInsertElement() typedef
73 ElementTy TestElements[] = {0, 1, std::numeric_limits<ElementTy>::min(), in testInsertElement()
74 std::numeric_limits<ElementTy>::max()}; in testInsertElement()
75 const size_t NumTestElements = sizeof(TestElements) / sizeof(ElementTy); in testInsertElement()
80 ElementTy Elt = TestElements[EI]; in testInsertElement()
[all …]
Dvectors.h63 typedef ELTTY ElementTy; \
Dtest_icmp_main.cpp191 typedef typename Vectors<TypeUnsignedLabel>::ElementTy ElementTypeUnsigned; in testsVecInt()
192 typedef typename Vectors<TypeSignedLabel>::ElementTy ElementTypeSigned; in testsVecInt()
Dtest_arith_main.cpp173 typedef typename Vectors<TypeUnsignedLabel>::ElementTy ElementTypeUnsigned; in testsVecInt()
174 typedef typename Vectors<TypeSignedLabel>::ElementTy ElementTypeSigned; in testsVecInt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp1434 Type *ElementTy = Ty; in getNaturalGEPWithType() local
1436 if (ElementTy->isPointerTy()) in getNaturalGEPWithType()
1439 if (ArrayType *ArrayTy = dyn_cast<ArrayType>(ElementTy)) { in getNaturalGEPWithType()
1440 ElementTy = ArrayTy->getElementType(); in getNaturalGEPWithType()
1442 } else if (VectorType *VectorTy = dyn_cast<VectorType>(ElementTy)) { in getNaturalGEPWithType()
1443 ElementTy = VectorTy->getElementType(); in getNaturalGEPWithType()
1445 } else if (StructType *STy = dyn_cast<StructType>(ElementTy)) { in getNaturalGEPWithType()
1448 ElementTy = *STy->element_begin(); in getNaturalGEPWithType()
1454 } while (ElementTy != TargetTy); in getNaturalGEPWithType()
1455 if (ElementTy != TargetTy) in getNaturalGEPWithType()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h702 template <typename ElementTy>
703 static Constant *get(LLVMContext &Context, ArrayRef<ElementTy> Elts) {
705 return getRaw(StringRef(Data, Elts.size() * sizeof(ElementTy)), Elts.size(),
706 Type::getScalarTy<ElementTy>(Context));
722 static Constant *getRaw(StringRef Data, uint64_t NumElements, Type *ElementTy) {
723 Type *Ty = ArrayType::get(ElementTy, NumElements);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp101 Type *ElementTy = cast<PointerType>(Arg.Ty)->getElementType(); in setArgFlags() local
104 Flags.setByValSize(DL.getTypeAllocSize(Ty ? Ty : ElementTy)); in setArgFlags()
112 FrameAlign = getTLI()->getByValTypeAlignment(ElementTy, DL); in setArgFlags()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLowering.h494 const auto ElementTy = typeElementType(Src->getType()); in scalarizeInstruction()
495 auto *Op = Func->makeVariable(ElementTy); in scalarizeInstruction()
DIceTargetLoweringX8664.cpp2701 Type ElementTy = typeElementType(Ty); in lowerExtractElement() local
2758 if (ElementTy == IceType_i1) { in lowerExtractElement()
3202 Type ElementTy = typeElementType(Ty); in lowerInsertElement() local
3205 if (ElementTy == IceType_i1) { in lowerInsertElement()
DIceTargetLoweringX8632.cpp2998 Type ElementTy = typeElementType(Ty); in lowerExtractElement() local
3055 if (ElementTy == IceType_i1) { in lowerExtractElement()
3646 Type ElementTy = typeElementType(Ty); in lowerInsertElement() local
3649 if (ElementTy == IceType_i1) { in lowerInsertElement()
DIceInstX8632.h998 Type ElementTy = typeElementType(Ty); in emitIAS() local
1000 emitIASXmmShift(Func, ElementTy, this->getDest(), this->getSrc(1), Emitter); in emitIAS()
DIceInstX8664.h937 Type ElementTy = typeElementType(Ty); in emitIAS() local
939 emitIASXmmShift(Func, ElementTy, this->getDest(), this->getSrc(1), Emitter); in emitIAS()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1208 Type *ElementTy = Ty->getElementType(); in lowerCallTo() local
1210 DL.getTypeAllocSize(Arg.ByValType ? Arg.ByValType : ElementTy); in lowerCallTo()
1216 FrameAlign = TLI.getByValTypeAlignment(ElementTy, DL); in lowerCallTo()
DSelectionDAGBuilder.cpp9228 Type *ElementTy = Ty->getElementType(); in LowerCallTo() local
9231 Args[i].ByValType ? Args[i].ByValType : ElementTy); in LowerCallTo()
9239 FrameAlign = getByValTypeAlignment(ElementTy, DL); in LowerCallTo()
9734 Type *ElementTy = Arg.getParamByValType(); in LowerArguments() local
9746 FrameAlign = TLI->getByValTypeAlignment(ElementTy, DL); in LowerArguments()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp991 template <typename SequentialTy, typename ElementTy>
995 SmallVector<ElementTy, 16> Elts; in getIntSequenceIfElementsMatch()
1004 template <typename SequentialTy, typename ElementTy>
1008 SmallVector<ElementTy, 16> Elts; in getFPSequenceIfElementsMatch()
DCore.cpp1397 LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, in LLVMConstArray() argument
1400 return wrap(ConstantArray::get(ArrayType::get(unwrap(ElementTy), Length), V)); in LLVMConstArray()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp4500 Type *ElementTy = A->getType()->getArrayElementType(); in visitCallSite() local
4501 if (!ElementTy->isPPC_FP128Ty()) in visitCallSite()
4502 ArgAlign = DL.getTypeAllocSize(ElementTy); in visitCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h2021 LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp831 Type *ElementTy = Ty->getElementType(); in LowerCall_32() local
832 SRetArgSize = DAG.getDataLayout().getTypeAllocSize(ElementTy); in LowerCall_32()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp10514 MVT ElementTy = NarrowTy.getVectorElementType(); in tryExtendDUPToExtractHigh() local
10516 MVT NewVT = MVT::getVectorVT(ElementTy, NumElems * 2); in tryExtendDUPToExtractHigh()