| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86AvoidStoreForwardingBlocks.cpp | 399 BuildMI(*MBB, LoadInst, LoadInst->getDebugLoc(), TII->get(NLoadOpcode), in buildCopy() 416 if (PrevInstrIt.getNodePtr() == LoadInst) in buildCopy() 417 StInst = LoadInst; in buildCopy() 445 buildCopy(LoadInst, getYMMtoXMMLoadOpcode(LoadInst->getOpcode()), LdDisp, in buildCopies() 511 if (StorePrevNonDbgInstr == LoadInst) in updateKillStatus() 517 if (StorePrevNonDbgInstr == LoadInst) in updateKillStatus() 518 StInst = LoadInst; in updateKillStatus() 690 findPotentialBlockers(LoadInst); in runOnMachineFunction() 717 LLVM_DEBUG(LoadInst->dump()); in runOnMachineFunction() 722 updateKillStatus(LoadInst, StoreInst); in runOnMachineFunction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 75 return isa<LoadInst>(LHS) && isa<LoadInst>(RHS); in HasTwoLoadInputs() 199 LoadInst *NewLd = nullptr; 203 WidenedLoad(SmallVectorImpl<LoadInst*> &Lds, LoadInst *Wide) in WidenedLoad() 207 LoadInst *getLoad() { in getLoad() 219 std::map<LoadInst*, LoadInst*> LoadPairs; 228 bool AreSequentialLoads(LoadInst *Ld0, LoadInst *Ld1, MemInstList &VecMem); 302 bool ARMParallelDSP::AreSequentialLoads(LoadInst *Ld0, LoadInst *Ld1, in AreSequentialLoads() 385 auto SafeToPair = [&](LoadInst *Base, LoadInst *Offset) { in RecordMemoryOps() 624 auto CreateSMLAD = [&](LoadInst* WideLd0, LoadInst *WideLd1, in InsertParallelMACs() 732 LoadInst *Base = Loads[0]; in CreateWideLoad() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | Local.h | 53 class LoadInst; variable 251 LoadInst *LI, DIBuilder &Builder); 376 void copyMetadataForLoad(LoadInst &Dest, const LoadInst &Source); 410 void copyNonnullMetadata(const LoadInst &OldLI, MDNode *N, LoadInst &NewLI); 416 void copyRangeMetadata(const DataLayout &DL, const LoadInst &OldLI, MDNode *N, 417 LoadInst &NewLI);
|
| H A D | VNCoercion.h | 27 class LoadInst; variable 62 int analyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, LoadInst *DepLI, 87 Value *getLoadValueForLoad(LoadInst *SrcVal, unsigned Offset, Type *LoadTy,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAnnotateUniformValues.cpp | 51 void visitLoadInst(LoadInst &I); 52 bool isClobberedInFunction(LoadInst * Load); 73 bool AMDGPUAnnotateUniformValues::isClobberedInFunction(LoadInst * Load) { in isClobberedInFunction() 83 void AMDGPUAnnotateUniformValues::visitLoadInst(LoadInst &I) { in visitLoadInst() 87 auto isGlobalLoad = [&](LoadInst &Load)->bool { in visitLoadInst()
|
| H A D | AMDGPULateCodeGenPrepare.cpp | 77 bool canWidenScalarExtLoad(LoadInst &LI) const; 78 bool visitLoadInst(LoadInst &LI); 106 bool AMDGPULateCodeGenPrepare::canWidenScalarExtLoad(LoadInst &LI) const { in canWidenScalarExtLoad() 130 bool AMDGPULateCodeGenPrepare::visitLoadInst(LoadInst &LI) { in visitLoadInst() 173 LoadInst *NewLd = IRB.CreateAlignedLoad(IRB.getInt32Ty(), NewPtr, Align(4)); in visitLoadInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 165 if (LoadInst *L = dyn_cast<LoadInst>(UI)) in doPromotion() 187 LoadInst *OrigLoad; in doPromotion() 188 if (LoadInst *L = dyn_cast<LoadInst>(UI)) in doPromotion() 288 LoadInst *OrigLoad = in doPromotion() 312 LoadInst *newLoad = in doPromotion() 429 if (LoadInst *LI = dyn_cast<LoadInst>(I->user_back())) { in doPromotion() 465 LoadInst *L = cast<LoadInst>(GEP->user_back()); in doPromotion() 623 if (LoadInst *LI = dyn_cast<LoadInst>(&I)) { in isSafeToPromoteArgument() 663 if (LoadInst *LI = dyn_cast<LoadInst>(UR)) { in isSafeToPromoteArgument() 692 if (LoadInst *LI = dyn_cast<LoadInst>(GEPU)) { in isSafeToPromoteArgument() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerArgs.cpp | 174 if (auto *LI = dyn_cast<LoadInst>(I.OldInstruction)) { in convertToParamAS() 241 if (isa<GetElementPtrInst>(V) || isa<BitCastInst>(V) || isa<LoadInst>(V)) in handleByValParam() 259 if (!isa<LoadInst>(V)) in handleByValParam() 296 LoadInst *LI = in handleByValParam() 297 new LoadInst(StructType, ArgInParam, Arg->getName(), in handleByValParam() 338 if (LoadInst *LI = dyn_cast<LoadInst>(&I)) { in runOnKernelFunction()
|
| H A D | NVPTXLowerAggrCopies.cpp | 60 SmallVector<LoadInst *, 4> AggrLoads; in runOnFunction() 72 if (LoadInst *LI = dyn_cast<LoadInst>(II)) { in runOnFunction() 105 for (LoadInst *LI : AggrLoads) { in runOnFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | Loads.h | 25 class LoadInst; variable 83 bool isDereferenceableAndAlignedInLoop(LoadInst *LI, Loop *L, 129 Value *FindAvailableLoadedValue(LoadInst *Load, 141 Value *FindAvailableLoadedValue(LoadInst *Load, AAResults &AA, bool *IsLoadCSE,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemDerefPrinter.cpp | 58 if (LoadInst *LI = dyn_cast<LoadInst>(&I)) { in runOnFunction() 93 if (LoadInst *LI = dyn_cast<LoadInst>(&I)) { in run()
|
| H A D | ObjCARCAnalysisUtils.cpp | 39 if (const LoadInst *LI = dyn_cast<LoadInst>(Op)) in IsPotentialRetainableObjPtr()
|
| H A D | MemoryDependenceAnalysis.cpp | 118 if (const LoadInst *LI = dyn_cast<LoadInst>(Inst)) { in GetLocation() 252 if (auto *LI = dyn_cast<LoadInst>(QueryInst)) { in getPointerDependencyFrom() 346 if ((isa<LoadInst>(U) || in getInvariantGroupPointerDependency() 412 LoadInst *LI = dyn_cast<LoadInst>(QueryInst); in getSimplePointerDependencyFrom() 420 if (auto *LI = dyn_cast<LoadInst>(I)) in getSimplePointerDependencyFrom() 484 if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) { in getSimplePointerDependencyFrom() 845 bool isLoad = isa<LoadInst>(QueryInst); in getNonLocalPointerDependency() 872 if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) { in getNonLocalPointerDependency() 912 if (LoadInst *LI = dyn_cast_or_null<LoadInst>(QueryInst)) in getNonLocalInfoForBlock() 1055 if (LoadInst *LI = dyn_cast_or_null<LoadInst>(QueryInst)) in getNonLocalPointerDepFromBB() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | GVN.h | 47 class LoadInst; variable 313 bool processLoad(LoadInst *L); 314 bool processNonLocalLoad(LoadInst *L); 320 bool AnalyzeLoadAvailability(LoadInst *Load, MemDepResult DepInfo, 326 void AnalyzeLoadAvailability(LoadInst *Load, LoadDepVect &Deps, 330 bool PerformLoadPRE(LoadInst *Load, AvailValInBlkVect &ValuesPerBlock, 336 bool performLoopLoadPRE(LoadInst *Load, AvailValInBlkVect &ValuesPerBlock, 342 LoadInst *Load, AvailValInBlkVect &ValuesPerBlock,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SSAUpdater.cpp | 327 if (const LoadInst *LI = dyn_cast<LoadInst>(Insts[0])) in LoadAndStorePromoter() 349 SmallVector<LoadInst *, 32> LiveInLoads; in run() 368 LiveInLoads.push_back(cast<LoadInst>(User)); in run() 387 LiveInLoads.push_back(cast<LoadInst>(I)); in run() 399 if (LoadInst *L = dyn_cast<LoadInst>(&I)) { in run() 433 for (LoadInst *ALoad : LiveInLoads) { in run() 466 replaceLoadWithValue(cast<LoadInst>(User), NewVal); in run()
|
| H A D | PromoteMemoryToRegister.cpp | 67 if (const LoadInst *LI = dyn_cast<LoadInst>(U)) { in isAllocaPromotable() 140 LoadInst *LI = cast<LoadInst>(User); in AnalyzeAlloca() 189 return (isa<LoadInst>(I) && isa<AllocaInst>(I->getOperand(0))) || in isInterestingInstruction() 301 static void addAssumeNonNull(AssumptionCache *AC, LoadInst *LI) { in addAssumeNonNull() 318 if (isa<LoadInst>(I) || isa<StoreInst>(I)) in removeIntrinsicUsers() 369 LoadInst *LI = cast<LoadInst>(UserInst); in rewriteSingleStoreAlloca() 480 LoadInst *LI = dyn_cast<LoadInst>(U); in promoteSingleBlockAlloca() 818 if (LoadInst *LI = dyn_cast<LoadInst>(I)) in ComputeLiveInBlocks() 947 if (LoadInst *LI = dyn_cast<LoadInst>(I)) { in RenamePass()
|
| H A D | GlobalStatus.cpp | 87 if (const LoadInst *LI = dyn_cast<LoadInst>(I)) { in analyzeGlobalAux() 122 } else if (isa<LoadInst>(StoredVal) && in analyzeGlobalAux() 123 cast<LoadInst>(StoredVal)->getOperand(0) == GV) { in analyzeGlobalAux()
|
| H A D | RelLookupTableConverter.cpp | 44 LoadInst *Load = dyn_cast<LoadInst>(GEP->use_begin()->getUser()); in shouldConvertToRelLookupTable() 130 LoadInst *Load = cast<LoadInst>(GEP->use_begin()->getUser()); in convertToRelLookupTable()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerAtomic.cpp | 30 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); in LowerAtomicCmpXchgInst() 48 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); in lowerAtomicRMWInst() 108 static bool LowerLoadInst(LoadInst *LI) { in LowerLoadInst() 127 else if (LoadInst *LI = dyn_cast<LoadInst>(&Inst)) { in runOnBasicBlock()
|
| H A D | LoopLoadElimination.cpp | 90 LoadInst *Load; 93 StoreToLoadForwardingCandidate(LoadInst *Load, StoreInst *Store) in StoreToLoadForwardingCandidate() 156 static bool isLoadConditional(LoadInst *Load, Loop *L) { in isLoadConditional() 194 if (isa<LoadInst>(Source)) in findStoreToLoadDependences() 196 if (isa<LoadInst>(Destination)) in findStoreToLoadDependences() 212 auto *Load = dyn_cast<LoadInst>(Destination); in findStoreToLoadDependences() 262 DenseMap<LoadInst *, const StoreToLoadForwardingCandidate *>; in removeDependencesFromMultipleStores() 343 LoadInst *LastLoad = in findPointersWrittenOnForwardingPath() 435 Value *Initial = new LoadInst( in propagateStoredValueToLoadUsers()
|
| H A D | SROA.cpp | 976 if (LoadInst *LI = dyn_cast<LoadInst>(I)) { in hasUnsafePHIOrSelectUse() 1149 if (LoadInst *LI = dyn_cast<LoadInst>(U->getUser())) { in findCommonType() 1212 LoadInst *LI = dyn_cast<LoadInst>(U); in isSafePHIToSpeculate() 1270 LoadInst *SomeLoad = cast<LoadInst>(PN.user_back()); in speculatePHINodeLoads() 1284 LoadInst *LI = cast<LoadInst>(PN.user_back()); in speculatePHINodeLoads() 1340 LoadInst *LI = dyn_cast<LoadInst>(U); in isSafeSelectToSpeculate() 1366 LoadInst *LI = cast<LoadInst>(SI.user_back()); in speculateSelectInstLoads() 1857 } else if (LoadInst *LI = dyn_cast<LoadInst>(U->getUser())) { in isVectorPromotionViableForSlice() 2027 if (LoadInst *LI = dyn_cast<LoadInst>(U->getUser())) { in isIntegerWideningViableForSlice() 3166 if (LoadInst *LI = dyn_cast<LoadInst>(I)) { in fixLoadStoreAlign() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | InterleavedLoadCombinePass.cpp | 95 LoadInst *findFirstLoad(const std::set<LoadInst *> &LIs); 652 LoadInst *LI; 654 ElementInfo(Polynomial Offset = Polynomial(), LoadInst *LI = nullptr) in ElementInfo() 665 std::set<LoadInst *> LIs; 717 LoadInst *LI = dyn_cast<LoadInst>(V); in compute() 869 static bool computeFromLI(LoadInst *LI, VectorInfo &Result, in computeFromLI() 1102 LoadInst * 1112 return cast<LoadInst>(FLI); in findFirstLoad() 1122 LoadInst *InsertionPoint = InterleavedLoad.front().EI[0].LI; in combine() 1128 std::set<LoadInst *> LIs; in combine() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 60 if (auto *LI = dyn_cast<LoadInst>(I)) { in isOnlyCopiedFromConstantMemory() 265 if (auto *Load = dyn_cast<LoadInst>(Inst)) { in collectUsers() 294 if (auto *LT = dyn_cast<LoadInst>(I)) { in replace() 471 LoadInst *InstCombinerImpl::combineLoadToNewType(LoadInst &LI, Type *NewTy, in combineLoadToNewType() 484 LoadInst *NewLoad = Builder.CreateAlignedLoad( in combineLoadToNewType() 949 Instruction *InstCombinerImpl::visitLoadInst(LoadInst &LI) { in visitLoadInst() 1020 LoadInst *V1 = in visitLoadInst() 1023 LoadInst *V2 = in visitLoadInst() 1312 auto *LI = cast<LoadInst>(SI.getValueOperand()); in removeBitcastsFromLoadStoreOnMinMax() 1340 LoadInst *NewLI = IC.combineLoadToNewType(*LI, CmpLoadTy); in removeBitcastsFromLoadStoreOnMinMax() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | IRForTarget.cpp | 756 LoadInst *load = dyn_cast<LoadInst>(selector_load); in RewriteObjCSelector() 886 if (LoadInst *load = dyn_cast<LoadInst>(&inst)) in RewriteObjCSelectors() 918 LoadInst *load = dyn_cast<LoadInst>(class_load); in RewriteObjCClassReference() 1038 if (LoadInst *load = dyn_cast<LoadInst>(&inst)) in RewriteObjCClassReferences() 1115 LoadInst *persistent_load = in RewritePersistentAlloc() 1116 new LoadInst(persistent_global->getType()->getPointerElementType(), in RewritePersistentAlloc() 1351 SmallVector<LoadInst *, 2> load_instructions; in HandleObjCClass() 1354 if (LoadInst *load_instruction = dyn_cast<LoadInst>(u)) in HandleObjCClass() 1363 for (LoadInst *load_instruction : load_instructions) { in HandleObjCClass() 1506 if (LoadInst *load = dyn_cast<LoadInst>(&inst)) in RemoveGuards() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
| H A D | RenderScriptx86ABIFixups.cpp | 189 llvm::LoadInst *new_func_addr_load = in fixupX86StructRetCalls() 190 new llvm::LoadInst(new_func_ptr->getType()->getPointerElementType(), in fixupX86StructRetCalls() 198 llvm::LoadInst *lldb_save_result_address = new llvm::LoadInst( in fixupX86StructRetCalls()
|