Home
last modified time | relevance | path

Searched refs:LoadType (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp98 Type *LoadType = getLoadStoreType(Load); in isDependenceDistanceOfOne() local
103 DL.getTypeSizeInBits(LoadType) == in isDependenceDistanceOfOne()
107 int64_t StrideLoad = getPtrStride(PSE, LoadType, LoadPtr, L).value_or(0); in isDependenceDistanceOfOne()
108 int64_t StrideStore = getPtrStride(PSE, LoadType, StorePtr, L).value_or(0); in isDependenceDistanceOfOne()
122 unsigned TypeByteSize = DL.getTypeAllocSize(const_cast<Type *>(LoadType)); in isDependenceDistanceOfOne()
451 Type *LoadType = Initial->getType(); in propagateStoredValueToLoadUsers() local
456 assert(DL.getTypeSizeInBits(LoadType) == DL.getTypeSizeInBits(StoreType) && in propagateStoredValueToLoadUsers()
460 if (LoadType != StoreType) in propagateStoredValueToLoadUsers()
462 StoreValue, LoadType, "store_forward_cast", Cand.Store); in propagateStoredValueToLoadUsers()
H A DNewGVN.cpp1357 LoadExpression *NewGVN::createLoadExpression(Type *LoadType, Value *PointerOp, in createLoadExpression() argument
1363 E->setType(LoadType); in createLoadExpression()
1445 NewGVN::performSymbolicLoadCoercion(Type *LoadType, Value *LoadPtr, in performSymbolicLoadCoercion() argument
1454 LoadType == DepSI->getValueOperand()->getType()) in performSymbolicLoadCoercion()
1456 int Offset = analyzeLoadFromClobberingStore(LoadType, LoadPtr, DepSI, DL); in performSymbolicLoadCoercion()
1471 int Offset = analyzeLoadFromClobberingLoad(LoadType, LoadPtr, DepLI, DL); in performSymbolicLoadCoercion()
1476 getConstantValueForLoad(C, Offset, LoadType, DL)) { in performSymbolicLoadCoercion()
1486 getConstantMemInstValueForLoad(DepMI, Offset, LoadType, DL)) { in performSymbolicLoadCoercion()
1504 return createConstantExpression(UndefValue::get(LoadType)); in performSymbolicLoadCoercion()
1510 return createConstantExpression(UndefValue::get(LoadType)); in performSymbolicLoadCoercion()
[all …]
H A DSROA.cpp1586 Type *LoadType = nullptr; in isSafePHIToSpeculate() local
1598 if (LoadType) { in isSafePHIToSpeculate()
1599 if (LoadType != LI->getType()) in isSafePHIToSpeculate()
1602 LoadType = LI->getType(); in isSafePHIToSpeculate()
1614 if (!LoadType) in isSafePHIToSpeculate()
1618 APInt(APWidth, DL.getTypeStoreSize(LoadType).getFixedValue()); in isSafePHIToSpeculate()
H A DGVN.cpp1201 Type *LoadType = Load->getType(); in AnalyzeLoadAvailability() local
1206 canCoerceMustAliasedValueToLoad(DepLoad, LoadType, DL)) { in AnalyzeLoadAvailability()
1215 analyzeLoadFromClobberingLoad(LoadType, Address, DepLoad, DL); in AnalyzeLoadAvailability()
/freebsd-14.2/contrib/llvm-project/lld/MachO/
H A DDriver.cpp260 enum class LoadType { enum
273 static InputFile *addFile(StringRef path, LoadType loadType, in addFile()
323 case LoadType::LCLinkerOption: in addFile()
326 case LoadType::CommandLineForce: in addFile()
329 case LoadType::CommandLine: in addFile()
418 LoadType loadType) { in addLibrary()
434 if (loadType == LoadType::LCLinkerOption) { in addLibrary()
471 if (loadType == LoadType::LCLinkerOption) { in addFramework()
530 LoadType::LCLinkerOption); in resolveLCLinkerOptions()
544 addFile(rerootPath(path), LoadType::CommandLine, isLazy); in addFileList()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoopIdiomTransform.cpp400 Type *LoadType = Type::getInt8Ty(Ctx); in expandFindMismatch() local
514 Value *LhsStartGEP = Builder.CreateGEP(LoadType, PtrA, ExtStart); in expandFindMismatch()
515 Value *RhsStartGEP = Builder.CreateGEP(LoadType, PtrB, ExtStart); in expandFindMismatch()
518 Value *LhsEndGEP = Builder.CreateGEP(LoadType, PtrA, ExtEnd); in expandFindMismatch()
519 Value *RhsEndGEP = Builder.CreateGEP(LoadType, PtrB, ExtEnd); in expandFindMismatch()
583 Value *SVELhsGep = Builder.CreateGEP(LoadType, PtrA, SVEIndexPhi); in expandFindMismatch()
589 Value *SVERhsGep = Builder.CreateGEP(LoadType, PtrB, SVEIndexPhi); in expandFindMismatch()
667 Value *LhsGep = Builder.CreateGEP(LoadType, PtrA, GepOffset); in expandFindMismatch()
670 Value *LhsLoad = Builder.CreateLoad(LoadType, LhsGep); in expandFindMismatch()
672 Value *RhsGep = Builder.CreateGEP(LoadType, PtrB, GepOffset); in expandFindMismatch()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h1251 Type *LoadType = U->getType(); in getInstructionCost() local
1260 !LoadType->isVectorTy()) { in getInstructionCost()
1262 LoadType = TI->getDestTy(); in getInstructionCost()
1264 return TargetTTI->getMemoryOpCost(Opcode, LoadType, LI->getAlign(), in getInstructionCost()