| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopLoadElimination.cpp | 96 Type *LoadType = getLoadStoreType(Load); in isDependenceDistanceOfOne() local 101 DL.getTypeSizeInBits(LoadType) == in isDependenceDistanceOfOne() 105 int64_t StrideLoad = getPtrStride(PSE, LoadType, LoadPtr, L).value_or(0); in isDependenceDistanceOfOne() 106 int64_t StrideStore = getPtrStride(PSE, LoadType, StorePtr, L).value_or(0); in isDependenceDistanceOfOne() 120 unsigned TypeByteSize = DL.getTypeAllocSize(const_cast<Type *>(LoadType)); in isDependenceDistanceOfOne() 459 Type *LoadType = Initial->getType(); in propagateStoredValueToLoadUsers() local 464 assert(DL.getTypeSizeInBits(LoadType) == DL.getTypeSizeInBits(StoreType) && in propagateStoredValueToLoadUsers() 468 if (LoadType != StoreType) { in propagateStoredValueToLoadUsers() 469 StoreValue = CastInst::CreateBitOrPointerCast(StoreValue, LoadType, in propagateStoredValueToLoadUsers()
|
| H A D | NewGVN.cpp | 1398 LoadExpression *NewGVN::createLoadExpression(Type *LoadType, Value *PointerOp, in createLoadExpression() argument 1404 E->setType(LoadType); in createLoadExpression() 1486 NewGVN::performSymbolicLoadCoercion(Type *LoadType, Value *LoadPtr, in performSymbolicLoadCoercion() argument 1495 LoadType == DepSI->getValueOperand()->getType()) in performSymbolicLoadCoercion() 1497 int Offset = analyzeLoadFromClobberingStore(LoadType, LoadPtr, DepSI, DL); in performSymbolicLoadCoercion() 1501 if (Constant *Res = getConstantValueForLoad(C, Offset, LoadType, DL)) { in performSymbolicLoadCoercion() 1512 int Offset = analyzeLoadFromClobberingLoad(LoadType, LoadPtr, DepLI, DL); in performSymbolicLoadCoercion() 1517 getConstantValueForLoad(C, Offset, LoadType, DL)) { in performSymbolicLoadCoercion() 1524 int Offset = analyzeLoadFromClobberingMemInst(LoadType, LoadPtr, DepMI, DL); in performSymbolicLoadCoercion() 1527 getConstantMemInstValueForLoad(DepMI, Offset, LoadType, DL)) { in performSymbolicLoadCoercion() [all …]
|
| H A D | SROA.cpp | 1566 Type *LoadType = nullptr; in isSafePHIToSpeculate() local 1578 if (LoadType) { in isSafePHIToSpeculate() 1579 if (LoadType != LI->getType()) in isSafePHIToSpeculate() 1582 LoadType = LI->getType(); in isSafePHIToSpeculate() 1594 if (!LoadType) in isSafePHIToSpeculate() 1598 APInt(APWidth, DL.getTypeStoreSize(LoadType).getFixedValue()); in isSafePHIToSpeculate()
|
| H A D | GVN.cpp | 1359 Type *LoadType = Load->getType(); in AnalyzeLoadAvailability() local 1364 canCoerceMustAliasedValueToLoad(DepLoad, LoadType, in AnalyzeLoadAvailability() 1374 analyzeLoadFromClobberingLoad(LoadType, Address, DepLoad, DL); in AnalyzeLoadAvailability()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILResourceAccess.cpp | 58 Type *LoadType = StructType::get(ContainedType, Builder.getInt1Ty()); in createTypedBufferStore() local 68 LoadType, Intrinsic::dx_resource_load_typedbuffer, in createTypedBufferStore() 135 Type *LoadType = StructType::get(ContainedType, Builder.getInt1Ty()); in createTypedBufferLoad() local 138 Builder.CreateIntrinsic(LoadType, Intrinsic::dx_resource_load_typedbuffer, in createTypedBufferLoad() 158 Type *LoadType = StructType::get(LI->getType(), Builder.getInt1Ty()); in createRawLoad() local 162 Builder.CreateIntrinsic(LoadType, Intrinsic::dx_resource_load_rawbuffer, in createRawLoad()
|
| H A D | DXILIntrinsicExpansion.cpp | 585 Type *LoadType = StructType::get(Ty, Builder.getInt1Ty()); in expandBufferLoadIntrinsic() local 594 CallInst *Load = Builder.CreateIntrinsic(LoadType, LoadIntrinsic, Args); in expandBufferLoadIntrinsic()
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | Driver.cpp | 258 enum class LoadType { enum 285 static InputFile *addFile(StringRef path, LoadType loadType, in addFile() 298 bool isCommandLineLoad = loadType != LoadType::LCLinkerOption; in addFile() 326 bool isLCLinkerForceLoad = loadType == LoadType::LCLinkerOption && in addFile() 330 loadType == LoadType::CommandLineForce || isLCLinkerForceLoad) { in addFile() 336 case LoadType::LCLinkerOption: in addFile() 339 case LoadType::CommandLineForce: in addFile() 342 case LoadType::CommandLine: in addFile() 447 LoadType loadType) { in addLibrary() 463 if (loadType == LoadType::LCLinkerOption) { in addLibrary() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopIdiomVectorize.cpp | 430 Type *LoadType = Builder.getInt8Ty(); in createMaskedFindMismatch() local 466 Builder.CreateGEP(LoadType, PtrA, VectorIndexPhi, "", GEPA->isInBounds()); in createMaskedFindMismatch() 471 Builder.CreateGEP(LoadType, PtrB, VectorIndexPhi, "", GEPB->isInBounds()); in createMaskedFindMismatch() 535 Type *LoadType = Builder.getInt8Ty(); in createPredicatedFindMismatch() local 555 auto *VectorLoadType = ScalableVectorType::get(LoadType, ByteCompareVF); in createPredicatedFindMismatch() 563 Builder.CreateGEP(LoadType, PtrA, GepOffset, "", GEPA->isInBounds()); in createPredicatedFindMismatch() 572 Builder.CreateGEP(LoadType, PtrB, GepOffset, "", GEPB->isInBounds()); in createPredicatedFindMismatch() 642 Type *LoadType = Type::getInt8Ty(Ctx); in expandFindMismatch() local 756 Value *LhsStartGEP = Builder.CreateGEP(LoadType, PtrA, ExtStart); in expandFindMismatch() 757 Value *RhsStartGEP = Builder.CreateGEP(LoadType, PtrB, ExtStart); in expandFindMismatch() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 1467 Type *LoadType = U->getType(); in getInstructionCost() local 1476 !LoadType->isVectorTy()) { in getInstructionCost() 1478 LoadType = TI->getDestTy(); in getInstructionCost() 1480 return TargetTTI->getMemoryOpCost(Opcode, LoadType, LI->getAlign(), in getInstructionCost()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 635 llvm::Type *LoadType = in AppendBitField() local 638 C, LoadType, llvm::APInt::getZero(32), CGM.getDataLayout()); in AppendBitField()
|
| H A D | CGDecl.cpp | 2035 llvm::Type *LoadType = in EmitAutoVarInit() local 2038 constant, LoadType, llvm::APInt::getZero(32), CGM.getDataLayout()); in EmitAutoVarInit()
|