Searched refs:ElTy (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DListReducer.h28 template <typename ElTy> struct ListReducer {
41 virtual Expected<TestResult> doTest(std::vector<ElTy> &Prefix,
42 std::vector<ElTy> &Kept) = 0;
47 Expected<bool> reduceList(std::vector<ElTy> &TheList) {
48 std::vector<ElTy> empty;
94 std::vector<ElTy> ShuffledList(TheList);
120 std::vector<ElTy> Prefix(TheList.begin(), TheList.begin() + Mid);
121 std::vector<ElTy> Suffix(TheList.begin() + Mid, TheList.end());
163 std::vector<ElTy> EmptyList;
183 std::vector<ElTy> TestLis
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h175 llvm::StructType *ElTy = cast<llvm::StructType>(Addr.getElementType()); local
177 const llvm::StructLayout *Layout = DL.getStructLayout(ElTy);
195 llvm::ArrayType *ElTy = cast<llvm::ArrayType>(Addr.getElementType()); local
198 CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy->getElementType()));
213 llvm::Type *ElTy = Addr.getElementType(); local
215 CharUnits EltSize = CharUnits::fromQuantity(DL.getTypeAllocSize(ElTy));
309 llvm::StructType *ElTy = cast<llvm::StructType>(Addr.getElementType()); local
311 const llvm::StructLayout *Layout = DL.getStructLayout(ElTy);
314 return Address(CreatePreserveStructAccessIndex(ElTy, Addr.getPointer(),
H A DCGDecl.cpp1231 llvm::Type *ElTy = Loc.getElementType(); local
1233 constWithPadding(CGM, IsPattern::No, llvm::Constant::getNullValue(ElTy));
1240 llvm::Type *ElTy = Loc.getElementType(); local
1242 CGM, IsPattern::Yes, initializationPatternFor(CGM, ElTy));
1725 llvm::Type *ElTy = Loc.getElementType();
1727 CGM, IsPattern::Yes, initializationPatternFor(CGM, ElTy));
H A DCGExpr.cpp3807 QualType BaseTy, QualType ElTy,
3830 CGF.ConvertTypeForMem(ElTy));
3835 CGF.CGM.getNaturalTypeAlignment(ElTy, &TypeBaseInfo, &TypeTBAAInfo);
3804 emitOMPArraySectionBase(CodeGenFunction &CGF, const Expr *Base, LValueBaseInfo &BaseInfo, TBAAAccessInfo &TBAAInfo, QualType BaseTy, QualType ElTy, bool IsLowerBound) argument
H A DCGOpenMPRuntime.cpp925 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, argument
929 !CGF.getContext().hasSameType(BaseTy, ElTy)) {
940 CGF.ConvertTypeForMem(ElTy)),
945 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, argument
953 !CGF.getContext().hasSameType(BaseTy, ElTy)) {
H A DCGExprScalar.cpp3995 QualType ElTy = LHSTy->castAs<VectorType>()->getElementType(); local
3996 BuiltinType::Kind ElementKind = ElTy->castAs<BuiltinType>()->getKind();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp284 Type *ElTy = V->getType(); local
289 (ElTy->isStructTy() ? Type::getInt32Ty(F->getContext())
293 if (auto *ElPTy = dyn_cast<PointerType>(ElTy))
294 ElTy = ElPTy->getElementType();
296 ElTy = GetElementPtrInst::getTypeAtIndex(ElTy, II);
795 Type *ElTy = StructTy->getElementType(i); local
796 if (!isDenselyPacked(ElTy, DL))
800 StartPos += DL.getTypeAllocSizeInBits(ElTy);
H A DGlobalOpt.cpp529 Type *ElTy = nullptr;
531 ElTy = STy->getElementType(ElementIdx);
533 ElTy = GetSRASequentialElementType(Ty);
534 assert(ElTy);
540 ElTy, false, GlobalVariable::InternalLinkage, In,
563 uint64_t EltSize = DL.getTypeAllocSize(ElTy);
564 Align EltAlign = DL.getABITypeAlign(ElTy);
565 uint64_t FragmentSizeInBits = DL.getTypeAllocSizeInBits(ElTy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp235 Type *ElTy = cast<PointerType>(Pointer->getType())->getElementType(); local
236 if (ElTy->isSized())
237 Size = LocationSize::precise(DL.getTypeStoreSize(ElTy));
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h559 FixedVectorType(Type *ElTy, unsigned NumElts) argument
560 : VectorType(ElTy, NumElts, FixedVectorTyID) {}
604 ScalableVectorType(Type *ElTy, unsigned MinNumElts) argument
605 : VectorType(ElTy, MinNumElts, ScalableVectorTyID) {}
H A DIRBuilder.h2500 Value *CreatePreserveArrayAccessIndex(Type *ElTy, Value *Base,
2507 Value *CreatePreserveStructAccessIndex(Type *ElTy, Value *Base,
H A DInstructions.h1072 static Type *getGEPReturnType(Type *ElTy, Value *Ptr, argument
1074 Type *PtrTy = PointerType::get(checkGEPType(getIndexedType(ElTy, IdxList)),
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp3427 Type *ElTy = local
3429 Assert(ElTy, "Invalid indices for GEP pointer type!", &GEP);
3432 GEP.getResultElementType() == ElTy,
3433 "GEP is not of right type for indices!", &GEP, ElTy);
3524 Type *ElTy = LI.getType(); local
3527 Assert(ElTy->isSized(), "loading unsized types is not allowed", &LI);
3534 Assert(ElTy->isIntOrPtrTy() || ElTy->isFloatingPointTy(),
3537 ElTy, &LI);
3538 checkAtomicMemAccessSize(ElTy,
3550 Type *ElTy = PTy->getElementType(); local
3649 Type *ElTy = PTy->getElementType(); local
3669 Type *ElTy = PTy->getElementType(); local
[all...]
H A DIRBuilder.cpp1038 Type *ElTy, Value *Base, unsigned Dimension, unsigned LastIndex,
1052 GetElementPtrInst::getGEPReturnType(ElTy, Base, IdxList);
1087 Type *ElTy, Value *Base, unsigned Index, unsigned FieldIndex,
1096 GetElementPtrInst::getGEPReturnType(ElTy, Base, {Zero, GEPIndex});
1037 CreatePreserveArrayAccessIndex( Type *ElTy, Value *Base, unsigned Dimension, unsigned LastIndex, MDNode *DbgInfo) argument
1086 CreatePreserveStructAccessIndex( Type *ElTy, Value *Base, unsigned Index, unsigned FieldIndex, MDNode *DbgInfo) argument
H A DConstantFold.cpp126 Type *ElTy = PTy->getElementType(); local
127 while (ElTy && ElTy != DPTy->getElementType()) {
128 ElTy = GetElementPtrInst::getTypeAtIndex(ElTy, (uint64_t)0);
132 if (ElTy == DPTy->getElementType())
1492 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { argument
1514 if (isMaybeZeroSizedType(ElTy))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp158 auto ElTy = VecTy->getElementType(); local
160 return (Twine(getTypeName(ElTy, Signed)) + Twine(NumElements)).str();
571 auto ElTy = VecTy->getElementType(); local
573 return (Twine(getTypeName(ElTy, Signed)) + Twine(NumElements)).str();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp415 Type *ElTy = OriginalElTy; local
435 if (ElTy->isSized()) {
436 const SCEV *ElSize = SE.getSizeOfExpr(IntIdxTy, ElTy);
471 while (StructType *STy = dyn_cast<StructType>(ElTy)) {
487 ElTy = STy->getTypeAtIndex(ElIdx);
498 ElTy = STy->getTypeAtIndex(0u);
504 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy))
505 ElTy = ATy->getElementType();
508 // E.g., If ElTy is scalable vector, then ElSize is not a compile-time
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp282 Type *ElTy = cast<VectorType>(PtrTy->getElementType())->getElementType(); local
284 Type *NewPtrTy = PointerType::get(ElTy, PtrTy->getAddressSpace());
288 CV[I] = Builder.CreateConstGEP1_32(ElTy, CV[0], I,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp110 Type *ElTy = GV->getValueType(); local
111 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy);
1316 Type *ElTy = GV->getValueType(); local
1317 size_t GVSize = (size_t)getDataLayout().getTypeAllocSize(ElTy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp675 Type *ElTy = OpTy->getScalarType(); local
676 return FixedVectorType::get(ElTy, VF);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp1118 Type *ElTy = cast<PointerType>(InpTy->getScalarType())->getElementType(); local
1119 NewInst = GetElementPtrInst::Create(ElTy, Input, A, "cgep", &*At);
H A DHexagonISelLowering.cpp1983 // The intrinsic function call is of the form { ElTy, i8* }
1985 // should be derived from ElTy.
1986 Type *ElTy = I.getCalledFunction()->getReturnType()->getStructElementType(0); local
1987 Info.memVT = MVT::getVT(ElTy);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp3902 QualType ElTy;
3905 ElTy = ArrTy->getElementType();
3906 else if (!S.isStdInitializerList(AdjustedParamType, &ElTy)) {
3919 if (ElTy->isDependentType()) {
3922 S, TemplateParams, 0, ElTy, E, Info, Deduced, OriginalCallArgs, true,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp615 Type *ElTy = cast<PointerType>(FullTy)->getElementType(); local
616 return std::make_pair(ElTy, flattenPointerTypes(ElTy));
2648 Type *ElTy = getTypeByID(Record[OpNum++]); local
2649 if (!ElTy)
2651 Elts.push_back(ValueList.getConstantFwdRef(Record[OpNum++], ElTy));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp952 Type *ElTy = Cond->getType();
959 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) {

Completed in 335 milliseconds

12