Home
last modified time | relevance | path

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

12345678910>>...16

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVN.cpp212 Res.Val.setPointer(Load); in getLoad()
852 SSAUpdate.Initialize(Load->getType(), Load->getName()); in ConstructSSAForLoadSet()
1193 new LoadInst(Load->getType(), LoadPtr, Load->getName() + ".pre", in eliminatePartiallyRedundantLoad()
1194 Load->isVolatile(), Load->getAlign(), Load->getOrdering(), in eliminatePartiallyRedundantLoad()
1216 Load->getAAMetadata(Tags); in eliminatePartiallyRedundantLoad()
1246 Load->replaceAllUsesWith(V); in eliminatePartiallyRedundantLoad()
1248 V->takeName(Load); in eliminatePartiallyRedundantLoad()
1655 V->takeName(Load); in processNonLocalLoad()
1660 if (Load->getDebugLoc() && Load->getParent() == I->getParent()) in processNonLocalLoad()
2329 if (processLoad(Load)) in processInstruction()
[all …]
H A DLoopLoadElimination.cpp90 LoadInst *Load; member
94 : Load(Load), Store(Store) {} in StoreToLoadForwardingCandidate()
102 Type *LoadType = getLoadStoreType(Load); in isDependenceDistanceOfOne()
136 OS.indent(2) << *Cand.Load << "\n"; in operator <<()
157 return Load->getParent() != L->getHeader(); in isLoadConditional()
213 if (!Load) in findStoreToLoadDependences()
220 Candidates.emplace_front(Load, Store); in findStoreToLoadDependences()
347 return getInstrIndex(A.Load) < getInstrIndex(B.Load); in findPointersWrittenOnForwardingPath()
349 ->Load; in findPointersWrittenOnForwardingPath()
444 Cand.Load->replaceAllUsesWith(PHI); in propagateStoredValueToLoadUsers()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp625 *LoadCmd = Load.Ptr; in checkLinkeditDataCommand()
724 *LoadCmd = Load.Ptr; in checkDyldInfoCommand()
773 *LoadCmd = Load.Ptr; in checkDylibIdCommand()
820 *LoadCmd = Load.Ptr; in checkVersCommand()
862 if (Load.C.cmdsize != in parseBuildVersionCommand()
928 *LoadCmd = Load.Ptr; in checkEncryptCommand()
992 if (i >= Load.C.cmdsize) in checkSubCommand()
1222 *LoadCmd = Load.Ptr; in checkTwoLevelHintsCommand()
1291 LoadCommandInfo Load; in MachOObjectFile() local
1294 Load = *LoadOrErr; in MachOObjectFile()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp99 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 DAMDGPULowerKernelArguments.cpp176 LoadInst *Load = in runOnFunction() local
178 Load->setMetadata(LLVMContext::MD_invariant_load, MDNode::get(Ctx, {})); in runOnFunction()
184 Load->setMetadata(LLVMContext::MD_nonnull, MDNode::get(Ctx, {})); in runOnFunction()
188 Load->setMetadata( in runOnFunction()
197 Load->setMetadata( in runOnFunction()
206 Load->setMetadata( in runOnFunction()
218 Load : Builder.CreateLShr(Load, OffsetDiff * 8); in runOnFunction()
226 Value *Shuf = Builder.CreateShuffleVector(Load, ArrayRef<int>{0, 1, 2}, in runOnFunction()
230 Load->setName(Arg.getName() + ".load"); in runOnFunction()
231 Arg.replaceAllUsesWith(Load); in runOnFunction()
H A DAMDGPUAnnotateUniformValues.cpp52 bool isClobberedInFunction(LoadInst * Load);
73 bool AMDGPUAnnotateUniformValues::isClobberedInFunction(LoadInst * Load) { in isClobberedInFunction() argument
74 const MemoryAccess *MA = MSSA->getWalker()->getClobberingMemoryAccess(Load); in isClobberedInFunction()
87 auto isGlobalLoad = [&](LoadInst &Load)->bool { in visitLoadInst() argument
88 return Load.getPointerAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS; in visitLoadInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp44 LoadInst *Load = dyn_cast<LoadInst>(GEP->use_begin()->getUser()); in shouldConvertToRelLookupTable() local
45 if (!Load || !Load->hasOneUse()) in shouldConvertToRelLookupTable()
130 LoadInst *Load = cast<LoadInst>(GEP->use_begin()->getUser()); in convertToRelLookupTable() local
150 Builder.SetInsertPoint(Load); in convertToRelLookupTable()
161 if (Load->getType() != Builder.getInt8PtrTy()) in convertToRelLookupTable()
162 Result = Builder.CreateBitCast(Result, Load->getType(), "reltable.bitcast"); in convertToRelLookupTable()
165 Load->replaceAllUsesWith(Result); in convertToRelLookupTable()
167 Load->eraseFromParent(); in convertToRelLookupTable()
/freebsd-13.1/share/examples/bootforth/
H A Dloader.rc7 \ Load configuration file words
13 \ Load the screen manipulation words
18 \ Load frame support
22 \ Load our little menu
H A Dboot.4th5 \ Load the screen manipulation words
12 \ Load frame support
16 \ Load our little menu
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp205 MemoryLocation Loc = MemoryLocation::get(Load); in findSafeStoreForStoreStrongContraction()
209 for (auto I = std::next(BasicBlock::iterator(Load)), in findSafeStoreForStoreStrongContraction()
210 E = Load->getParent()->end(); in findSafeStoreForStoreStrongContraction()
243 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-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp122 auto *Load = dyn_cast<LoadInst>(X); in vectorizeLoadInsert() local
123 if (!Load || !Load->isSimple() || !Load->hasOneUse() || in vectorizeLoadInsert()
125 mustSuppressSpeculation(*Load)) in vectorizeLoadInsert()
135 unsigned AS = Load->getPointerAddressSpace(); in vectorizeLoadInsert()
137 SrcPtr = Load->getPointerOperand(); in vectorizeLoadInsert()
155 Align Alignment = Load->getAlign(); in vectorizeLoadInsert()
193 Type *LoadTy = Load->getType(); in vectorizeLoadInsert()
224 IRBuilder<> Builder(Load); in vectorizeLoadInsert()
828 if (auto *Load = dyn_cast<LoadInst>(Source)) { in foldSingleElementStore() local
834 if (!Load->isSimple() || Load->getParent() != SI->getParent() || in foldSingleElementStore()
[all …]
H A DVPlanSLP.cpp121 if (Opcode == Instruction::Load) { in areVectorizable()
128 if (VPI->getOpcode() == Instruction::Load && in areVectorizable()
184 case Instruction::Load: in getOperands()
215 if (A->getOpcode() != Instruction::Load && in areConsecutiveOrMatch()
249 assert((Mode == OpMode::Load || Mode == OpMode::Opcode) && in getBest()
315 Instruction::Load) in reorderMultiNodeOps()
316 Mode.push_back(OpMode::Load); in reorderMultiNodeOps()
445 if (ValuesOpcode == Instruction::Load) in buildGraph()
455 case Instruction::Load: in buildGraph()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp431 Value *llvm::FindAvailableLoadedValue(LoadInst *Load, in FindAvailableLoadedValue() argument
438 if (!Load->isUnordered()) in FindAvailableLoadedValue()
441 MemoryLocation Loc = MemoryLocation::get(Load); in FindAvailableLoadedValue()
442 return findAvailablePtrLoadStore(Loc, Load->getType(), Load->isAtomic(), in FindAvailableLoadedValue()
608 const DataLayout &DL = Load->getModule()->getDataLayout(); in FindAvailableLoadedValue()
610 BasicBlock *ScanBB = Load->getParent(); in FindAvailableLoadedValue()
611 Type *AccessTy = Load->getType(); in FindAvailableLoadedValue()
612 bool AtLeastAtomic = Load->isAtomic(); in FindAvailableLoadedValue()
614 if (!Load->isUnordered()) in FindAvailableLoadedValue()
621 for (Instruction &Inst : make_range(++Load->getReverseIterator(), in FindAvailableLoadedValue()
[all …]
H A DValueLatticeUtils.cpp36 if (auto *Load = dyn_cast<LoadInst>(U)) in canTrackGlobalVariableInterprocedurally() local
37 return !Load->isVolatile(); in canTrackGlobalVariableInterprocedurally()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan.cpp432 CheckAddressSized<ErrorAction::Abort, AccessType::Load>(p, sz); in __hwasan_loadN()
435 CheckAddress<ErrorAction::Abort, AccessType::Load, 0>(p); in __hwasan_load1()
438 CheckAddress<ErrorAction::Abort, AccessType::Load, 1>(p); in __hwasan_load2()
441 CheckAddress<ErrorAction::Abort, AccessType::Load, 2>(p); in __hwasan_load4()
444 CheckAddress<ErrorAction::Abort, AccessType::Load, 3>(p); in __hwasan_load8()
447 CheckAddress<ErrorAction::Abort, AccessType::Load, 4>(p); in __hwasan_load16()
454 CheckAddress<ErrorAction::Recover, AccessType::Load, 0>(p); in __hwasan_load1_noabort()
457 CheckAddress<ErrorAction::Recover, AccessType::Load, 1>(p); in __hwasan_load2_noabort()
460 CheckAddress<ErrorAction::Recover, AccessType::Load, 2>(p); in __hwasan_load4_noabort()
463 CheckAddress<ErrorAction::Recover, AccessType::Load, 3>(p); in __hwasan_load8_noabort()
[all …]
H A Dhwasan_memintrinsics.cpp33 CheckAddressSized<ErrorAction::Recover, AccessType::Load>( in __hwasan_memcpy()
41 CheckAddressSized<ErrorAction::Recover, AccessType::Load>( in __hwasan_memmove()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1090 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1191 if (!Load || !Load->hasNUsesOfValue(1, 0)) in tryGather()
1202 SDLoc DL(Load); in tryGather()
1263 SDValue Load = StoredVal->getOperand(0); in isFusableLoadOpStorePattern() local
1265 if (!ISD::isNormalLoad(Load.getNode())) in isFusableLoadOpStorePattern()
1269 LoadNode = cast<LoadSDNode>(Load); in isFusableLoadOpStorePattern()
1272 if (!Load.hasOneUse()) in isFusableLoadOpStorePattern()
1285 if (Chain == Load.getValue(1)) { in isFusableLoadOpStorePattern()
1295 if (Op == Load.getValue(1)) { in isFusableLoadOpStorePattern()
1419 if (Load->isInvariant() && Load->isDereferenceable()) in canUseBlockOperation()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp413 if (!Load) in lowerGather()
415 if (!Load) in lowerGather()
417 if (!Load) in lowerGather()
423 Load = SelectInst::Create(Mask, Load, PassThru); in lowerGather()
424 Builder.Insert(Load); in lowerGather()
436 return Load; in lowerGather()
542 Instruction *Load = nullptr; in tryCreateMaskedGatherOffset() local
557 Load = TruncInst::Create(Instruction::Trunc, Load, MemoryTy); in tryCreateMaskedGatherOffset()
558 Builder.Insert(Load); in tryCreateMaskedGatherOffset()
560 return Load; in tryCreateMaskedGatherOffset()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp728 for (const auto &Load : Obj->load_commands()) { in printMachODataInCode() local
729 if (Load.C.cmd == MachO::LC_DATA_IN_CODE) { in printMachODataInCode()
750 for (const auto &Load : Obj->load_commands()) { in printMachOVersionMin() local
752 switch (Load.C.cmd) { in printMachOVersionMin()
774 if (Load.C.cmd == MachO::LC_BUILD_VERSION) { in printMachOVersionMin()
813 for (const auto &Load : Obj->load_commands()) { in printMachODysymtab() local
814 if (Load.C.cmd == MachO::LC_DYSYMTAB) { in printMachODysymtab()
841 if (Load.C.cmd == MachO::LC_SEGMENT || Load.C.cmd == MachO::LC_SEGMENT_64) { in printMachOSegment()
843 getSegment(Obj, Load, MOSegment); in printMachOSegment()
862 if (Load.C.cmd == MachO::LC_DYSYMTAB) { in printMachOIndirectSymbols()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DP9InstrResources.td780 // Cracked Load Instruction.
781 // Requires Load and ALU pieces totaling 6 cycles. The Load and ALU
790 // Requires Load and ALU pieces totaling 6 cycles. The Load and ALU
808 // Cracked Load Instruction.
816 // Cracked Load instruction.
817 // Requires consecutive Load and ALU pieces totaling 6 cycles. The Load and ALU
829 // Requires consecutive Load and ALU pieces totaling 6 cycles. The Load and ALU
838 // Cracked Load instruction.
839 // Requires consecutive Load and ALU pieces totaling 7 cycles. The Load and ALU
861 // Requires consecutive Load and ALU pieces totaling 8 cycles. The Load and ALU
[all …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsEVAInstrInfo.td19 // Memory Load/Store EVA encodings
36 // Load-linked EVA, Store-conditional EVA encodings
52 // Memory Load/Store EVA descriptions
89 // Load/Store Left/Right EVA descriptions
124 // Load-linked EVA, Store-conditional EVA descriptions
186 /// Load and Store EVA Instructions
202 /// Load-linked EVA, Store-conditional EVA
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp218 for (const auto &Load : MachO->load_commands()) { in printDarwinSectionSizes() local
219 if (Load.C.cmd == MachO::LC_SEGMENT_64) { in printDarwinSectionSizes()
230 MachO::section_64 Sec = MachO->getSection64(Load, J); in printDarwinSectionSizes()
245 } else if (Load.C.cmd == MachO::LC_SEGMENT) { in printDarwinSectionSizes()
246 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load); in printDarwinSectionSizes()
257 MachO::section Sec = MachO->getSection(Load, J); in printDarwinSectionSizes()
287 for (const auto &Load : MachO->load_commands()) { in printDarwinSegmentSizes() local
288 if (Load.C.cmd == MachO::LC_SEGMENT_64) { in printDarwinSegmentSizes()
292 MachO::section_64 Sec = MachO->getSection64(Load, J); in printDarwinSegmentSizes()
314 } else if (Load.C.cmd == MachO::LC_SEGMENT) { in printDarwinSegmentSizes()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp260 MachineSDNode *Load = in selectVLSEG() local
266 SDValue SuperReg = SDValue(Load, 0); in selectVLSEG()
309 SDValue SuperReg = SDValue(Load, 0); in selectVLSEGFF()
351 MachineSDNode *Load = in selectVLXSEG() local
1013 MachineSDNode *Load = in Select() local
1019 ReplaceNode(Node, Load); in Select()
1047 MachineSDNode *Load = in Select() local
1053 ReplaceNode(Node, Load); in Select()
1075 MachineSDNode *Load = in Select() local
1384 MachineSDNode *Load = in Select() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutionUtils.h234 Load(const char *FileName, char GlobalPrefix,
242 return Load(nullptr, GlobalPrefix, std::move(Allow));
267 Load(ObjectLayer &L, const char *FileName);
275 Load(ObjectLayer &L, const char *FileName, const Triple &TT);

12345678910>>...16