Searched refs:Load (Results 1 - 25 of 179) sorted by relevance

12345678

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLatticeUtils.cpp35 } else if (auto *Load = dyn_cast<LoadInst>(U)) {
36 if (Load->isVolatile())
H A DAliasAnalysisEvaluator.cpp178 for (Value *Load : Loads) {
180 AliasResult AR = AA.alias(MemoryLocation::get(cast<LoadInst>(Load)),
184 PrintLoadStoreResults(AR, PrintNoAlias, Load, Store, F.getParent());
188 PrintLoadStoreResults(AR, PrintMayAlias, Load, Store, F.getParent());
192 PrintLoadStoreResults(AR, PrintPartialAlias, Load, Store, F.getParent());
196 PrintLoadStoreResults(AR, PrintMustAlias, Load, Store, F.getParent());
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_local_address_space_view.h33 // Load memory `sizeof(T) * num_elements` bytes of memory from the target
42 static const T *Load(const T *target_address, uptr num_elements = 1) { function in struct:__sanitizer::LocalAddressSpaceView
48 // Load memory `sizeof(T) * num_elements` bytes of memory from the target
54 // by subsequent `Load()` or `LoadWritable()` calls provided the
56 // memory returned by previous calls to `Load()` will contain any performed
H A Dsanitizer_allocator_secondary.h186 Header *const *chunks = AddressSpaceView::Load(chunks_, n_chunks_);
197 AddressSpaceView::Load(reinterpret_cast<Header *>(nearest_chunk));
224 Header *const *chunks = AddressSpaceView::Load(chunks_, n_chunks_);
227 AddressSpaceView::Load(chunks[n - 1])->map_size;
248 const Header *h = AddressSpaceView::Load(chunks[beg]);
282 const Header *const *chunks = AddressSpaceView::Load(chunks_, n_chunks_);
288 CHECK_EQ(AddressSpaceView::Load(chunks[i])->chunk_idx, i);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp108 auto *Load = dyn_cast<LoadInst>(*BCI->user_begin()); local
109 if (!Load || !Load->isSimple())
112 unsigned LoadSize = DL.getTypeStoreSize(Load->getType());
118 WorkGroupSizeX = Load;
122 WorkGroupSizeY = Load;
126 WorkGroupSizeZ = Load;
130 GridSizeX = Load;
134 GridSizeY = Load;
138 GridSizeZ = Load;
[all...]
H A DAMDGPUAnnotateUniformValues.cpp58 bool isClobberedInFunction(LoadInst * Load);
86 bool AMDGPUAnnotateUniformValues::isClobberedInFunction(LoadInst * Load) { argument
87 // 1. get Loop for the Load->getparent();
92 BasicBlock *Start = Load->getParent();
94 const Value *Ptr = Load->getPointerOperand();
108 BasicBlock::iterator StartIt = (!L && (BB == Load->getParent())) ?
109 BasicBlock::iterator(Load) : BB->end();
111 StartIt, BB, Load);
127 auto isGlobalLoad = [&](LoadInst &Load)->bool {
128 return Load
[all...]
H A DAMDGPULowerKernelArguments.cpp162 LoadInst *Load = local
164 Load->setMetadata(LLVMContext::MD_invariant_load, MDNode::get(Ctx, {}));
170 Load->setMetadata(LLVMContext::MD_nonnull, MDNode::get(Ctx, {}));
174 Load->setMetadata(
183 Load->setMetadata(
192 Load->setMetadata(
204 Load : Builder.CreateLShr(Load, OffsetDiff * 8);
212 Value *Shuf = Builder.CreateShuffleVector(Load, UndefValue::get(V4Ty),
217 Load
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_memintrinsics.cpp33 CheckAddressSized<ErrorAction::Recover, AccessType::Load>(
41 CheckAddressSized<ErrorAction::Recover, AccessType::Load>(
H A Dhwasan.cpp466 CheckAddressSized<ErrorAction::Abort, AccessType::Load>(p, sz);
469 CheckAddress<ErrorAction::Abort, AccessType::Load, 0>(p);
472 CheckAddress<ErrorAction::Abort, AccessType::Load, 1>(p);
475 CheckAddress<ErrorAction::Abort, AccessType::Load, 2>(p);
478 CheckAddress<ErrorAction::Abort, AccessType::Load, 3>(p);
481 CheckAddress<ErrorAction::Abort, AccessType::Load, 4>(p);
485 CheckAddressSized<ErrorAction::Recover, AccessType::Load>(p, sz);
488 CheckAddress<ErrorAction::Recover, AccessType::Load, 0>(p);
491 CheckAddress<ErrorAction::Recover, AccessType::Load, 1>(p);
494 CheckAddress<ErrorAction::Recover, AccessType::Load,
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp1 //===- LoopLoadElimination.cpp - Loop Load Elimination Pass ---------------===//
82 "Load Elimination"));
90 LoadInst *Load; member in struct:__anon2704::StoreToLoadForwardingCandidate
93 StoreToLoadForwardingCandidate(LoadInst *Load, StoreInst *Store) argument
94 : Load(Load), Store(Store) {}
100 Value *LoadPtr = Load->getPointerOperand();
117 auto &DL = Load->getParent()->getModule()->getDataLayout();
131 Value *getLoadPtr() const { return Load->getPointerOperand(); }
137 OS.indent(2) << *Cand.Load << "\
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp278 const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load,
283 if (Load.C.cmdsize < SegmentLoadSize)
286 if (auto SegOrErr = getStructOrErr<Segment>(Obj, Load.Ptr)) {
291 S.nsects * SectionSize > Load.C.cmdsize - SegmentLoadSize)
296 const char *Sec = getSectionPtr(Obj, Load, J);
402 const MachOObjectFile::LoadCommandInfo &Load,
406 if (Load.C.cmdsize < sizeof(MachO::symtab_command))
411 auto SymtabOrErr = getStructOrErr<MachO::symtab_command>(Obj, Load.Ptr);
455 *SymtabLoadCmd = Load.Ptr;
460 const MachOObjectFile::LoadCommandInfo &Load,
277 parseSegmentLoadCommand( const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, SmallVectorImpl<const char *> &Sections, bool &IsPageZeroSegment, uint32_t LoadCommandIndex, const char *CmdName, uint64_t SizeOfHeaders, std::list<MachOElement> &Elements) argument
401 checkSymtabCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, const char **SymtabLoadCmd, std::list<MachOElement> &Elements) argument
459 checkDysymtabCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, const char **DysymtabLoadCmd, std::list<MachOElement> &Elements) argument
592 checkLinkeditDataCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, const char **LoadCmd, const char *CmdName, std::list<MachOElement> &Elements, const char *ElementName) argument
630 checkDyldInfoCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, const char **LoadCmd, const char *CmdName, std::list<MachOElement> &Elements) argument
729 checkDylibCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, const char *CmdName) argument
761 checkDylibIdCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, const char **LoadCmd) argument
778 checkDyldCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, const char *CmdName) argument
810 checkVersCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, const char **LoadCmd, const char *CmdName) argument
825 checkNoteCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, std::list<MachOElement> &Elements) argument
854 parseBuildVersionCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, SmallVectorImpl<const char*> &BuildTools, uint32_t LoadCommandIndex) argument
877 checkRpathCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex) argument
909 checkEncryptCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, uint64_t cryptoff, uint64_t cryptsize, const char **LoadCmd, const char *CmdName) argument
933 checkLinkerOptCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex) argument
973 checkSubCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, const char *CmdName, size_t SizeOfCmd, const char *CmdStructName, uint32_t PathOffset, const char *PathFieldName) argument
1000 checkThreadCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, const char *CmdName) argument
1191 checkTwoLevelHintsCommand(const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, uint32_t LoadCommandIndex, const char **LoadCmd, std::list<MachOElement> &Elements) argument
1292 LoadCommandInfo Load; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp197 Value *Load = tryCreateMaskedGatherOffset(I, Ptr, Builder); local
198 if (!Load)
199 Load = tryCreateMaskedGatherBase(I, Ptr, Builder);
200 if (!Load)
206 Load = Builder.CreateSelect(Mask, Load, PassThru);
210 I->replaceAllUsesWith(Load);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Passes/
H A DPassPlugin.cpp1 //===- lib/Passes/PassPluginLoader.cpp - Load Plugins for New PM Passes ---===//
16 Expected<PassPlugin> PassPlugin::Load(const std::string &Filename) { function in class:PassPlugin
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Passes/
H A DPassPlugin.h67 static Expected<PassPlugin> Load(const std::string &Filename);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp155 LoadInst *Load = new LoadInst(RMWI.getType(), RMWI.getPointerOperand());
156 Load->setAtomic(Ordering, RMWI.getSyncScopeID());
157 Load->setAlignment(MaybeAlign(DL.getABITypeAlignment(RMWI.getType())));
158 return Load;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp208 static StoreInst *findSafeStoreForStoreStrongContraction(LoadInst *Load, argument
215 // Get the location associated with Load.
216 MemoryLocation Loc = MemoryLocation::get(Load);
220 for (auto I = std::next(BasicBlock::iterator(Load)),
221 E = Load->getParent()->end();
254 if (!CanUse(Inst, Load, PA, Class)) {
352 /// ; Load old value.
376 auto *Load = dyn_cast<LoadInst>(GetArgRCIdentityRoot(Release)); local
377 if (!Load || !Load
414 << " Load: " << *Load << "\\n"); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp121 if (Opcode == Instruction::Load) {
126 if (VPI->getOpcode() == Instruction::Load &&
181 case Instruction::Load:
212 if (A->getOpcode() != Instruction::Load &&
244 assert((Mode == OpMode::Load || Mode == OpMode::Opcode) &&
310 Instruction::Load)
311 Mode.push_back(OpMode::Load);
438 if (ValuesOpcode == Instruction::Load)
448 case Instruction::Load:
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp724 for (const auto &Load : Obj->load_commands()) {
725 if (Load.C.cmd == MachO::LC_DATA_IN_CODE) {
726 MachO::linkedit_data_command LLC = Obj->getLinkeditDataLoadCommand(Load);
746 for (const auto &Load : Obj->load_commands()) {
748 switch (Load.C.cmd) {
770 if (Load.C.cmd == MachO::LC_BUILD_VERSION) {
771 MachO::build_version_command BVC = Obj->getBuildVersionLoadCommand(Load);
784 MachO::version_min_command VMC = Obj->getVersionMinLoadCommand(Load);
809 for (const auto &Load : Obj->load_commands()) {
810 if (Load
[all...]
/freebsd-11-stable/stand/pc98/btx/lib/
H A Dbtxv86.s53 call __v86_swap # Load V86 registers
55 call __v86_swap # Load user registers
73 movl 0x8(%esp,1),%eax # Load EBP
/freebsd-11-stable/stand/i386/btx/lib/
H A Dbtxv86.s53 call __v86_swap # Load V86 registers
55 call __v86_swap # Load user registers
73 movl 0x8(%esp,1),%eax # Load EBP
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonShuffler.h84 bool Load, Store; member in class:llvm::HexagonCVIResource
89 void setLoad(bool f = true) { Load = f; }
100 bool mayLoad() const { return Load; }
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp52 auto *Load = Builder.CreateLoad(FrameTy->getElementType(Index), Gep); local
54 SubFn->replaceAllUsesWith(Load);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.h32 Load = (1<<1), enumerator in enum:llvm::SPII::__anon2399
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp321 // Return true if Load and Store are loads and stores of the same size
330 bool canUseBlockOperation(StoreSDNode *Store, LoadSDNode *Load) const;
994 else if (auto *Load = dyn_cast<LoadSDNode>(RISBG.Input)) {
995 if (Load->getMemoryVT() == MVT::i32 &&
996 (Load->getExtensionType() == ISD::EXTLOAD ||
997 Load->getExtensionType() == ISD::ZEXTLOAD) &&
1085 if (auto *Load = dyn_cast<LoadSDNode>(Op0.getNode()))
1086 if (Load->getMemoryVT() == MVT::i8)
1186 auto *Load = dyn_cast<LoadSDNode>(N->getOperand(1));
1187 if (!Load || !Loa
1437 auto *Load = cast<LoadSDNode>(Store->getValue()); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp222 for (const auto &Load : MachO->load_commands()) {
223 if (Load.C.cmd == MachO::LC_SEGMENT_64) {
224 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load);
234 MachO::section_64 Sec = MachO->getSection64(Load, J);
249 } else if (Load.C.cmd == MachO::LC_SEGMENT) {
250 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load);
261 MachO::section Sec = MachO->getSection(Load, J);
291 for (const auto &Load : MachO->load_commands()) {
292 if (Load.C.cmd == MachO::LC_SEGMENT_64) {
293 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load);
[all...]

Completed in 237 milliseconds

12345678