| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | GVN.cpp | 214 Res.Val = Load; in getLoad() 927 SSAUpdate.Initialize(Load->getType(), Load->getName()); in ConstructSSAForLoadSet() 1142 Load->getParent(), Load->getIterator(), Address, Load->getType(), in AnalyzeLoadAvailability() 1340 new LoadInst(Load->getType(), LoadPtr, Load->getName() + ".pre", in eliminatePartiallyRedundantLoad() 1341 Load->isVolatile(), Load->getAlign(), Load->getOrdering(), in eliminatePartiallyRedundantLoad() 1392 Load->replaceAllUsesWith(V); in eliminatePartiallyRedundantLoad() 1394 V->takeName(Load); in eliminatePartiallyRedundantLoad() 1792 V->takeName(Load); in processNonLocalLoad() 1797 if (Load->getDebugLoc() && Load->getParent() == I->getParent()) in processNonLocalLoad() 2472 if (processLoad(Load)) in processInstruction() [all …]
|
| H A D | LoopLoadElimination.cpp | 88 LoadInst *Load; member 92 : Load(Load), Store(Store) {} in StoreToLoadForwardingCandidate() 100 Type *LoadType = getLoadStoreType(Load); in isDependenceDistanceOfOne() 134 OS.indent(2) << *Cand.Load << "\n"; in operator <<() 155 return Load->getParent() != L->getHeader(); in isLoadConditional() 211 if (!Load) in findStoreToLoadDependences() 219 Candidates.emplace_front(Load, Store); in findStoreToLoadDependences() 346 return getInstrIndex(A.Load) < getInstrIndex(B.Load); in findPointersWrittenOnForwardingPath() 348 ->Load; in findPointersWrittenOnForwardingPath() 443 Cand.Load->replaceAllUsesWith(PHI); in propagateStoredValueToLoadUsers() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | 2013-10-14-FastISel-incorrect-vreg.ll | 24 ; Load the function pointer. 26 ; Load the third argument 28 ; Load the first argument 30 ; Load the second argument 61 ; Load the function pointer. 63 ; Load the third argument 65 ; Load the first argument 67 ; Load the second argument 102 ; Load the third argument 104 ; Load the first argument [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/AArch64/ |
| H A D | macho-private-headers.test | 8 CHECK: Load command 0 46 CHECK: Load command 1 51 CHECK: Load command 2 58 CHECK: Load command 3 83 EXE: Load command 0 95 EXE: Load command 1 172 EXE: Load command 2 210 EXE: Load command 3 222 EXE: Load command 4 235 EXE: Load command 5 [all …]
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | MachOObjectFile.cpp | 629 *LoadCmd = Load.Ptr; in checkLinkeditDataCommand() 728 *LoadCmd = Load.Ptr; in checkDyldInfoCommand() 777 *LoadCmd = Load.Ptr; in checkDylibIdCommand() 824 *LoadCmd = Load.Ptr; in checkVersCommand() 866 if (Load.C.cmdsize != in parseBuildVersionCommand() 932 *LoadCmd = Load.Ptr; in checkEncryptCommand() 996 if (i >= Load.C.cmdsize) in checkSubCommand() 1226 *LoadCmd = Load.Ptr; in checkTwoLevelHintsCommand() 1295 LoadCommandInfo Load; in MachOObjectFile() local 1298 Load = *LoadOrErr; in MachOObjectFile() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/ |
| H A D | private-headers.test | 35 CHECK: Load command 0 131 EXE: Load command 0 143 EXE: Load command 1 233 EXE: Load command 2 271 EXE: Load command 3 283 EXE: Load command 4 296 EXE: Load command 5 303 EXE: Load command 6 324 EXE: Load command 7 328 EXE: Load command 8 [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Transforms/ |
| H A D | abi-load-store.mlir | 65 %1 = spv.Load "Input" %0 : vector<3xi32> 68 %4 = spv.Load "Input" %3 : vector<3xi32> 71 %7 = spv.Load "Input" %6 : vector<3xi32> 74 %10 = spv.Load "Input" %9 : vector<3xi32> 77 %13 = spv.Load "Input" %12 : vector<3xi32> 80 %16 = spv.Load "Input" %15 : vector<3xi32> 83 %19 = spv.Load "Input" %18 : vector<3xi32> 86 %22 = spv.Load "Input" %21 : vector<3xi32> 89 %25 = spv.Load "Input" %24 : vector<3xi32> 107 %39 = spv.Load "StorageBuffer" %38 : f32 [all …]
|
| H A D | unify-aliased-resource.mlir | 11 %value = spv.Load "StorageBuffer" %ac : f32 30 // CHECK: spv.Load "StorageBuffer" %[[AC]] 43 %val0 = spv.Load "StorageBuffer" %ac0 : f32 45 %val1 = spv.Load "StorageBuffer" %ac1 : f32 72 %value = spv.Load "StorageBuffer" %ac : f32 93 %value = spv.Load "StorageBuffer" %ac : f32 118 %val0 = spv.Load "StorageBuffer" %ac0 : f32 122 %val1 = spv.Load "StorageBuffer" %ac1 : f32 126 %val2 = spv.Load "StorageBuffer" %ac2 : f32 159 %val0 = spv.Load "StorageBuffer" %ac0 : i32 [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelAttributes.cpp | 99 auto *Load = dyn_cast<LoadInst>(*BCI->user_begin()); in processUse() local 100 if (!Load || !Load->isSimple()) in processUse() 103 unsigned LoadSize = DL.getTypeStoreSize(Load->getType()); in processUse() 109 WorkGroupSizeX = Load; in processUse() 113 WorkGroupSizeY = Load; in processUse() 117 WorkGroupSizeZ = Load; in processUse() 121 GridSizeX = Load; in processUse() 125 GridSizeY = Load; in processUse() 129 GridSizeZ = Load; in processUse()
|
| H A D | AMDGPULowerKernelArguments.cpp | 175 LoadInst *Load = in runOnFunction() local 177 Load->setMetadata(LLVMContext::MD_invariant_load, MDNode::get(Ctx, {})); in runOnFunction() 183 Load->setMetadata(LLVMContext::MD_nonnull, MDNode::get(Ctx, {})); in runOnFunction() 187 Load->setMetadata( in runOnFunction() 196 Load->setMetadata( in runOnFunction() 205 Load->setMetadata( in runOnFunction() 217 Load : Builder.CreateLShr(Load, OffsetDiff * 8); in runOnFunction() 225 Value *Shuf = Builder.CreateShuffleVector(Load, ArrayRef<int>{0, 1, 2}, in runOnFunction() 229 Load->setName(Arg.getName() + ".load"); in runOnFunction() 230 Arg.replaceAllUsesWith(Load); in runOnFunction()
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/ |
| H A D | memory-ops.mlir | 26 %2 = spv.Load "Function" %1 ["Volatile"] : f32 158 %1 = spv.Load "Function" %0 : f32 166 %1 = spv.Load "Function" %0 ["None"] : f32 199 // CHECK: spv.Load 208 // CHECK: spv.Load 217 // CHECK: spv.Load 226 // CHECK: spv.Load 237 %1 = spv.Load %0 : f32 246 %1 = spv.Load "Function" : f32 255 %1 = spv.Load "Function" %0 [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/ARM/ |
| H A D | private-headers.test | 10 CHECK: Load command 0 132 EXE: Load command 0 144 EXE: Load command 1 208 EXE: Load command 2 246 EXE: Load command 3 258 EXE: Load command 4 271 EXE: Load command 5 278 EXE: Load command 6 299 EXE: Load command 7 303 EXE: Load command 8 [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | RelLookupTableConverter.cpp | 42 LoadInst *Load = dyn_cast<LoadInst>(GEP->use_begin()->getUser()); in shouldConvertToRelLookupTable() local 43 if (!Load || !Load->hasOneUse() || in shouldConvertToRelLookupTable() 44 Load->getType() != GEP->getResultElementType()) in shouldConvertToRelLookupTable() 133 LoadInst *Load = cast<LoadInst>(GEP->use_begin()->getUser()); in convertToRelLookupTable() local 153 Builder.SetInsertPoint(Load); in convertToRelLookupTable() 164 if (Load->getType() != Builder.getInt8PtrTy()) in convertToRelLookupTable() 165 Result = Builder.CreateBitCast(Result, Load->getType(), "reltable.bitcast"); in convertToRelLookupTable() 168 Load->replaceAllUsesWith(Result); in convertToRelLookupTable() 170 Load->eraseFromParent(); in convertToRelLookupTable()
|
| /llvm-project-15.0.7/llvm/test/Instrumentation/MemorySanitizer/ |
| H A D | msan_kernel_basic.ll | 48 ; Load the shadow of %p and check it 77 ; Load the shadow of %p and check it 109 ; Load the shadow of %p and check it 140 ; Load the shadow of %p and check it 171 ; Load the shadow of %p and check it 205 ; Load the shadow of %p and check it 214 ; Load the shadow and origin. 240 ; Load the shadow and origin. 266 ; Load the shadow and origin. 291 ; Load the shadow and origin. [all …]
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | loop.mlir | 22 // CHECK-NEXT: spv.Load 23 %val0 = spv.Load "Function" %var : i32 37 // CHECK-NEXT: spv.Load 38 %val1 = spv.Load "Function" %var : i32 92 %12 = spv.Load "StorageBuffer" %11 : f32 134 // CHECK-NEXT: spv.Load 135 %ival0 = spv.Load "Function" %ivar : i32 155 // CHECK-NEXT: spv.Load 170 // CHECK-NEXT: spv.Load 191 // CHECK-NEXT: spv.Load [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | SVEIntrinsicOpts.cpp | 376 auto *Load = dyn_cast<LoadInst>(IntrI->getOperand(1)); in optimizePredicateLoad() local 377 if (!Load || !Load->isSimple()) in optimizePredicateLoad() 381 if (Load->getType() != FixedPredType) in optimizePredicateLoad() 385 Builder.SetInsertPoint(Load); in optimizePredicateLoad() 388 Load->getPointerOperand(), in optimizePredicateLoad() 389 PredType->getPointerTo(Load->getPointerAddressSpace())); in optimizePredicateLoad() 396 if (Load->getNumUses() == 0) in optimizePredicateLoad() 397 Load->eraseFromParent(); in optimizePredicateLoad()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCContract.cpp | 202 MemoryLocation Loc = MemoryLocation::get(Load); in findSafeStoreForStoreStrongContraction() 206 for (auto I = std::next(BasicBlock::iterator(Load)), in findSafeStoreForStoreStrongContraction() 207 E = Load->getParent()->end(); in findSafeStoreForStoreStrongContraction() 233 if (!CanUse(Inst, Load, PA, Class)) { in findSafeStoreForStoreStrongContraction() 339 auto *Load = dyn_cast<LoadInst>(GetArgRCIdentityRoot(Release)); in tryToContractReleaseIntoStoreStrong() local 340 if (!Load || !Load->isSimple()) in tryToContractReleaseIntoStoreStrong() 345 if (Load->getParent() != BB) in tryToContractReleaseIntoStoreStrong() 377 << " Load: " << *Load << "\n"); in tryToContractReleaseIntoStoreStrong() 383 Value *Args[] = { Load->getPointerOperand(), New }; in tryToContractReleaseIntoStoreStrong() 407 if (Load->use_empty()) in tryToContractReleaseIntoStoreStrong() [all …]
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | BlockGenerators.cpp | 313 if (Value *PreloadLoad = GlobalMap.lookup(Load)) in generateArrayLoad() 319 Builder.CreateAlignedLoad(Load->getType(), NewPointer, Load->getAlign(), in generateArrayLoad() 368 if (auto *Load = dyn_cast<LoadInst>(Inst)) { in copyInstruction() local 372 BBMap[Load] = NewLoad; in copyInstruction() 1072 ScopStmt &Stmt, LoadInst *Load, ValueMapT &BBMap, in generateStrideZeroLoad() argument 1099 Type *ElemTy = Load->getType(); in generateUnknownStrideLoad() 1119 if (Value *PreloadLoad = GlobalMap.lookup(Load)) { in generateLoad() 1127 ScalarMaps[i][Load] = in generateLoad() 1136 extractScalarValues(Load, VectorMap, ScalarMaps); in generateLoad() 1148 VectorMap[Load] = NewLoad; in generateLoad() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/ |
| H A D | sub-load-commands.test | 41 # CHECK: Load command 0 45 # CHECK: Load command 1 49 # CHECK: Load command 2 53 # CHECK: Load command 3
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 427 Value *llvm::FindAvailableLoadedValue(LoadInst *Load, in FindAvailableLoadedValue() argument 434 if (!Load->isUnordered()) in FindAvailableLoadedValue() 437 MemoryLocation Loc = MemoryLocation::get(Load); in FindAvailableLoadedValue() 438 return findAvailablePtrLoadStore(Loc, Load->getType(), Load->isAtomic(), in FindAvailableLoadedValue() 607 const DataLayout &DL = Load->getModule()->getDataLayout(); in FindAvailableLoadedValue() 609 BasicBlock *ScanBB = Load->getParent(); in FindAvailableLoadedValue() 610 Type *AccessTy = Load->getType(); in FindAvailableLoadedValue() 611 bool AtLeastAtomic = Load->isAtomic(); in FindAvailableLoadedValue() 613 if (!Load->isUnordered()) in FindAvailableLoadedValue() 620 for (Instruction &Inst : make_range(++Load->getReverseIterator(), in FindAvailableLoadedValue() [all …]
|
| H A D | ValueLatticeUtils.cpp | 37 if (auto *Load = dyn_cast<LoadInst>(U)) in canTrackGlobalVariableInterprocedurally() local 38 return !Load->isVolatile() && Load->getType() == GV->getValueType(); in canTrackGlobalVariableInterprocedurally()
|
| /llvm-project-15.0.7/mlir/test/Conversion/GPUToSPIRV/ |
| H A D | builtins.mlir | 17 // CHECK-NEXT: [[VEC:%.*]] = spv.Load "Input" [[ADDRESS]] 43 // CHECK-NEXT: [[VEC:%.*]] = spv.Load "Input" [[ADDRESS]] 67 // CHECK-NEXT: [[VEC:%.*]] = spv.Load "Input" [[ADDRESS]] 160 // CHECK-NEXT: [[VEC:%.*]] = spv.Load "Input" [[ADDRESS]] 184 // CHECK-NEXT: [[VEC:%.*]] = spv.Load "Input" [[ADDRESS]] 201 // CHECK-NEXT: {{%.*}} = spv.Load "Input" [[ADDRESS]] 217 // CHECK-NEXT: {{%.*}} = spv.Load "Input" [[ADDRESS]] 240 // CHECK-NEXT: [[VEC:%.*]] = spv.Load "Input" [[ADDRESS]] 264 // CHECK-NEXT: [[VEC:%.*]] = spv.Load "Input" [[ADDRESS]] 288 // CHECK-NEXT: [[VEC:%.*]] = spv.Load "Input" [[ADDRESS]] [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/ |
| H A D | hwasan.cpp | 442 CheckAddressSized<ErrorAction::Abort, AccessType::Load>(p, sz); in __hwasan_loadN() 445 CheckAddress<ErrorAction::Abort, AccessType::Load, 0>(p); in __hwasan_load1() 448 CheckAddress<ErrorAction::Abort, AccessType::Load, 1>(p); in __hwasan_load2() 451 CheckAddress<ErrorAction::Abort, AccessType::Load, 2>(p); in __hwasan_load4() 454 CheckAddress<ErrorAction::Abort, AccessType::Load, 3>(p); in __hwasan_load8() 457 CheckAddress<ErrorAction::Abort, AccessType::Load, 4>(p); in __hwasan_load16() 464 CheckAddress<ErrorAction::Recover, AccessType::Load, 0>(p); in __hwasan_load1_noabort() 467 CheckAddress<ErrorAction::Recover, AccessType::Load, 1>(p); in __hwasan_load2_noabort() 470 CheckAddress<ErrorAction::Recover, AccessType::Load, 2>(p); in __hwasan_load4_noabort() 473 CheckAddress<ErrorAction::Recover, AccessType::Load, 3>(p); in __hwasan_load8_noabort() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUMemoryUtils.cpp | 171 bool isClobberedInFunction(const LoadInst *Load, MemorySSA *MSSA, in isClobberedInFunction() argument 174 SmallVector<MemoryAccess *> WorkList{Walker->getClobberingMemoryAccess(Load)}; in isClobberedInFunction() 176 MemoryLocation Loc(MemoryLocation::get(Load)); in isClobberedInFunction() 178 LLVM_DEBUG(dbgs() << "Checking clobbering of: " << *Load << '\n'); in isClobberedInFunction() 199 if (isReallyAClobber(Load->getPointerOperand(), Def, AA)) { in isClobberedInFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelDAGToDAG.cpp | 1089 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG() 1190 if (!Load || !Load->hasNUsesOfValue(1, 0)) in tryGather() 1201 SDLoc DL(Load); in tryGather() 1262 SDValue Load = StoredVal->getOperand(0); in isFusableLoadOpStorePattern() local 1264 if (!ISD::isNormalLoad(Load.getNode())) in isFusableLoadOpStorePattern() 1268 LoadNode = cast<LoadSDNode>(Load); in isFusableLoadOpStorePattern() 1271 if (!Load.hasOneUse()) in isFusableLoadOpStorePattern() 1284 if (Chain == Load.getValue(1)) { in isFusableLoadOpStorePattern() 1294 if (Op == Load.getValue(1)) { in isFusableLoadOpStorePattern() 1418 if (Load->isInvariant() && Load->isDereferenceable()) in canUseBlockOperation() [all …]
|