/freebsd-13-stable/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | ListReducer.h | 28 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 D | CGBuilder.h | 175 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 D | CGDecl.cpp | 1231 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 D | CGExpr.cpp | 3807 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 D | CGOpenMPRuntime.cpp | 925 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 D | CGExprScalar.cpp | 3995 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 D | ArgumentPromotion.cpp | 284 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 D | GlobalOpt.cpp | 529 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 D | AliasAnalysisEvaluator.cpp | 235 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 D | DerivedTypes.h | 559 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 D | IRBuilder.h | 2500 Value *CreatePreserveArrayAccessIndex(Type *ElTy, Value *Base, 2507 Value *CreatePreserveStructAccessIndex(Type *ElTy, Value *Base,
|
H A D | Instructions.h | 1072 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 D | Verifier.cpp | 3427 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 D | IRBuilder.cpp | 1038 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 D | ConstantFold.cpp | 126 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 D | AMDGPUHSAMetadataStreamer.cpp | 158 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 D | ScalarEvolutionExpander.cpp | 415 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 D | Scalarizer.cpp | 282 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 D | ExecutionEngine.cpp | 110 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 D | SystemZTargetTransformInfo.cpp | 675 Type *ElTy = OpTy->getScalarType(); local 676 return FixedVectorType::get(ElTy, VF);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 1118 Type *ElTy = cast<PointerType>(InpTy->getScalarType())->getElementType(); local 1119 NewInst = GetElementPtrInst::Create(ElTy, Input, A, "cgep", &*At);
|
H A D | HexagonISelLowering.cpp | 1983 // 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 D | SemaTemplateDeduction.cpp | 3902 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 D | BitcodeReader.cpp | 615 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 D | Execution.cpp | 952 Type *ElTy = Cond->getType(); 959 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) {
|