Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp325 LoadInst *NewLoad = IC.Builder->CreateAlignedLoad( in combineLoadToNewType() local
328 MDBuilder MDB(NewLoad->getContext()); in combineLoadToNewType()
351 NewLoad->setMetadata(ID, N); in combineLoadToNewType()
357 NewLoad->setMetadata(ID, N); in combineLoadToNewType()
367 NewLoad->setMetadata(LLVMContext::MD_range, in combineLoadToNewType()
376 NewLoad->setMetadata(ID, N); in combineLoadToNewType()
385 return NewLoad; in combineLoadToNewType()
479 LoadInst *NewLoad = combineLoadToNewType( in combineLoadToOperationType() local
486 combineStoreToNewValue(IC, *SI, NewLoad); in combineLoadToOperationType()
502 LoadInst *NewLoad = combineLoadToNewType(IC, LI, CI->getDestTy()); in combineLoadToOperationType() local
[all …]
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1199 LoadInst *NewLoad = Builder.CreateLoad(PtrVal); in GetLoadValueForLoad() local
1200 NewLoad->takeName(SrcVal); in GetLoadValueForLoad()
1201 NewLoad->setAlignment(SrcVal->getAlignment()); in GetLoadValueForLoad()
1204 DEBUG(dbgs() << "TO: " << *NewLoad << "\n"); in GetLoadValueForLoad()
1208 Value *RV = NewLoad; in GetLoadValueForLoad()
1221 SrcVal = NewLoad; in GetLoadValueForLoad()
1671 Instruction *NewLoad = new LoadInst(LoadPtr, LI->getName()+".pre", false, in PerformLoadPRE() local
1679 NewLoad->setAAMetadata(Tags); in PerformLoadPRE()
1682 NewLoad->setMetadata(LLVMContext::MD_invariant_load, MD); in PerformLoadPRE()
1684 NewLoad->setMetadata(LLVMContext::MD_invariant_group, InvGroupMD); in PerformLoadPRE()
[all …]
DLoadCombine.cpp203 LoadInst *NewLoad = new LoadInst( in combineLoads() local
213 L.Load->getModule()->getDataLayout(), NewLoad, in combineLoads()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp1457 SDValue NewLoad = CurDAG->getLoad(MVT::v2i32, SL, LD->getChain(), in PreprocessISelDAG() local
1460 MVT::i64, NewLoad); in PreprocessISelDAG()
1461 CurDAG->ReplaceAllUsesOfValueWith(SDValue(LD, 1), NewLoad.getValue(1)); in PreprocessISelDAG()
DAMDGPUISelLowering.cpp1185 SDValue NewLoad in ScalarizeVectorLoad() local
1191 Loads.push_back(NewLoad.getValue(0)); in ScalarizeVectorLoad()
1192 Chains.push_back(NewLoad.getValue(1)); in ScalarizeVectorLoad()
2377 SDValue NewLoad = DAG.getLoad(ISD::UNINDEXED, ISD::NON_EXTLOAD, in performStoreCombine() local
2385 SDValue CastLoad = DAG.getNode(ISD::BITCAST, SL, VT, NewLoad.getValue(0)); in performStoreCombine()
2386 DCI.CombineTo(LoadVal, CastLoad, NewLoad.getValue(1), false); in performStoreCombine()
2388 return DAG.getStore(SN->getChain(), SL, NewLoad, in performStoreCombine()
DSIISelLowering.cpp1685 SDValue NewLoad = DAG.getExtLoad(ISD::ZEXTLOAD, DL, RegVT, in performUCharToFloatCombine() local
1693 DAG.ReplaceAllUsesOfValueWith(SDValue(Load, 1), NewLoad.getValue(1)); in performUCharToFloatCombine()
1697 DAG.ExtractVectorElements(NewLoad, Elts); in performUCharToFloatCombine()
1699 Elts.push_back(NewLoad); in performUCharToFloatCombine()
DR600ISelLowering.cpp1563 SDValue NewLoad = DAG.getExtLoad(ISD::EXTLOAD, DL, VT, Chain, Ptr, in LowerLOAD() local
1569 SDValue Res = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT, NewLoad, in LowerLOAD()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1513 SDValue NewLoad; in ExpandExtractFromVectorThroughStack() local
1516 NewLoad = DAG.getLoad(Op.getValueType(), dl, Ch, StackPtr, in ExpandExtractFromVectorThroughStack()
1519 NewLoad = DAG.getExtLoad( in ExpandExtractFromVectorThroughStack()
1524 DAG.ReplaceAllUsesOfValueWith(Ch, SDValue(NewLoad.getNode(), 1)); in ExpandExtractFromVectorThroughStack()
1528 SmallVector<SDValue, 6> NewLoadOperands(NewLoad->op_begin(), in ExpandExtractFromVectorThroughStack()
1529 NewLoad->op_end()); in ExpandExtractFromVectorThroughStack()
1531 NewLoad = in ExpandExtractFromVectorThroughStack()
1532 SDValue(DAG.UpdateNodeOperands(NewLoad.getNode(), NewLoadOperands), 0); in ExpandExtractFromVectorThroughStack()
1533 return NewLoad; in ExpandExtractFromVectorThroughStack()
DDAGCombiner.cpp3166 SDValue NewLoad(Load, 0); in visitAND() local
3168 NewLoad = DAG.getLoad(Load->getAddressingMode(), ISD::ZEXTLOAD, in visitAND()
3176 SDValue To[] = { NewLoad.getValue(0), NewLoad.getValue(1), in visitAND()
3177 NewLoad.getValue(2) }; in visitAND()
3180 CombineTo(Load, NewLoad.getValue(0), NewLoad.getValue(1)); in visitAND()
3186 CombineTo(N, (N0.getNode() == Load) ? NewLoad : N0); in visitAND()
3210 SDValue NewLoad = in visitAND() local
3215 CombineTo(LN0, NewLoad, NewLoad.getValue(1)); in visitAND()
7149 SDValue NewLoad = DAG.getExtLoad(LN0->getExtensionType(), SDLoc(LN0), in visitTRUNCATE() local
7153 DAG.ReplaceAllUsesOfValueWith(N0.getValue(1), NewLoad.getValue(1)); in visitTRUNCATE()
[all …]
DTargetLowering.cpp1439 SDValue NewLoad = DAG.getLoad(newVT, dl, Lod->getChain(), Ptr, in SimplifySetCC() local
1443 DAG.getNode(ISD::AND, dl, newVT, NewLoad, in SimplifySetCC()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp19908 SDValue NewLoad = DAG.getMaskedLoad(WideDataVT, dl, N->getChain(), in LowerMLOAD() local
19914 NewLoad.getValue(0), in LowerMLOAD()
19916 SDValue RetOps[] = {Exract, NewLoad.getValue(1)}; in LowerMLOAD()