Home
last modified time | relevance | path

Searched refs:NewLoad (Results 1 – 22 of 22) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp56 auto *NewLoad = new LoadInst( in newSource() local
60 if (Pred.matches(Srcs, NewLoad)) in newSource()
61 RS.sample(NewLoad, RS.totalWeight()); in newSource()
63 NewLoad->eraseFromParent(); in newSource()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp514 LoadInst *NewLoad = Builder.CreateLoad(DestTy, PtrVal); in getLoadValueForLoad() local
515 NewLoad->takeName(SrcVal); in getLoadValueForLoad()
516 NewLoad->setAlignment(SrcVal->getAlign()); in getLoadValueForLoad()
519 LLVM_DEBUG(dbgs() << "TO: " << *NewLoad << "\n"); in getLoadValueForLoad()
523 Value *RV = NewLoad; in getLoadValueForLoad()
529 SrcVal = NewLoad; in getLoadValueForLoad()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp484 LoadInst *NewLoad = Builder.CreateAlignedLoad( in combineLoadToNewType() local
486 NewLoad->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in combineLoadToNewType()
487 copyMetadataForLoad(*NewLoad, LI); in combineLoadToNewType()
488 return NewLoad; in combineLoadToNewType()
621 LoadInst *NewLoad = IC.combineLoadToNewType(LI, CI->getDestTy()); in combineLoadToOperationType() local
622 CI->replaceAllUsesWith(NewLoad); in combineLoadToOperationType()
654 NewLoad->setAAMetadata(AAMD); in unpackLoadToAggregate()
656 UndefValue::get(T), NewLoad, 0, Name)); in unpackLoadToAggregate()
697 LoadInst *NewLoad = IC.combineLoadToNewType(LI, ET, ".unpack"); in unpackLoadToAggregate() local
700 NewLoad->setAAMetadata(AAMD); in unpackLoadToAggregate()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVN.cpp1192 auto *NewLoad = in eliminatePartiallyRedundantLoad() local
1196 NewLoad->setDebugLoc(Load->getDebugLoc()); in eliminatePartiallyRedundantLoad()
1206 NewLoad, DefiningAcc, NewLoad->getParent(), in eliminatePartiallyRedundantLoad()
1218 NewLoad->setAAMetadata(Tags); in eliminatePartiallyRedundantLoad()
1221 NewLoad->setMetadata(LLVMContext::MD_invariant_load, MD); in eliminatePartiallyRedundantLoad()
1223 NewLoad->setMetadata(LLVMContext::MD_invariant_group, InvGroupMD); in eliminatePartiallyRedundantLoad()
1225 NewLoad->setMetadata(LLVMContext::MD_range, RangeMD); in eliminatePartiallyRedundantLoad()
1229 NewLoad->setMetadata(LLVMContext::MD_access_group, AccessMD); in eliminatePartiallyRedundantLoad()
1239 AvailableValueInBlock::get(UnavailableBlock, NewLoad)); in eliminatePartiallyRedundantLoad()
1241 LLVM_DEBUG(dbgs() << "GVN INSERTED " << *NewLoad << '\n'); in eliminatePartiallyRedundantLoad()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AvoidStoreForwardingBlocks.cpp398 MachineInstr *NewLoad = in buildCopy() local
409 getBaseOperand(NewLoad).setIsKill(false); in buildCopy()
410 LLVM_DEBUG(NewLoad->dump()); in buildCopy()
H A DX86InterleavedAccess.cpp224 Instruction *NewLoad = in decompose() local
226 DecomposedVectors.push_back(NewLoad); in decompose()
H A DX86ISelLowering.cpp30235 SDValue NewLoad = DAG.getMaskedLoad( in LowerMLOAD() local
30241 SDValue Select = DAG.getNode(ISD::VSELECT, dl, VT, Mask, NewLoad, PassThru); in LowerMLOAD()
30242 return DAG.getMergeValues({ Select, NewLoad.getValue(1) }, dl); in LowerMLOAD()
30272 SDValue NewLoad = DAG.getMaskedLoad( in LowerMLOAD() local
30278 DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, VT, NewLoad.getValue(0), in LowerMLOAD()
30280 SDValue RetOps[] = {Extract, NewLoad.getValue(1)}; in LowerMLOAD()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp936 auto *NewLoad = cast<LoadInst>(Builder.CreateLoad( in scalarizeLoadExtract() local
941 NewLoad->setAlignment(ScalarOpAlignment); in scalarizeLoadExtract()
943 replaceValue(*EI, *NewLoad); in scalarizeLoadExtract()
H A DLoopVectorize.cpp2777 Instruction *NewLoad; in vectorizeInterleaveGroup() local
2793 NewLoad = in vectorizeInterleaveGroup()
2798 NewLoad = Builder.CreateAlignedLoad(VecTy, AddrParts[Part], in vectorizeInterleaveGroup()
2800 Group->addMetadata(NewLoad); in vectorizeInterleaveGroup()
2801 NewLoads.push_back(NewLoad); in vectorizeInterleaveGroup()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp1373 SDValue NewLoad; in ExpandExtractFromVectorThroughStack() local
1378 NewLoad = in ExpandExtractFromVectorThroughStack()
1382 NewLoad = DAG.getExtLoad(ISD::EXTLOAD, dl, Op.getValueType(), Ch, StackPtr, in ExpandExtractFromVectorThroughStack()
1388 DAG.ReplaceAllUsesOfValueWith(Ch, SDValue(NewLoad.getNode(), 1)); in ExpandExtractFromVectorThroughStack()
1392 SmallVector<SDValue, 6> NewLoadOperands(NewLoad->op_begin(), in ExpandExtractFromVectorThroughStack()
1393 NewLoad->op_end()); in ExpandExtractFromVectorThroughStack()
1395 NewLoad = in ExpandExtractFromVectorThroughStack()
1396 SDValue(DAG.UpdateNodeOperands(NewLoad.getNode(), NewLoadOperands), 0); in ExpandExtractFromVectorThroughStack()
1397 return NewLoad; in ExpandExtractFromVectorThroughStack()
H A DDAGCombiner.cpp5493 assert(NewLoad && in BackwardsPropagateMask()
5495 CombineTo(Load, NewLoad, NewLoad.getValue(1)); in BackwardsPropagateMask()
5820 SDValue To[] = { NewLoad.getValue(0), NewLoad.getValue(1), in visitAND()
5824 CombineTo(Load, NewLoad.getValue(0), NewLoad.getValue(1)); in visitAND()
7646 SDValue NewLoad = in MatchLoadCombine() local
7656 return NewLoad; in MatchLoadCombine()
7663 : NewLoad; in MatchLoadCombine()
10878 return NewLoad; in tryToFoldExtOfMaskedLoad()
12381 return NewLoad; in visitTRUNCATE()
15913 (void)NewLoad; in visitLOAD()
[all …]
H A DTargetLowering.cpp3712 SDValue NewLoad = in SimplifySetCC() local
3717 DAG.getNode(ISD::AND, dl, newVT, NewLoad, in SimplifySetCC()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp1008 auto NewLoad = MIRBuilder.buildLoad(NewTy, MI.getOperand(1), MMO); in legalizeLoadStore() local
1009 MIRBuilder.buildBitcast(ValReg, NewLoad); in legalizeLoadStore()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1416 SDValue NewLoad = DAG.getExtLoad( in LowerLOAD() local
1419 SDValue Res = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT, NewLoad, in LowerLOAD()
H A DAMDGPUISelLowering.cpp3008 SDValue NewLoad in performLoadCombine() local
3012 SDValue BC = DAG.getNode(ISD::BITCAST, SL, VT, NewLoad); in performLoadCombine()
3013 DCI.CombineTo(N, BC, NewLoad.getValue(1)); in performLoadCombine()
H A DSIISelLowering.cpp8021 SDValue NewLoad = DAG.getLoad(ISD::UNINDEXED, ISD::NON_EXTLOAD, in widenLoad() local
8037 SDValue Cvt = NewLoad; in widenLoad()
8039 Cvt = DAG.getNode(ISD::SIGN_EXTEND_INREG, SL, MVT::i32, NewLoad, in widenLoad()
8043 Cvt = DAG.getZeroExtendInReg(NewLoad, SL, TruncVT); in widenLoad()
8061 return DAG.getMergeValues({ Cvt, NewLoad.getValue(1) }, SL); in widenLoad()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp9910 SDValue NewLoad = DAG.getMaskedLoad( in LowerMLOAD() local
9914 SDValue Combo = NewLoad; in LowerMLOAD()
9920 return DAG.getMergeValues({Combo, NewLoad.getValue(1)}, dl); in LowerMLOAD()
16674 SDValue NewLoad = in PerformSplittingToWideningLoad() local
16678 Loads.push_back(NewLoad); in PerformSplittingToWideningLoad()
16679 Chains.push_back(SDValue(NewLoad.getNode(), 1)); in PerformSplittingToWideningLoad()
16742 return NewLoad; in PerformExtendCombine()
16751 return NewLoad; in PerformFPExtendCombine()
17536 SDValue NewLoad = in PerformSplittingMVEEXTToWideningLoad() local
17540 Loads.push_back(NewLoad); in PerformSplittingMVEEXTToWideningLoad()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp2913 auto NewLoad = MIRBuilder.buildLoad(LoadTy, PtrReg, *NewMMO); in lowerLoad() local
2914 MIRBuilder.buildSExtInReg(LoadReg, NewLoad, MemSizeInBits); in lowerLoad()
2916 auto NewLoad = MIRBuilder.buildLoad(LoadTy, PtrReg, *NewMMO); in lowerLoad() local
2919 MIRBuilder.buildAssertZExt(LoadReg, NewLoad, MemSizeInBits); in lowerLoad()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1869 SDValue NewLoad = DAG.getMemIntrinsicNode( in lowerVECTOR_SHUFFLE() local
1873 DAG.makeEquivalentMemoryOrdering(Ld, NewLoad); in lowerVECTOR_SHUFFLE()
1874 return convertFromScalableVector(VT, NewLoad, DAG, Subtarget); in lowerVECTOR_SHUFFLE()
4298 SDValue NewLoad = DAG.getMemIntrinsicNode( in lowerFixedLengthVectorLoadToRVV() local
4302 SDValue Result = convertFromScalableVector(VT, NewLoad, DAG, Subtarget); in lowerFixedLengthVectorLoadToRVV()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp3383 SDValue NewLoad = DAG.getLoad(ResVT, DL, LoadN->getChain(), in lowerBITCAST() local
3386 DAG.ReplaceAllUsesOfValueWith(SDValue(LoadN, 1), NewLoad.getValue(1)); in lowerBITCAST()
3387 return NewLoad; in lowerBITCAST()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp17942 auto NewLoad = DAG.getMaskedLoad( in LowerFixedLengthVectorLoadToSVE() local
17948 auto Result = convertFromScalableVector(DAG, VT, NewLoad); in LowerFixedLengthVectorLoadToSVE()
17997 auto NewLoad = DAG.getMaskedLoad( in LowerFixedLengthVectorMLoadToSVE() local
18005 NewLoad = DAG.getSelect(DL, ContainerVT, Mask, NewLoad, OldPassThru); in LowerFixedLengthVectorMLoadToSVE()
18008 auto Result = convertFromScalableVector(DAG, VT, NewLoad); in LowerFixedLengthVectorMLoadToSVE()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp10789 SDValue NewLoad[2]; in LowerFP_EXTEND() local
10798 NewLoad[i] = DAG.getMemIntrinsicNode( in LowerFP_EXTEND()
10803 DAG.getNode(Op0.getOpcode(), SDLoc(Op0), MVT::v4f32, NewLoad[0], in LowerFP_EXTEND()
10804 NewLoad[1], Op0.getNode()->getFlags()); in LowerFP_EXTEND()