| /llvm-project-15.0.7/llvm/test/Analysis/CostModel/SystemZ/ |
| H A D | cmp-mem.ll | 7 ; CHECK: Cost Model: Found an estimated cost of 0 for instruction: %Ld = load i8, i8* %Src 8 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction: %Cmp = icmp eq i8 %Ld, 123 11 %Ld = load i8, i8* %Src 12 %Cmp = icmp eq i8 %Ld, 123 19 ; CHECK: Cost Model: Found an estimated cost of 0 for instruction: %Ld = load i16, i16* %Src 23 %Ld = load i16, i16* %Src 24 %Cmp = icmp eq i16 %Ld, 1234
|
| /llvm-project-15.0.7/lld/test/wasm/ |
| H A D | debug-undefined-fs.s | 25 .Ld: label 27 .size .Ld, 4 32 .int32 .Ld
|
| /llvm-project-15.0.7/llvm/test/MC/WebAssembly/ |
| H A D | debuginfo-relocs.s | 17 .Ld: label 19 .size .Ld, 4 24 .int32 .Ld
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 332 if (auto *Ld = dyn_cast<LoadInst>(SExt->getOperand(0))) { in IsNarrowSequence() local 334 return LoadPairs.count(Ld) || OffsetLoads.count(Ld); in IsNarrowSequence() 354 auto *Ld = dyn_cast<LoadInst>(&I); in RecordMemoryOps() local 355 if (!Ld || !Ld->isSimple() || in RecordMemoryOps() 356 !Ld->hasOneUse() || !isa<SExtInst>(Ld->user_back())) in RecordMemoryOps() 358 Loads.push_back(Ld); in RecordMemoryOps()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | GCRootLowering.cpp | 212 Value *Ld = new LoadInst(CI->getType(), CI->getArgOperand(1), "", CI); in DoLowering() local 213 Ld->takeName(CI); in DoLowering() 214 CI->replaceAllUsesWith(Ld); in DoLowering()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPerfHintAnalysis.cpp | 202 const auto *Ld = dyn_cast<LoadInst>(&I); in isGlobalLoadUsedInBB() local 203 if (!Ld) in isGlobalLoadUsedInBB() 205 if (!isGlobalAddr(Ld->getPointerOperand())) in isGlobalLoadUsedInBB() 208 for (const User *Usr : Ld->users()) { in isGlobalLoadUsedInBB()
|
| H A D | AMDGPUISelDAGToDAG.cpp | 2966 auto Ld = cast<LoadSDNode>(N); in isUniformLoad() local 2968 return Ld->getAlign() >= Align(4) && in isUniformLoad() 2969 (((Ld->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS || in isUniformLoad() 2970 Ld->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS_32BIT) && in isUniformLoad() 2973 Ld->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS && in isUniformLoad() 2974 Ld->isSimple() && !N->isDivergent() && in isUniformLoad()
|
| H A D | SIISelLowering.cpp | 8542 if (Ld->getAlign() < Align(4) || Ld->isDivergent()) in widenLoad() 8546 unsigned AS = Ld->getAddressSpace(); in widenLoad() 8555 EVT MemVT = Ld->getMemoryVT(); in widenLoad() 8560 SDLoc SL(Ld); in widenLoad() 8566 SDValue Ptr = Ld->getBasePtr(); in widenLoad() 8569 Ld->getOffset(), Ld->getPointerInfo(), MVT::i32, Ld->getAlign(), in widenLoad() 8570 Ld->getMemOperand()->getFlags(), Ld->getAAInfo(), in widenLoad() 8581 if (Ld->getExtensionType() == ISD::SEXTLOAD) { in widenLoad() 8584 } else if (Ld->getExtensionType() == ISD::ZEXTLOAD || in widenLoad() 8588 assert(Ld->getExtensionType() == ISD::EXTLOAD); in widenLoad() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopVersioningLICM.cpp | 364 LoadInst *Ld = dyn_cast<LoadInst>(I); in instructionSafeForVersioning() local 365 if (!Ld || !Ld->isSimple()) { in instructionSafeForVersioning() 370 Value *Ptr = Ld->getPointerOperand(); in instructionSafeForVersioning()
|
| H A D | LoopUnrollAndJamPass.cpp | 265 if (auto *Ld = dyn_cast<LoadInst>(&I)) { in computeUnrollAndJamCount() local 266 Value *V = Ld->getPointerOperand(); in computeUnrollAndJamCount()
|
| H A D | GVNHoist.cpp | 1073 if (auto *Ld = dyn_cast<LoadInst>(Repl)) { in makeGepOperandsAvailable() local 1074 Gep = dyn_cast<GetElementPtrInst>(Ld->getPointerOperand()); in makeGepOperandsAvailable()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 929 if (LoadInst *Ld = dyn_cast<LoadInst>(I->getOperand(0))) in getCmpSelInstrCost() local 931 if (!Ld->hasOneUse() && Ld->getParent() == I->getParent() && in getCmpSelInstrCost() 1021 isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue) { in isFoldableLoad() argument 1022 if (!Ld->hasOneUse()) in isFoldableLoad() 1024 FoldedValue = Ld; in isFoldableLoad() 1025 const Instruction *UserI = cast<Instruction>(*Ld->user_begin()); in isFoldableLoad() 1026 unsigned LoadedBits = getScalarSizeInBits(Ld->getType()); in isFoldableLoad()
|
| H A D | SystemZTargetTransformInfo.h | 112 bool isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue);
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/ |
| H A D | LLVM-bundle.test | 16 # CHECK: <subdoc subdoc_name="Ld">
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstrFragmentsSIMD.td | 861 auto *Ld = cast<LoadSDNode>(N); 862 return Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize(); 922 auto *Ld = cast<LoadSDNode>(N); 924 Ld->getAlignment() >= Ld->getMemoryVT().getStoreSize(); 1116 auto *Ld = cast<MaskedLoadSDNode>(N); 1117 return Ld->getAlignment() >= Ld->getValueType(0).getStoreSize();
|
| H A D | X86ISelLowering.cpp | 5262 Ld->getValueSizeInBits(0) == 128 && Ld->getAlign() < Align(16)) in mayFoldLoad() 9155 Ld = BaseLd; in findEltLoadSrc() 9568 SDValue Ld; in lowerBuildVectorAsBroadcast() local 25748 SDLoc dl(Ld); in LowerLoad() 33418 SDValue Ops[] = {Ld->getChain(), Ld->getBasePtr()}; in ReplaceNodeResults() 47734 if (!Ld) in combineAndLoadToBZHI() 48966 SDLoc dl(Ld); in combineLoad() 52766 VT, InVT, SDLoc(N), Ld->getChain(), Ld->getBasePtr(), in combineSIntToFP() 52767 Ld->getPointerInfo(), Ld->getOriginalAlign(), DAG); in combineSIntToFP() 54138 return Ld; in combineConcatVectorOps() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | LoopAccessAnalysis.cpp | 2169 auto *Ld = dyn_cast<LoadInst>(&I); in analyzeLoop() local 2170 if (!Ld) { in analyzeLoop() 2171 recordAnalysis("CantVectorizeInstruction", Ld) in analyzeLoop() 2176 if (!Ld->isSimple() && !IsAnnotatedParallel) { in analyzeLoop() 2177 recordAnalysis("NonSimpleLoad", Ld) in analyzeLoop() 2184 Loads.push_back(Ld); in analyzeLoop() 2185 DepChecker->addAccess(Ld); in analyzeLoop() 2187 collectStridedAccess(Ld); in analyzeLoop()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelDAGToDAG.cpp | 1494 SDValue SuperReg = SDValue(Ld, 0); in SelectLoad() 1499 ReplaceUses(SDValue(N, NumVecs), SDValue(Ld, 1)); in SelectLoad() 1527 ReplaceUses(SDValue(N, NumVecs), SDValue(Ld, 0)); in SelectPostLoad() 1530 SDValue SuperReg = SDValue(Ld, 1); in SelectPostLoad() 1539 ReplaceUses(SDValue(N, NumVecs + 1), SDValue(Ld, 2)); in SelectPostLoad() 1741 SDValue SuperReg = SDValue(Ld, 0); in SelectLoadLane() 1753 ReplaceUses(SDValue(N, NumVecs), SDValue(Ld, 1)); in SelectLoadLane() 1787 ReplaceUses(SDValue(N, NumVecs), SDValue(Ld, 0)); in SelectPostLoadLane() 1790 SDValue SuperReg = SDValue(Ld, 1); in SelectPostLoadLane() 1808 ReplaceUses(SDValue(N, NumVecs + 1), SDValue(Ld, 2)); in SelectPostLoadLane() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelDAGToDAG.cpp | 1685 auto *Ld = dyn_cast<LoadSDNode>(Src); in Select() local 1686 if (!Ld) in Select() 1688 EVT MemVT = Ld->getMemoryVT(); in Select() 1711 SDValue Operands[] = {Ld->getBasePtr(), in Select() 1713 Ld->getChain()}; in Select() 1722 CurDAG->setNodeMemRefs(Load, {Ld->getMemOperand()}); in Select()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LoopUnrollAndJam.cpp | 635 if (auto *Ld = dyn_cast<LoadInst>(&I)) { in getLoadsAndStores() local 636 if (!Ld->isSimple()) in getLoadsAndStores()
|
| /llvm-project-15.0.7/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 3530 LoadSDNode *Ld = cast<LoadSDNode>(N); in ReplaceNodeResults() local 3533 if (Ld->getValueType(0) != MVT::i64 || Ld->getMemoryVT() != MVT::i64) in ReplaceNodeResults() 3538 Ld->getExtensionType(), dl, MVT::v2i32, Ld->getChain(), in ReplaceNodeResults() 3539 Ld->getBasePtr(), Ld->getPointerInfo(), MVT::v2i32, in ReplaceNodeResults() 3540 Ld->getOriginalAlign(), Ld->getMemOperand()->getFlags(), in ReplaceNodeResults() 3541 Ld->getAAInfo()); in ReplaceNodeResults()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 11791 if (!Ld || Ld->getExtensionType() != ISD::NON_EXTLOAD) in tryToFoldExtOfMaskedLoad() 11800 SDLoc dl(Ld); in tryToFoldExtOfMaskedLoad() 11803 VT, dl, Ld->getChain(), Ld->getBasePtr(), Ld->getOffset(), Ld->getMask(), in tryToFoldExtOfMaskedLoad() 11804 PassThru, Ld->getMemoryVT(), Ld->getMemOperand(), Ld->getAddressingMode(), in tryToFoldExtOfMaskedLoad() 13114 VT, SDLoc(N), Ld->getChain(), Ld->getBasePtr(), Ld->getOffset(), in visitSIGN_EXTEND_INREG() 13115 Ld->getMask(), Ld->getPassThru(), ExtVT, Ld->getMemOperand(), in visitSIGN_EXTEND_INREG() 13116 Ld->getAddressingMode(), ISD::SEXTLOAD, Ld->isExpandingLoad()); in visitSIGN_EXTEND_INREG() 18085 if (!Ld->isSimple() || Ld->isIndexed()) in getStoreMergeCandidates() 19104 if (Ld->getBasePtr() == Ptr && ST->getMemoryVT() == Ld->getMemoryVT() && in visitSTORE() 21479 if (!Ld || Ld->getExtensionType() || !Ld->isSimple()) in narrowExtractedVectorLoad() [all …]
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ThreadSafetyCommon.cpp | 862 til::SExpr *Ld = new (Arena) til::Load(Lp); in enterCFG() local 863 til::SExpr *V = addStatement(Ld, nullptr, Pm); in enterCFG()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 3026 const LoadSDNode *Ld = dyn_cast<LoadSDNode>(N); 3027 return Ld && Ld->getExtensionType() == ISD::NON_EXTLOAD && 3028 Ld->getAddressingMode() == ISD::UNINDEXED;
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonCommonGEP.cpp | 1015 if (LoadInst *Ld = dyn_cast<LoadInst>(R)) { in separateConstantChains() local 1017 if (&Ld->getOperandUse(PtrX) == U) in separateConstantChains()
|