| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelAttributes.cpp | 115 if (!Load && !BCI) { in processUse() 128 if (!Load || !Load->isSimple()) in processUse() 150 GroupSizes[0] = Load; in processUse() 154 GroupSizes[1] = Load; in processUse() 158 GroupSizes[2] = Load; in processUse() 162 Remainders[0] = Load; in processUse() 166 Remainders[1] = Load; in processUse() 170 Remainders[2] = Load; in processUse() 191 GridSizes[0] = Load; in processUse() 195 GridSizes[1] = Load; in processUse() [all …]
|
| H A D | AMDGPULowerKernelArguments.cpp | 226 LoadInst *Load = in lowerKernelArguments() local 228 Load->setMetadata(LLVMContext::MD_invariant_load, MDNode::get(Ctx, {})); in lowerKernelArguments() 234 Load->setMetadata(LLVMContext::MD_nonnull, MDNode::get(Ctx, {})); in lowerKernelArguments() 238 Load->setMetadata( in lowerKernelArguments() 247 Load->setMetadata( in lowerKernelArguments() 255 Load->setMetadata( in lowerKernelArguments() 266 Load : Builder.CreateLShr(Load, OffsetDiff * 8); in lowerKernelArguments() 274 Value *Shuf = Builder.CreateShuffleVector(Load, ArrayRef<int>{0, 1, 2}, in lowerKernelArguments() 278 Load->setName(Arg.getName() + ".load"); in lowerKernelArguments() 279 Arg.replaceAllUsesWith(Load); in lowerKernelArguments()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | GVN.cpp | 229 Res.Val = Load; in getLoad() 979 SSAUpdate.Initialize(Load->getType(), Load->getName()); in ConstructSSAForLoadSet() 1100 if (I->getFunction() == Load->getFunction() && DT->dominates(I, Load)) { in reportMayClobberedLoad() 1416 new LoadInst(Load->getType(), LoadPtr, Load->getName() + ".pre", in eliminatePartiallyRedundantLoad() 1417 Load->isVolatile(), Load->getAlign(), Load->getOrdering(), in eliminatePartiallyRedundantLoad() 1478 ICF->removeUsersOf(Load); in eliminatePartiallyRedundantLoad() 1481 V->takeName(Load); in eliminatePartiallyRedundantLoad() 1899 V->takeName(Load); in processNonLocalLoad() 1904 if (Load->getDebugLoc() && Load->getParent() == I->getParent()) in processNonLocalLoad() 2579 if (processLoad(Load)) in processInstruction() [all …]
|
| H A D | LoopLoadElimination.cpp | 85 LoadInst *Load; member 89 : Load(Load), Store(Store) {} in StoreToLoadForwardingCandidate() 98 Type *LoadType = getLoadStoreType(Load); in isDependenceDistanceOfOne() 141 OS.indent(2) << *Cand.Load << "\n"; in operator <<() 162 return Load->getParent() != L->getHeader(); in isLoadConditional() 219 if (!Load) in findStoreToLoadDependences() 228 Candidates.emplace_front(Load, Store); in findStoreToLoadDependences() 355 return getInstrIndex(A.Load) < getInstrIndex(B.Load); in findPointersWrittenOnForwardingPath() 357 ->Load; in findPointersWrittenOnForwardingPath() 466 Cand.Load->replaceAllUsesWith(PHI); in propagateStoredValueToLoadUsers() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | MachOObjectFile.cpp | 634 *LoadCmd = Load.Ptr; in checkLinkeditDataCommand() 733 *LoadCmd = Load.Ptr; in checkDyldInfoCommand() 782 *LoadCmd = Load.Ptr; in checkDylibIdCommand() 829 *LoadCmd = Load.Ptr; in checkVersCommand() 871 if (Load.C.cmdsize != in parseBuildVersionCommand() 937 *LoadCmd = Load.Ptr; in checkEncryptCommand() 1001 if (i >= Load.C.cmdsize) in checkSubCommand() 1231 *LoadCmd = Load.Ptr; in checkTwoLevelHintsCommand() 1302 LoadCommandInfo Load; in MachOObjectFile() local 1305 Load = *LoadOrErr; in MachOObjectFile() [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan.cpp | 501 CheckAddress<ErrorAction::Abort, AccessType::Load, 0>(p); in __hwasan_load1() 504 CheckAddress<ErrorAction::Abort, AccessType::Load, 1>(p); in __hwasan_load2() 507 CheckAddress<ErrorAction::Abort, AccessType::Load, 2>(p); in __hwasan_load4() 510 CheckAddress<ErrorAction::Abort, AccessType::Load, 3>(p); in __hwasan_load8() 513 CheckAddress<ErrorAction::Abort, AccessType::Load, 4>(p); in __hwasan_load16() 520 CheckAddress<ErrorAction::Recover, AccessType::Load, 0>(p); in __hwasan_load1_noabort() 523 CheckAddress<ErrorAction::Recover, AccessType::Load, 1>(p); in __hwasan_load2_noabort() 526 CheckAddress<ErrorAction::Recover, AccessType::Load, 2>(p); in __hwasan_load4_noabort() 529 CheckAddress<ErrorAction::Recover, AccessType::Load, 3>(p); in __hwasan_load8_noabort() 532 CheckAddress<ErrorAction::Recover, AccessType::Load, 4>(p); in __hwasan_load16_noabort() [all …]
|
| H A D | hwasan_memintrinsics.cpp | 33 CheckAddressSized<ErrorAction::Recover, AccessType::Load>( in __hwasan_memcpy() 41 CheckAddressSized<ErrorAction::Recover, AccessType::Load>( in __hwasan_memmove() 60 CheckAddressSized<ErrorAction::Recover, AccessType::Load>( in __hwasan_memcpy_match_all() 71 CheckAddressSized<ErrorAction::Recover, AccessType::Load>( in __hwasan_memmove_match_all()
|
| /freebsd-14.2/contrib/llvm-project/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() 163 Load->replaceAllUsesWith(Result); in convertToRelLookupTable() 165 Load->eraseFromParent(); in convertToRelLookupTable()
|
| H A D | LowerMemIntrinsics.cpp | 76 LoadInst *Load = LoopBuilder.CreateAlignedLoad(LoopOpType, SrcGEP, in createMemCpyLoopKnownSize() local 80 Load->setMetadata(LLVMContext::MD_alias_scope, in createMemCpyLoopKnownSize() 86 Load, DstGEP, PartDstAlign, DstIsVolatile); in createMemCpyLoopKnownSize() 92 Load->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopKnownSize() 132 LoadInst *Load = in createMemCpyLoopKnownSize() local 136 Load->setMetadata(LLVMContext::MD_alias_scope, in createMemCpyLoopKnownSize() 148 Load->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopKnownSize() 211 LoadInst *Load = LoopBuilder.CreateAlignedLoad(LoopOpType, SrcGEP, in createMemCpyLoopUnknownSize() local 225 Load->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopUnknownSize() 286 Load->setMetadata(LLVMContext::MD_alias_scope, in createMemCpyLoopUnknownSize() [all …]
|
| /freebsd-14.2/share/examples/bootforth/ |
| H A D | loader.rc | 6 \ Load configuration file words 12 \ Load the screen manipulation words 17 \ Load frame support 21 \ Load our little menu
|
| H A D | boot.4th | 4 \ Load the screen manipulation words 11 \ Load frame support 15 \ Load our little menu
|
| /freebsd-14.2/contrib/llvm-project/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 …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUMemoryUtils.cpp | 109 bool isClobberedInFunction(const LoadInst *Load, MemorySSA *MSSA, in isClobberedInFunction() argument 112 SmallVector<MemoryAccess *> WorkList{Walker->getClobberingMemoryAccess(Load)}; in isClobberedInFunction() 114 MemoryLocation Loc(MemoryLocation::get(Load)); in isClobberedInFunction() 116 LLVM_DEBUG(dbgs() << "Checking clobbering of: " << *Load << '\n'); in isClobberedInFunction() 137 if (isReallyAClobber(Load->getPointerOperand(), Def, AA)) { in isClobberedInFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | SVEIntrinsicOpts.cpp | 374 auto *Load = dyn_cast<LoadInst>(IntrI->getOperand(1)); in optimizePredicateLoad() local 375 if (!Load || !Load->isSimple()) in optimizePredicateLoad() 379 if (Load->getType() != FixedPredType) in optimizePredicateLoad() 383 Builder.SetInsertPoint(Load); in optimizePredicateLoad() 385 auto *LoadPred = Builder.CreateLoad(PredType, Load->getPointerOperand()); in optimizePredicateLoad() 391 if (Load->getNumUses() == 0) in optimizePredicateLoad() 392 Load->eraseFromParent(); in optimizePredicateLoad()
|
| H A D | AArch64SchedAmpere1B.td | 570 } // Load from base addr plus immediate offset 687 // -- Load 1-element structure to one/all lanes 697 // -- Load 1-element structures to 1 register 700 // -- Load 1-element structures to 2 registers 703 // -- Load 1-element structures to 3 registers 706 // -- Load 1-element structures to 4 registers 760 // -- Load pair, Q-form 762 // -- Load pair, S/D-form 764 // -- Load register 766 // -- Load register, sign-extended register [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| 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()
|
| H A D | Loads.cpp | 459 if (!Load->isUnordered()) in FindAvailableLoadedValue() 462 MemoryLocation Loc = MemoryLocation::get(Load); in FindAvailableLoadedValue() 463 return findAvailablePtrLoadStore(Loc, Load->getType(), Load->isAtomic(), in FindAvailableLoadedValue() 669 const DataLayout &DL = Load->getModule()->getDataLayout(); in FindAvailableLoadedValue() 670 Value *StrippedPtr = Load->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue() 671 BasicBlock *ScanBB = Load->getParent(); in FindAvailableLoadedValue() 672 Type *AccessTy = Load->getType(); in FindAvailableLoadedValue() 673 bool AtLeastAtomic = Load->isAtomic(); in FindAvailableLoadedValue() 675 if (!Load->isUnordered()) in FindAvailableLoadedValue() 682 for (Instruction &Inst : make_range(++Load->getReverseIterator(), in FindAvailableLoadedValue() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFPreserveStaticOffset.cpp | 224 LoadInst *Load) { in makeGEPAndLoad() argument 226 fillCommonArgs(M->getContext(), Args, GEP, Load); in makeGEPAndLoad() 228 {Load->getType()}, Args); in makeGEPAndLoad() 232 if (Load->isUnordered()) { in makeGEPAndLoad() 239 Call->setAAMetadata(Load->getAAMetadata()); in makeGEPAndLoad() 306 auto *Load = new LoadInst(ReturnType, GEP, "", in reconstructLoad() local 309 reconstructCommon(Call, GEP, Load, 0); in reconstructLoad() 310 return std::pair{GEP, Load}; in reconstructLoad() 526 auto [GEP, Load] = in rewriteAccessChain() 529 TryToReplace(Load); in rewriteAccessChain() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 139 if (!Load || !Load->isSimple() || !Load->hasOneUse() || in canWidenLoad() 141 mustSuppressSpeculation(*Load)) in canWidenLoad() 170 auto *Load = dyn_cast<LoadInst>(X); in vectorizeLoadInsert() local 171 if (!canWidenLoad(Load, TTI)) in vectorizeLoadInsert() 189 Align Alignment = Load->getAlign(); in vectorizeLoadInsert() 229 Type *LoadTy = Load->getType(); in vectorizeLoadInsert() 264 IRBuilder<> Builder(Load); in vectorizeLoadInsert() 292 if (!canWidenLoad(Load, TTI)) in widenSubvectorLoad() 307 Type *LoadTy = Load->getType(); in widenSubvectorLoad() 326 IRBuilder<> Builder(Load); in widenSubvectorLoad() [all …]
|
| H A D | VPlanSLP.cpp | 113 if (Opcode == Instruction::Load) { in areVectorizable() 120 if (VPI->getOpcode() == Instruction::Load && in areVectorizable() 176 case Instruction::Load: in getOperands() 207 if (A->getOpcode() != Instruction::Load && in areConsecutiveOrMatch() 241 assert((Mode == OpMode::Load || Mode == OpMode::Opcode) && in getBest() 307 Instruction::Load) in reorderMultiNodeOps() 308 Mode.push_back(OpMode::Load); in reorderMultiNodeOps() 437 if (ValuesOpcode == Instruction::Load) in buildGraph() 447 case Instruction::Load: in buildGraph()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelDAGToDAG.cpp | 1102 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG() 1232 if (!Load || !Load->hasNUsesOfValue(1, 0)) in tryGather() 1243 SDLoc DL(Load); in tryGather() 1304 SDValue Load = StoredVal->getOperand(0); in isFusableLoadOpStorePattern() local 1306 if (!ISD::isNormalLoad(Load.getNode())) in isFusableLoadOpStorePattern() 1310 LoadNode = cast<LoadSDNode>(Load); in isFusableLoadOpStorePattern() 1313 if (!Load.hasOneUse()) in isFusableLoadOpStorePattern() 1326 if (Chain == Load.getValue(1)) { in isFusableLoadOpStorePattern() 1336 if (Op == Load.getValue(1)) { in isFusableLoadOpStorePattern() 1460 if (Load->isInvariant() && Load->isDereferenceable()) in canUseBlockOperation() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 814 for (const auto &Load : Obj->load_commands()) { in printMachODataInCode() local 815 if (Load.C.cmd == MachO::LC_DATA_IN_CODE) { in printMachODataInCode() 836 for (const auto &Load : Obj->load_commands()) { in printMachOVersionMin() local 838 switch (Load.C.cmd) { in printMachOVersionMin() 860 if (Load.C.cmd == MachO::LC_BUILD_VERSION) { in printMachOVersionMin() 899 for (const auto &Load : Obj->load_commands()) { in printMachODysymtab() local 900 if (Load.C.cmd == MachO::LC_DYSYMTAB) { in printMachODysymtab() 927 if (Load.C.cmd == MachO::LC_SEGMENT || Load.C.cmd == MachO::LC_SEGMENT_64) { in printMachOSegment() 929 getSegment(Obj, Load, MOSegment); in printMachOSegment() 948 if (Load.C.cmd == MachO::LC_DYSYMTAB) { in printMachOIndirectSymbols() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 428 if (!Load) in lowerGather() 430 if (!Load) in lowerGather() 432 if (!Load) in lowerGather() 438 Load = SelectInst::Create(Mask, Load, PassThru); in lowerGather() 439 Builder.Insert(Load); in lowerGather() 451 return Load; in lowerGather() 557 Instruction *Load = nullptr; in tryCreateMaskedGatherOffset() local 572 Load = TruncInst::Create(Instruction::Trunc, Load, MemoryTy); in tryCreateMaskedGatherOffset() 573 Builder.Insert(Load); in tryCreateMaskedGatherOffset() 575 return Load; in tryCreateMaskedGatherOffset() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | P9InstrResources.td | 785 // Cracked Load Instruction. 786 // Requires Load and ALU pieces totaling 6 cycles. The Load and ALU 795 // Requires Load and ALU pieces totaling 6 cycles. The Load and ALU 813 // Cracked Load instruction. 814 // Requires consecutive Load and ALU pieces totaling 6 cycles. The Load and ALU 826 // Requires consecutive Load and ALU pieces totaling 6 cycles. The Load and ALU 835 // Cracked Load instruction. 836 // Requires consecutive Load and ALU pieces totaling 7 cycles. The Load and ALU 845 // Cracked Load instruction. 859 // Requires consecutive Load and ALU pieces totaling 8 cycles. The Load and ALU [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_secondary.h | 186 Header *const *chunks = AddressSpaceView::Load(chunks_, n_chunks_); in GetBlockBegin() 197 AddressSpaceView::Load(reinterpret_cast<Header *>(nearest_chunk)); in GetBlockBegin() 224 Header *const *chunks = AddressSpaceView::Load(chunks_, n_chunks_); in GetBlockBeginFastLocked() 227 AddressSpaceView::Load(chunks[n - 1])->map_size; in GetBlockBeginFastLocked() 248 const Header *h = AddressSpaceView::Load(chunks[beg]); in GetBlockBeginFastLocked() 278 const Header *const *chunks = AddressSpaceView::Load(chunks_, n_chunks_); in ForEachChunk() 284 CHECK_EQ(AddressSpaceView::Load(chunks[i])->chunk_idx, i); in ForEachChunk()
|