Searched refs:Ld (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopVersioningLICM.cpp352 LoadInst *Ld = dyn_cast<LoadInst>(I); local
353 if (!Ld || !Ld->isSimple()) {
358 Value *Ptr = Ld->getPointerOperand();
H A DLoopUnrollAndJamPass.cpp263 if (auto *Ld = dyn_cast<LoadInst>(&I)) {
264 Value *V = Ld->getPointerOperand();
H A DGVNHoist.cpp979 if (auto *Ld = dyn_cast<LoadInst>(Repl)) {
980 Gep = dyn_cast<GetElementPtrInst>(Ld->getPointerOperand());
H A DLoopInterchange.cpp98 if (auto *Ld = dyn_cast<LoadInst>(&I)) {
99 if (!Ld->isSimple())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DGCRootLowering.cpp215 Value *Ld = new LoadInst(CI->getType(), CI->getArgOperand(1), "", CI); local
216 Ld->takeName(CI);
217 CI->replaceAllUsesWith(Ld);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp340 if (auto *Ld = dyn_cast<LoadInst>(SExt->getOperand(0))) {
342 return LoadPairs.count(Ld) || OffsetLoads.count(Ld);
362 auto *Ld = dyn_cast<LoadInst>(&I); local
363 if (!Ld || !Ld->isSimple() ||
364 !Ld->hasOneUse() || !isa<SExtInst>(Ld->user_back()))
366 Loads.push_back(Ld);
H A DARMISelDAGToDAG.cpp4335 SDNode *Ld = CurDAG->getMachineNode(NewOpc, dl, ResTys, Ops); local
4338 CurDAG->setNodeMemRefs(cast<MachineSDNode>(Ld), {MemOp});
4341 SDValue OutChain = isThumb ? SDValue(Ld, 2) : SDValue(Ld, 1);
4345 Result = SDValue(Ld, 0);
4350 dl, MVT::i32, SDValue(Ld, 0), SubRegIdx);
4358 Result = SDValue(Ld, 1);
4363 dl, MVT::i32, SDValue(Ld, 0), SubRegIdx);
H A DARMISelLowering.cpp2731 } else if (LoadSDNode *Ld = dyn_cast<LoadSDNode>(Arg)) {
2739 SDValue Ptr = Ld->getBasePtr();
5366 if (LoadSDNode *Ld = dyn_cast<LoadSDNode>(Op))
5367 return DAG.getLoad(MVT::i32, SDLoc(Op), Ld->getChain(), Ld->getBasePtr(),
5368 Ld->getPointerInfo(), Ld->getAlignment(),
5369 Ld->getMemOperand()->getFlags());
5384 if (LoadSDNode *Ld = dyn_cast<LoadSDNode>(Op)) {
5385 SDValue Ptr = Ld
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp860 if (LoadInst *Ld = dyn_cast<LoadInst>(I->getOperand(0)))
862 if (!Ld->hasOneUse() && Ld->getParent() == I->getParent() &&
952 isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue) { argument
953 if (!Ld->hasOneUse())
955 FoldedValue = Ld;
956 const Instruction *UserI = cast<Instruction>(*Ld->user_begin());
957 unsigned LoadedBits = getScalarSizeInBits(Ld->getType());
H A DSystemZTargetTransformInfo.h102 bool isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue);
H A DSystemZISelLowering.cpp5077 SDNode *Ld = Elems[I].getNode();
5078 UseCounts[Ld]++;
5079 if (LoadMaxUses == nullptr || UseCounts[LoadMaxUses] < UseCounts[Ld])
5080 LoadMaxUses = Ld;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1886 auto *Ld = dyn_cast<LoadInst>(&I); local
1887 if (!Ld) {
1888 recordAnalysis("CantVectorizeInstruction", Ld)
1893 if (!Ld->isSimple() && !IsAnnotatedParallel) {
1894 recordAnalysis("NonSimpleLoad", Ld)
1901 Loads.push_back(Ld);
1902 DepChecker->addAccess(Ld);
1904 collectStridedAccess(Ld);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp1366 SDNode *Ld = CurDAG->getMachineNode(Opc, dl, ResTys, Ops); local
1367 SDValue SuperReg = SDValue(Ld, 0);
1372 ReplaceUses(SDValue(N, NumVecs), SDValue(Ld, 1));
1376 CurDAG->setNodeMemRefs(cast<MachineSDNode>(Ld), {MemOp});
1394 SDNode *Ld = CurDAG->getMachineNode(Opc, dl, ResTys, Ops); local
1397 ReplaceUses(SDValue(N, NumVecs), SDValue(Ld, 0));
1400 SDValue SuperReg = SDValue(Ld, 1);
1409 ReplaceUses(SDValue(N, NumVecs + 1), SDValue(Ld, 2));
1610 SDNode *Ld = CurDAG->getMachineNode(Opc, dl, ResTys, Ops); local
1611 SDValue SuperReg = SDValue(Ld,
1654 SDNode *Ld = CurDAG->getMachineNode(Opc, dl, ResTys, Ops); local
3472 SDNode *Ld = CurDAG->getMachineNode(Op, DL, MVT::i64, MVT::i64, local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp4483 } else if (LoadSDNode *Ld = dyn_cast<LoadSDNode>(Arg)) {
4491 SDValue Ptr = Ld->getBasePtr();
8254 static bool findEltLoadSrc(SDValue Elt, LoadSDNode *&Ld, int64_t &ByteOffset) {
8259 Ld = BaseLd;
8268 return findEltLoadSrc(Elt.getOperand(0), Ld, ByteOffset);
8272 if ((Idx % 8) == 0 && findEltLoadSrc(Elt.getOperand(0), Ld, ByteOffset)) {
8284 findEltLoadSrc(Src, Ld, ByteOffset)) {
8381 LoadSDNode *Ld = Loads[EltIdx];
8386 Loads[BaseIdx] == Ld && ByteOffsets[BaseIdx] == 0);
8388 return DAG.areNonVolatileConsecutiveLoads(Ld, Bas
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp642 if (auto *Ld = dyn_cast<LoadInst>(&I)) {
643 if (!Ld->isSimple())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp3394 LoadSDNode *Ld = cast<LoadSDNode>(N); local
3397 if (Ld->getValueType(0) != MVT::i64 || Ld->getMemoryVT() != MVT::i64)
3402 Ld->getExtensionType(), dl, MVT::v2i32, Ld->getChain(),
3403 Ld->getBasePtr(), Ld->getPointerInfo(), MVT::v2i32, Ld->getAlignment(),
3404 Ld->getMemOperand()->getFlags(), Ld
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2617 const LoadSDNode *Ld = dyn_cast<LoadSDNode>(N); local
2618 return Ld && Ld->getExtensionType() == ISD::NON_EXTLOAD &&
2619 Ld->getAddressingMode() == ISD::UNINDEXED;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp836 til::SExpr *Ld = new (Arena) til::Load(Lp); local
837 til::SExpr *V = addStatement(Ld, nullptr, Pm);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp2767 auto Ld = cast<LoadSDNode>(N); local
2769 return Ld->getAlignment() >= 4 &&
2773 Ld->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS ||
2774 Ld->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS_32BIT
2782 Ld->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS &&
2783 Ld->isSimple() &&
H A DSIISelLowering.cpp7728 SDValue SITargetLowering::widenLoad(LoadSDNode *Ld, DAGCombinerInfo &DCI) const { argument
7730 if (Ld->getAlignment() < 4 || Ld->isDivergent())
7734 unsigned AS = Ld->getAddressSpace();
7737 (AS != AMDGPUAS::GLOBAL_ADDRESS || !Ld->isInvariant()))
7743 EVT MemVT = Ld->getMemoryVT();
7748 SDLoc SL(Ld);
7750 assert((!MemVT.isVector() || Ld->getExtensionType() == ISD::NON_EXTLOAD) &&
7754 SDValue Ptr = Ld->getBasePtr();
7756 MVT::i32, SL, Ld
[all...]
H A DSIISelLowering.h79 SDValue widenLoad(LoadSDNode *Ld, DAGCombinerInfo &DCI) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp9958 MaskedLoadSDNode *Ld = dyn_cast<MaskedLoadSDNode>(N0);
9959 if (!Ld || Ld->getExtensionType() != ISD::NON_EXTLOAD)
9962 if (!TLI.isLoadExtLegal(ExtLoadType, VT, Ld->getValueType(0)))
9968 SDLoc dl(Ld);
9969 SDValue PassThru = DAG.getNode(ExtOpc, dl, VT, Ld->getPassThru());
9971 VT, dl, Ld->getChain(), Ld->getBasePtr(), Ld->getOffset(), Ld
16087 auto *Ld = cast<LoadSDNode>(Val); local
16540 LoadSDNode *Ld = cast<LoadSDNode>(Val); local
16773 LoadSDNode *Ld = cast<LoadSDNode>(LoadNodes[i].MemNode); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp1018 if (LoadInst *Ld = dyn_cast<LoadInst>(R)) {
1020 if (&Ld->getOperandUse(PtrX) == U)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp8760 SDValue Ld; local
8788 Ld = DAG.getMemIntrinsicNode(Op.getOpcode() == ISD::UINT_TO_FP ?
8793 spliceIntoChain(RLI.ResChain, Ld.getValue(1), DAG);
8810 Ld = DAG.getLoad(
8816 SDValue FP = DAG.getNode(FCFOp, dl, FCFTy, Ld);
14281 SDValue Ld = DAG.getMemIntrinsicNode(PPCISD::LXSIZX, dl, local
14287 SDValue ExtOps[] = { Ld, WidthConst };
14291 return DAG.getNode(ConvOp, dl, DstDouble ? MVT::f64 : MVT::f32, Ld);
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeNVPTX.cpp2266 llvm::Value *Ld = CGF.EmitLoadOfScalar(
2275 StaticGlobalized, Ld, IsInSharedMemory, ResAddr};

Completed in 812 milliseconds

12