Home
last modified time | relevance | path

Searched refs:Load (Results 1 – 25 of 563) sorted by relevance

12345678910>>...23

/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp112 auto *Load = dyn_cast<LoadInst>(U); // Load from ImplicitArgPtr/DispatchPtr? in processUse() local
114 if (!Load && !BCI) { in processUse()
117 Load = dyn_cast<LoadInst>(*U->user_begin()); // Load from GEP? in processUse()
124 Load = dyn_cast<LoadInst>(*BCI->user_begin()); // Load from BCI? in processUse()
127 if (!Load || !Load->isSimple()) in processUse()
130 unsigned LoadSize = DL.getTypeStoreSize(Load->getType()); in processUse()
137 BlockCounts[0] = Load; in processUse()
141 BlockCounts[1] = Load; in processUse()
145 BlockCounts[2] = Load; in processUse()
149 GroupSizes[0] = Load; in processUse()
[all …]
H A DAMDGPULowerKernelArguments.cpp175 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()
204 Load->setMetadata( in runOnFunction()
215 Load : Builder.CreateLShr(Load, OffsetDiff * 8); in runOnFunction()
223 Value *Shuf = Builder.CreateShuffleVector(Load, ArrayRef<int>{0, 1, 2}, in runOnFunction()
227 Load->setName(Arg.getName() + ".load"); in runOnFunction()
228 Arg.replaceAllUsesWith(Load); in runOnFunction()
/openbsd-src/gnu/usr.bin/perl/cpan/Module-Load-Conditional/t/
H A D01_Module_Load_Conditional.t1 ### Module::Load::Conditional test suite ###
5 # chdir '../lib/Module/Load/Conditional'
6 # if -d '../lib/Module/Load/Conditional';
26 use_ok( 'Module::Load::Conditional' );
29 { $Module::Load::Conditional::VERBOSE =
30 $Module::Load::Conditional::VERBOSE = 0;
32 *can_load = *Module::Load::Conditional::can_load
33 = *Module::Load::Conditional::can_load;
34 *check_install = *Module::Load::Conditional::check_install
35 = *Module::Load::Conditional::check_install;
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DGVN.cpp220 static AvailableValue getLoad(LoadInst *Load, unsigned Offset = 0) { in getLoad()
222 Res.Val = Load; in getLoad()
274 Value *MaterializeAdjustedValue(LoadInst *Load, Instruction *InsertPt,
310 Value *MaterializeAdjustedValue(LoadInst *Load, GVNPass &gvn) const { in MaterializeAdjustedValue()
311 return AV.MaterializeAdjustedValue(Load, BB->getTerminator(), gvn); in MaterializeAdjustedValue()
937 ConstructSSAForLoadSet(LoadInst *Load, in ConstructSSAForLoadSet() argument
944 Load->getParent())) { in ConstructSSAForLoadSet()
947 return ValuesPerBlock[0].MaterializeAdjustedValue(Load, gvn); in ConstructSSAForLoadSet()
953 SSAUpdate.Initialize(Load->getType(), Load->getName()); in ConstructSSAForLoadSet()
968 if (BB == Load->getParent() && in ConstructSSAForLoadSet()
[all …]
H A DLoopLoadElimination.cpp88 LoadInst *Load; member
91 StoreToLoadForwardingCandidate(LoadInst *Load, StoreInst *Store) in StoreToLoadForwardingCandidate()
92 : Load(Load), Store(Store) {} in StoreToLoadForwardingCandidate()
98 Value *LoadPtr = Load->getPointerOperand(); in isDependenceDistanceOfOne()
100 Type *LoadType = getLoadStoreType(Load); in isDependenceDistanceOfOne()
101 auto &DL = Load->getParent()->getModule()->getDataLayout(); in isDependenceDistanceOfOne()
129 Value *getLoadPtr() const { return Load->getPointerOperand(); } in getLoadPtr()
135 OS.indent(2) << *Cand.Load << "\n"; in operator <<()
155 static bool isLoadConditional(LoadInst *Load, Loop *L) { in isLoadConditional() argument
156 return Load->getParent() != L->getHeader(); in isLoadConditional()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DMachOObjectFile.cpp281 const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, in parseSegmentLoadCommand() argument
286 if (Load.C.cmdsize < SegmentLoadSize) in parseSegmentLoadCommand()
289 if (auto SegOrErr = getStructOrErr<Segment>(Obj, Load.Ptr)) { in parseSegmentLoadCommand()
294 S.nsects * SectionSize > Load.C.cmdsize - SegmentLoadSize) in parseSegmentLoadCommand()
299 const char *Sec = getSectionPtr(Obj, Load, J); in parseSegmentLoadCommand()
405 const MachOObjectFile::LoadCommandInfo &Load, in checkSymtabCommand() argument
409 if (Load.C.cmdsize < sizeof(MachO::symtab_command)) in checkSymtabCommand()
414 auto SymtabOrErr = getStructOrErr<MachO::symtab_command>(Obj, Load.Ptr); in checkSymtabCommand()
458 *SymtabLoadCmd = Load.Ptr; in checkSymtabCommand()
463 const MachOObjectFile::LoadCommandInfo &Load, in checkDysymtabCommand() argument
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/
H A D01_api.t13 ok( defined(&Load), 'Found exported Load function' );
15 ok( \&main::Load == \&CPAN::Meta::YAML::Load, 'Load is CPAN::Meta::YAML' );
26 use CPAN::Meta::YAML qw/Load Dump LoadFile DumpFile freeze thaw/;
27 ok( defined(&Load), 'Found exported Load function' );
H A D21_yamlpm_compat.t10 # This file test that the YAML.pm compatible Dump/Load/DumpFile/LoadFile
22 my @yamldocsloaded = CPAN::Meta::YAML::Load($yamldump);
26 "Functional interface: Dump to Load roundtrip works as expected"
53 eval { @yamldocsloaded = CPAN::Meta::YAML::Load("$str\n"); };
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp42 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()
H A DLowerMemIntrinsics.cpp84 LoadInst *Load = LoopBuilder.CreateAlignedLoad(LoopOpType, SrcGEP, in createMemCpyLoopKnownSize() local
88 Load->setMetadata(LLVMContext::MD_alias_scope, in createMemCpyLoopKnownSize()
94 Load, DstGEP, PartDstAlign, DstIsVolatile); in createMemCpyLoopKnownSize()
100 Load->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopKnownSize()
144 LoadInst *Load = in createMemCpyLoopKnownSize() local
148 Load->setMetadata(LLVMContext::MD_alias_scope, in createMemCpyLoopKnownSize()
158 StoreInst *Store = RBuilder.CreateAlignedStore(Load, DstGEP, PartDstAlign, in createMemCpyLoopKnownSize()
165 Load->setAtomic(AtomicOrdering::Unordered); in createMemCpyLoopKnownSize()
237 LoadInst *Load = LoopBuilder.CreateAlignedLoad(LoopOpType, SrcGEP, in createMemCpyLoopUnknownSize() local
241 Load->setMetadata(LLVMContext::MD_alias_scope, MDNode::get(Ctx, NewScope)); in createMemCpyLoopUnknownSize()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Module-Load/t/
H A D01_Module-Load.t1 ### Module::Load test suite ###
7 chdir '../lib/Module/Load' if -d '../lib/Module/Load';
15 use Module::Load;
31 my $file = Module::Load::_to_file($mod, $flag);
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DSVEIntrinsicOpts.cpp377 auto *Load = dyn_cast<LoadInst>(IntrI->getOperand(1)); in optimizePredicateLoad() local
378 if (!Load || !Load->isSimple()) in optimizePredicateLoad()
382 if (Load->getType() != FixedPredType) in optimizePredicateLoad()
386 Builder.SetInsertPoint(Load); in optimizePredicateLoad()
389 Load->getPointerOperand(), in optimizePredicateLoad()
390 PredType->getPointerTo(Load->getPointerAddressSpace())); in optimizePredicateLoad()
397 if (Load->getNumUses() == 0) in optimizePredicateLoad()
398 Load->eraseFromParent(); in optimizePredicateLoad()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp194 static StoreInst *findSafeStoreForStoreStrongContraction(LoadInst *Load, in findSafeStoreForStoreStrongContraction() argument
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()
351 findSafeStoreForStoreStrongContraction(Load, Release, PA, AA); in tryToContractReleaseIntoStoreStrong()
377 << " Load: " << *Load << "\n"); in tryToContractReleaseIntoStoreStrong()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUMemoryUtils.cpp149 bool isClobberedInFunction(const LoadInst *Load, MemorySSA *MSSA, in isClobberedInFunction() argument
152 SmallVector<MemoryAccess *> WorkList{Walker->getClobberingMemoryAccess(Load)}; in isClobberedInFunction()
154 MemoryLocation Loc(MemoryLocation::get(Load)); in isClobberedInFunction()
156 LLVM_DEBUG(dbgs() << "Checking clobbering of: " << *Load << '\n'); in isClobberedInFunction()
177 if (isReallyAClobber(Load->getPointerOperand(), Def, AA)) { in isClobberedInFunction()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DValueLatticeUtils.cpp37 if (auto *Load = dyn_cast<LoadInst>(U)) in canTrackGlobalVariableInterprocedurally() local
38 return !Load->isVolatile() && Load->getType() == GV->getValueType(); in canTrackGlobalVariableInterprocedurally()
H A DLoads.cpp428 Value *llvm::FindAvailableLoadedValue(LoadInst *Load, in FindAvailableLoadedValue() argument
435 if (!Load->isUnordered()) in FindAvailableLoadedValue()
438 MemoryLocation Loc = MemoryLocation::get(Load); in FindAvailableLoadedValue()
439 return findAvailablePtrLoadStore(Loc, Load->getType(), Load->isAtomic(), in FindAvailableLoadedValue()
642 Value *llvm::FindAvailableLoadedValue(LoadInst *Load, AAResults &AA, in FindAvailableLoadedValue() argument
645 const DataLayout &DL = Load->getModule()->getDataLayout(); in FindAvailableLoadedValue()
646 Value *StrippedPtr = Load->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
647 BasicBlock *ScanBB = Load->getParent(); in FindAvailableLoadedValue()
648 Type *AccessTy = Load->getType(); in FindAvailableLoadedValue()
649 bool AtLeastAtomic = Load->isAtomic(); in FindAvailableLoadedValue()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp330 bool canUseBlockOperation(StoreSDNode *Store, LoadSDNode *Load) const;
1001 else if (auto *Load = dyn_cast<LoadSDNode>(RISBG.Input)) { in tryRISBGZero() local
1002 if (Load->getMemoryVT() == MVT::i32 && in tryRISBGZero()
1003 (Load->getExtensionType() == ISD::EXTLOAD || in tryRISBGZero()
1004 Load->getExtensionType() == ISD::ZEXTLOAD) && in tryRISBGZero()
1095 if (auto *Load = dyn_cast<LoadSDNode>(Op0.getNode())) in tryRxSBG() local
1096 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1196 auto *Load = dyn_cast<LoadSDNode>(N->getOperand(1)); in tryGather() local
1197 if (!Load || !Load->hasNUsesOfValue(1, 0)) in tryGather()
1199 if (Load->getMemoryVT().getSizeInBits() != in tryGather()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp134 static bool canWidenLoad(LoadInst *Load, const TargetTransformInfo &TTI) { in canWidenLoad() argument
138 if (!Load || !Load->isSimple() || !Load->hasOneUse() || in canWidenLoad()
139 Load->getFunction()->hasFnAttribute(Attribute::SanitizeMemTag) || in canWidenLoad()
140 mustSuppressSpeculation(*Load)) in canWidenLoad()
145 Type *ScalarTy = Load->getType()->getScalarType(); in canWidenLoad()
169 auto *Load = dyn_cast<LoadInst>(X); in vectorizeLoadInsert() local
170 if (!canWidenLoad(Load, TTI)) in vectorizeLoadInsert()
182 Value *SrcPtr = Load->getPointerOperand()->stripPointerCasts(); in vectorizeLoadInsert()
188 Align Alignment = Load->getAlign(); in vectorizeLoadInsert()
189 if (!isSafeToLoadUnconditionally(SrcPtr, MinVecTy, Align(1), DL, Load, &AC, in vectorizeLoadInsert()
[all …]
H A DVPlanSLP.cpp113 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()
/openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan.cpp478 CheckAddressSized<ErrorAction::Abort, AccessType::Load>(p, sz); in __hwasan_loadN()
481 CheckAddress<ErrorAction::Abort, AccessType::Load, 0>(p); in __hwasan_load1()
484 CheckAddress<ErrorAction::Abort, AccessType::Load, 1>(p); in __hwasan_load2()
487 CheckAddress<ErrorAction::Abort, AccessType::Load, 2>(p); in __hwasan_load4()
490 CheckAddress<ErrorAction::Abort, AccessType::Load, 3>(p); in __hwasan_load8()
493 CheckAddress<ErrorAction::Abort, AccessType::Load, 4>(p); in __hwasan_load16()
497 CheckAddressSized<ErrorAction::Recover, AccessType::Load>(p, sz); in __hwasan_loadN_noabort()
500 CheckAddress<ErrorAction::Recover, AccessType::Load, 0>(p); in __hwasan_load1_noabort()
503 CheckAddress<ErrorAction::Recover, AccessType::Load, 1>(p); in __hwasan_load2_noabort()
506 CheckAddress<ErrorAction::Recover, AccessType::Load, 2>(p); in __hwasan_load4_noabort()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DMachODumper.cpp812 for (const auto &Load : Obj->load_commands()) { in printMachODataInCode() local
813 if (Load.C.cmd == MachO::LC_DATA_IN_CODE) { in printMachODataInCode()
814 MachO::linkedit_data_command LLC = Obj->getLinkeditDataLoadCommand(Load); in printMachODataInCode()
834 for (const auto &Load : Obj->load_commands()) { in printMachOVersionMin() local
836 switch (Load.C.cmd) { in printMachOVersionMin()
858 if (Load.C.cmd == MachO::LC_BUILD_VERSION) { in printMachOVersionMin()
859 MachO::build_version_command BVC = Obj->getBuildVersionLoadCommand(Load); in printMachOVersionMin()
872 MachO::version_min_command VMC = Obj->getVersionMinLoadCommand(Load); in printMachOVersionMin()
897 for (const auto &Load : Obj->load_commands()) { in printMachODysymtab() local
898 if (Load.C.cmd == MachO::LC_DYSYMTAB) { in printMachODysymtab()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp427 Instruction *Load = tryCreateIncrementingGatScat(I, Ptr, Builder); in lowerGather() local
428 if (!Load) in lowerGather()
429 Load = tryCreateMaskedGatherOffset(I, Ptr, Root, Builder); in lowerGather()
430 if (!Load) in lowerGather()
431 Load = tryCreateMaskedGatherBase(I, Ptr, Builder); in lowerGather()
432 if (!Load) in lowerGather()
438 Load = SelectInst::Create(Mask, Load, PassThru); in lowerGather()
439 Builder.Insert(Load); in lowerGather()
442 Root->replaceAllUsesWith(Load); in lowerGather()
450 << *Load << "\n"); in lowerGather()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DP9InstrResources.td29 // - Four Load/Store Queues. P9_LS_*
709 // 6 Cycle Load uses a single slice.
715 // 5 Cycle Load uses a single slice.
734 // 4 Cycle Load uses a single slice.
771 // Cracked Load Instructions.
772 // Load instructions that can be done in parallel.
784 // Cracked Load Instruction.
785 // Requires Load and ALU pieces totaling 6 cycles. The Load and ALU
794 // Requires Load and ALU pieces totaling 6 cycles. The Load and ALU
812 // Cracked Load instruction.
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_secondary.h186 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()
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/lib/Parse/CPAN/
H A DMeta.pm147 return Load(_slurp(shift));
151 sub Load ($) { ## no critic subroutine
153 my $object = eval { CPAN::Meta::YAML::Load(shift) };

12345678910>>...23