Home
last modified time | relevance | path

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

12345678910>>...18

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DGVN.cpp210 static AvailableValue getLoad(LoadInst *Load, unsigned Offset = 0) { in getLoad()
212 Res.Val.setPointer(Load); in getLoad()
248 Value *MaterializeAdjustedValue(LoadInst *Load, Instruction *InsertPt,
279 Value *MaterializeAdjustedValue(LoadInst *Load, GVN &gvn) const { in MaterializeAdjustedValue()
280 return AV.MaterializeAdjustedValue(Load, BB->getTerminator(), gvn); in MaterializeAdjustedValue()
836 ConstructSSAForLoadSet(LoadInst *Load, in ConstructSSAForLoadSet() argument
843 Load->getParent())) { in ConstructSSAForLoadSet()
846 return ValuesPerBlock[0].MaterializeAdjustedValue(Load, gvn); in ConstructSSAForLoadSet()
852 SSAUpdate.Initialize(Load->getType(), Load->getName()); in ConstructSSAForLoadSet()
867 if (BB == Load->getParent() && in ConstructSSAForLoadSet()
[all …]
DLoopLoadElimination.cpp90 LoadInst *Load; member
93 StoreToLoadForwardingCandidate(LoadInst *Load, StoreInst *Store) in StoreToLoadForwardingCandidate()
94 : Load(Load), Store(Store) {} in StoreToLoadForwardingCandidate()
100 Value *LoadPtr = Load->getPointerOperand(); in isDependenceDistanceOfOne()
102 Type *LoadType = getLoadStoreType(Load); in isDependenceDistanceOfOne()
116 auto &DL = Load->getParent()->getModule()->getDataLayout(); in isDependenceDistanceOfOne()
130 Value *getLoadPtr() const { return Load->getPointerOperand(); } in getLoadPtr()
136 OS.indent(2) << *Cand.Load << "\n"; in operator <<()
156 static bool isLoadConditional(LoadInst *Load, Loop *L) { in isLoadConditional() argument
157 return Load->getParent() != L->getHeader(); in isLoadConditional()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Object/
DMachOObjectFile.cpp277 const MachOObjectFile &Obj, const MachOObjectFile::LoadCommandInfo &Load, in parseSegmentLoadCommand() argument
282 if (Load.C.cmdsize < SegmentLoadSize) in parseSegmentLoadCommand()
285 if (auto SegOrErr = getStructOrErr<Segment>(Obj, Load.Ptr)) { in parseSegmentLoadCommand()
290 S.nsects * SectionSize > Load.C.cmdsize - SegmentLoadSize) in parseSegmentLoadCommand()
295 const char *Sec = getSectionPtr(Obj, Load, J); in parseSegmentLoadCommand()
401 const MachOObjectFile::LoadCommandInfo &Load, in checkSymtabCommand() argument
405 if (Load.C.cmdsize < sizeof(MachO::symtab_command)) in checkSymtabCommand()
410 auto SymtabOrErr = getStructOrErr<MachO::symtab_command>(Obj, Load.Ptr); in checkSymtabCommand()
454 *SymtabLoadCmd = Load.Ptr; in checkSymtabCommand()
459 const MachOObjectFile::LoadCommandInfo &Load, in checkDysymtabCommand() argument
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
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()
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()
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-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
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-12-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp197 static StoreInst *findSafeStoreForStoreStrongContraction(LoadInst *Load, in findSafeStoreForStoreStrongContraction() argument
205 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()
351 findSafeStoreForStoreStrongContraction(Load, Release, PA, AA); in tryToContractReleaseIntoStoreStrong()
377 << " Load: " << *Load << "\n"); in tryToContractReleaseIntoStoreStrong()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
DVectorCombine.cpp122 auto *Load = dyn_cast<LoadInst>(X); in vectorizeLoadInsert() local
123 if (!Load || !Load->isSimple() || !Load->hasOneUse() || in vectorizeLoadInsert()
124 Load->getFunction()->hasFnAttribute(Attribute::SanitizeMemTag) || in vectorizeLoadInsert()
125 mustSuppressSpeculation(*Load)) in vectorizeLoadInsert()
129 Value *SrcPtr = Load->getPointerOperand()->stripPointerCasts(); in vectorizeLoadInsert()
135 unsigned AS = Load->getPointerAddressSpace(); in vectorizeLoadInsert()
137 SrcPtr = Load->getPointerOperand(); in vectorizeLoadInsert()
155 Align Alignment = Load->getAlign(); in vectorizeLoadInsert()
156 if (!isSafeToLoadUnconditionally(SrcPtr, MinVecTy, Align(1), DL, Load, &DT)) { in vectorizeLoadInsert()
181 if (!isSafeToLoadUnconditionally(SrcPtr, MinVecTy, Align(1), DL, Load, &DT)) in vectorizeLoadInsert()
[all …]
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-12-stable/share/examples/bootforth/
Dloader.rc7 \ Load configuration file words
13 \ Load the screen manipulation words
18 \ Load frame support
22 \ Load our little menu
Dboot.4th5 \ Load the screen manipulation words
12 \ Load frame support
16 \ Load our little menu
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
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()
605 Value *llvm::FindAvailableLoadedValue(LoadInst *Load, AAResults &AA, in FindAvailableLoadedValue() argument
608 const DataLayout &DL = Load->getModule()->getDataLayout(); in FindAvailableLoadedValue()
609 Value *StrippedPtr = Load->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
610 BasicBlock *ScanBB = Load->getParent(); in FindAvailableLoadedValue()
611 Type *AccessTy = Load->getType(); in FindAvailableLoadedValue()
612 bool AtLeastAtomic = Load->isAtomic(); in FindAvailableLoadedValue()
[all …]
DValueLatticeUtils.cpp36 if (auto *Load = dyn_cast<LoadInst>(U)) in canTrackGlobalVariableInterprocedurally() local
37 return !Load->isVolatile(); in canTrackGlobalVariableInterprocedurally()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp330 bool canUseBlockOperation(StoreSDNode *Store, LoadSDNode *Load) const;
998 else if (auto *Load = dyn_cast<LoadSDNode>(RISBG.Input)) { in tryRISBGZero() local
999 if (Load->getMemoryVT() == MVT::i32 && in tryRISBGZero()
1000 (Load->getExtensionType() == ISD::EXTLOAD || in tryRISBGZero()
1001 Load->getExtensionType() == ISD::ZEXTLOAD) && in tryRISBGZero()
1089 if (auto *Load = dyn_cast<LoadSDNode>(Op0.getNode())) in tryRxSBG() local
1090 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1190 auto *Load = dyn_cast<LoadSDNode>(N->getOperand(1)); in tryGather() local
1191 if (!Load || !Load->hasNUsesOfValue(1, 0)) in tryGather()
1193 if (Load->getMemoryVT().getSizeInBits() != in tryGather()
[all …]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
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()
451 CheckAddressSized<ErrorAction::Recover, AccessType::Load>(p, sz); in __hwasan_loadN_noabort()
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()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DMVEGatherScatterLowering.cpp412 Instruction *Load = tryCreateIncrementingGatScat(I, Ptr, Builder); in lowerGather() local
413 if (!Load) in lowerGather()
414 Load = tryCreateMaskedGatherOffset(I, Ptr, Root, Builder); in lowerGather()
415 if (!Load) in lowerGather()
416 Load = tryCreateMaskedGatherBase(I, Ptr, Builder); in lowerGather()
417 if (!Load) in lowerGather()
423 Load = SelectInst::Create(Mask, Load, PassThru); in lowerGather()
424 Builder.Insert(Load); in lowerGather()
427 Root->replaceAllUsesWith(Load); in lowerGather()
435 << *Load << "\n"); in lowerGather()
[all …]
DARMScheduleV6.td126 // Load multiple, def is the 5th operand.
129 // Load multiple + update, defs are the 1st and 5th operands.
132 // Load multiple plus branch
275 // Single-precision FP Load
278 // Double-precision FP Load
281 // FP Load Multiple
284 // FP Load Multiple + update
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
DMachODumper.cpp728 for (const auto &Load : Obj->load_commands()) { in printMachODataInCode() local
729 if (Load.C.cmd == MachO::LC_DATA_IN_CODE) { in printMachODataInCode()
730 MachO::linkedit_data_command LLC = Obj->getLinkeditDataLoadCommand(Load); 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()
775 MachO::build_version_command BVC = Obj->getBuildVersionLoadCommand(Load); in printMachOVersionMin()
788 MachO::version_min_command VMC = Obj->getVersionMinLoadCommand(Load); in printMachOVersionMin()
813 for (const auto &Load : Obj->load_commands()) { in printMachODysymtab() local
814 if (Load.C.cmd == MachO::LC_DYSYMTAB) { in printMachODysymtab()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
DP9InstrResources.td29 // - Four Load/Store Queues. P9_LS_*
705 // 6 Cycle Load uses a single slice.
711 // 5 Cycle Load uses a single slice.
730 // 4 Cycle Load uses a single slice.
767 // Cracked Load Instructions.
768 // Load instructions that can be done in parallel.
780 // 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.
[all …]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
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-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/
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-12-stable/contrib/llvm-project/llvm/tools/llvm-size/
Dllvm-size.cpp218 for (const auto &Load : MachO->load_commands()) { in printDarwinSectionSizes() local
219 if (Load.C.cmd == MachO::LC_SEGMENT_64) { in printDarwinSectionSizes()
220 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load); 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()
289 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load); in printDarwinSegmentSizes()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
DRISCVISelDAGToDAG.cpp260 MachineSDNode *Load = in selectVLSEG() local
264 CurDAG->setNodeMemRefs(Load, {MemOp->getMemOperand()}); in selectVLSEG()
266 SDValue SuperReg = SDValue(Load, 0); in selectVLSEG()
273 ReplaceUses(SDValue(Node, NF), SDValue(Load, 1)); in selectVLSEG()
301 MachineSDNode *Load = CurDAG->getMachineNode(P->Pseudo, DL, MVT::Untyped, in selectVLSEGFF() local
304 /*Glue*/ SDValue(Load, 2)); in selectVLSEGFF()
307 CurDAG->setNodeMemRefs(Load, {MemOp->getMemOperand()}); in selectVLSEGFF()
309 SDValue SuperReg = SDValue(Load, 0); in selectVLSEGFF()
317 ReplaceUses(SDValue(Node, NF + 1), SDValue(Load, 1)); // Chain in selectVLSEGFF()
351 MachineSDNode *Load = in selectVLXSEG() local
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
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>>...18