Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DRandomIRBuilder.cpp57 auto *NewLoad = new LoadInst(Ptr, "L", &*IP); in newSource() local
60 if (Pred.matches(Srcs, NewLoad)) in newSource()
61 RS.sample(NewLoad, RS.totalWeight()); in newSource()
63 NewLoad->eraseFromParent(); in newSource()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp327 LoadInst *NewLoad = IC.Builder->CreateAlignedLoad( in combineLoadToNewType() local
330 NewLoad->setAtomic(LI.getOrdering(), LI.getSynchScope()); in combineLoadToNewType()
331 MDBuilder MDB(NewLoad->getContext()); in combineLoadToNewType()
354 NewLoad->setMetadata(ID, N); in combineLoadToNewType()
360 NewLoad->setMetadata(ID, N); in combineLoadToNewType()
370 NewLoad->setMetadata(LLVMContext::MD_range, in combineLoadToNewType()
379 NewLoad->setMetadata(ID, N); in combineLoadToNewType()
388 return NewLoad; in combineLoadToNewType()
483 LoadInst *NewLoad = combineLoadToNewType( in combineLoadToOperationType() local
490 combineStoreToNewValue(IC, *SI, NewLoad); in combineLoadToOperationType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp468 LoadInst *NewLoad = IC.Builder.CreateAlignedLoad( in combineLoadToNewType() local
470 NewLoad->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in combineLoadToNewType()
471 MDBuilder MDB(NewLoad->getContext()); in combineLoadToNewType()
494 NewLoad->setMetadata(ID, N); in combineLoadToNewType()
498 copyNonnullMetadata(LI, N, *NewLoad); in combineLoadToNewType()
505 NewLoad->setMetadata(ID, N); in combineLoadToNewType()
508 copyRangeMetadata(IC.getDataLayout(), LI, N, *NewLoad); in combineLoadToNewType()
512 return NewLoad; in combineLoadToNewType()
642 LoadInst *NewLoad = combineLoadToNewType( in combineLoadToOperationType() local
649 combineStoreToNewValue(IC, *SI, NewLoad); in combineLoadToOperationType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp394 LoadInst *NewLoad = Builder.CreateLoad(PtrVal); in getLoadValueForLoad() local
395 NewLoad->takeName(SrcVal); in getLoadValueForLoad()
396 NewLoad->setAlignment(SrcVal->getAlignment()); in getLoadValueForLoad()
399 LLVM_DEBUG(dbgs() << "TO: " << *NewLoad << "\n"); in getLoadValueForLoad()
403 Value *RV = NewLoad; in getLoadValueForLoad()
409 SrcVal = NewLoad; in getLoadValueForLoad()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp132 LoadInst *NewLoad = in InstCombineLoadCast() local
134 NewLoad->setAlignment(LI.getAlignment()); in InstCombineLoadCast()
135 NewLoad->setAtomic(LI.getOrdering(), LI.getSynchScope()); in InstCombineLoadCast()
137 return new BitCastInst(NewLoad, LI.getType()); in InstCombineLoadCast()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1054 LoadInst *NewLoad = Builder.CreateLoad(PtrVal); in GetLoadValueForLoad() local
1055 NewLoad->takeName(SrcVal); in GetLoadValueForLoad()
1056 NewLoad->setAlignment(SrcVal->getAlignment()); in GetLoadValueForLoad()
1059 DEBUG(dbgs() << "TO: " << *NewLoad << "\n"); in GetLoadValueForLoad()
1063 Value *RV = NewLoad; in GetLoadValueForLoad()
1075 SrcVal = NewLoad; in GetLoadValueForLoad()
1559 auto *NewLoad = new LoadInst(LoadPtr, LI->getName()+".pre", in PerformLoadPRE() local
1568 NewLoad->setAAMetadata(Tags); in PerformLoadPRE()
1571 NewLoad->setMetadata(LLVMContext::MD_invariant_load, MD); in PerformLoadPRE()
1573 NewLoad->setMetadata(LLVMContext::MD_invariant_group, InvGroupMD); in PerformLoadPRE()
[all …]
DLoadCombine.cpp215 LoadInst *NewLoad = new LoadInst( in combineLoads() local
225 L.Load->getModule()->getDataLayout(), NewLoad, in combineLoads()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DGVN.cpp1010 LoadInst *NewLoad = Builder.CreateLoad(PtrVal); in GetLoadValueForLoad() local
1011 NewLoad->takeName(SrcVal); in GetLoadValueForLoad()
1012 NewLoad->setAlignment(SrcVal->getAlignment()); in GetLoadValueForLoad()
1015 DEBUG(dbgs() << "TO: " << *NewLoad << "\n"); in GetLoadValueForLoad()
1019 Value *RV = NewLoad; in GetLoadValueForLoad()
1032 SrcVal = NewLoad; in GetLoadValueForLoad()
1643 Instruction *NewLoad = new LoadInst(LoadPtr, LI->getName()+".pre", false, in processNonLocalLoad() local
1649 NewLoad->setMetadata(LLVMContext::MD_tbaa, Tag); in processNonLocalLoad()
1652 NewLoad->setDebugLoc(LI->getDebugLoc()); in processNonLocalLoad()
1656 NewLoad)); in processNonLocalLoad()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceASanInstrumentation.cpp368 auto *NewLoad = InstLoad::create(Context.getNode()->getCfg(), in instrumentLoad() local
371 Context.insert(NewLoad); in instrumentLoad()
372 Instr = NewLoad; in instrumentLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DGVN.cpp1245 auto *NewLoad = new LoadInst(LoadPtr, LI->getName()+".pre", in PerformLoadPRE() local
1249 NewLoad->setDebugLoc(LI->getDebugLoc()); in PerformLoadPRE()
1255 NewLoad->setAAMetadata(Tags); in PerformLoadPRE()
1258 NewLoad->setMetadata(LLVMContext::MD_invariant_load, MD); in PerformLoadPRE()
1260 NewLoad->setMetadata(LLVMContext::MD_invariant_group, InvGroupMD); in PerformLoadPRE()
1262 NewLoad->setMetadata(LLVMContext::MD_range, RangeMD); in PerformLoadPRE()
1272 NewLoad)); in PerformLoadPRE()
1274 LLVM_DEBUG(dbgs() << "GVN INSERTED " << *NewLoad << '\n'); in PerformLoadPRE()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86AvoidStoreForwardingBlocks.cpp398 MachineInstr *NewLoad = in buildCopy() local
409 getBaseOperand(NewLoad).setIsKill(false); in buildCopy()
410 LLVM_DEBUG(NewLoad->dump()); in buildCopy()
DX86InterleavedAccess.cpp215 Instruction *NewLoad = in decompose() local
217 DecomposedVectors.push_back(NewLoad); in decompose()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1232 SDValue NewLoad; in ExpandExtractFromVectorThroughStack() local
1235 NewLoad = DAG.getLoad(Op.getValueType(), dl, Ch, StackPtr, in ExpandExtractFromVectorThroughStack()
1238 NewLoad = DAG.getExtLoad( in ExpandExtractFromVectorThroughStack()
1243 DAG.ReplaceAllUsesOfValueWith(Ch, SDValue(NewLoad.getNode(), 1)); in ExpandExtractFromVectorThroughStack()
1247 SmallVector<SDValue, 6> NewLoadOperands(NewLoad->op_begin(), in ExpandExtractFromVectorThroughStack()
1248 NewLoad->op_end()); in ExpandExtractFromVectorThroughStack()
1250 NewLoad = in ExpandExtractFromVectorThroughStack()
1251 SDValue(DAG.UpdateNodeOperands(NewLoad.getNode(), NewLoadOperands), 0); in ExpandExtractFromVectorThroughStack()
1252 return NewLoad; in ExpandExtractFromVectorThroughStack()
DDAGCombiner.cpp3204 SDValue NewLoad(Load, 0); in visitAND() local
3206 NewLoad = DAG.getLoad(Load->getAddressingMode(), ISD::ZEXTLOAD, in visitAND()
3214 SDValue To[] = { NewLoad.getValue(0), NewLoad.getValue(1), in visitAND()
3215 NewLoad.getValue(2) }; in visitAND()
3218 CombineTo(Load, NewLoad.getValue(0), NewLoad.getValue(1)); in visitAND()
3224 CombineTo(N, (N0.getNode() == Load) ? NewLoad : N0); in visitAND()
3248 SDValue NewLoad = in visitAND() local
3253 CombineTo(LN0, NewLoad, NewLoad.getValue(1)); in visitAND()
7226 SDValue NewLoad = DAG.getExtLoad(LN0->getExtensionType(), SDLoc(LN0), in visitTRUNCATE() local
7230 DAG.ReplaceAllUsesOfValueWith(N0.getValue(1), NewLoad.getValue(1)); in visitTRUNCATE()
[all …]
DTargetLowering.cpp1556 SDValue NewLoad = DAG.getLoad(newVT, dl, Lod->getChain(), Ptr, in SimplifySetCC() local
1560 DAG.getNode(ISD::AND, dl, newVT, NewLoad, in SimplifySetCC()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1291 SDValue NewLoad; in ExpandExtractFromVectorThroughStack() local
1294 NewLoad = in ExpandExtractFromVectorThroughStack()
1297 NewLoad = DAG.getExtLoad(ISD::EXTLOAD, dl, Op.getValueType(), Ch, StackPtr, in ExpandExtractFromVectorThroughStack()
1302 DAG.ReplaceAllUsesOfValueWith(Ch, SDValue(NewLoad.getNode(), 1)); in ExpandExtractFromVectorThroughStack()
1306 SmallVector<SDValue, 6> NewLoadOperands(NewLoad->op_begin(), in ExpandExtractFromVectorThroughStack()
1307 NewLoad->op_end()); in ExpandExtractFromVectorThroughStack()
1309 NewLoad = in ExpandExtractFromVectorThroughStack()
1310 SDValue(DAG.UpdateNodeOperands(NewLoad.getNode(), NewLoadOperands), 0); in ExpandExtractFromVectorThroughStack()
1311 return NewLoad; in ExpandExtractFromVectorThroughStack()
DDAGCombiner.cpp4299 SDValue NewLoad = ReduceLoadWidth(And.getNode()); in BackwardsPropagateMask() local
4300 assert(NewLoad && in BackwardsPropagateMask()
4302 CombineTo(Load, NewLoad, NewLoad.getValue(1)); in BackwardsPropagateMask()
4531 SDValue NewLoad(Load, 0); in visitAND() local
4534 CombineTo(N, (N0.getNode() == Load) ? NewLoad : N0); in visitAND()
4537 NewLoad = DAG.getLoad(Load->getAddressingMode(), ISD::ZEXTLOAD, in visitAND()
4545 SDValue To[] = { NewLoad.getValue(0), NewLoad.getValue(1), in visitAND()
4546 NewLoad.getValue(2) }; in visitAND()
4549 CombineTo(Load, NewLoad.getValue(0), NewLoad.getValue(1)); in visitAND()
5869 SDValue NewLoad = in MatchLoadCombine() local
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp2230 SDValue NewLoad in performLoadCombine() local
2234 SDValue BC = DAG.getNode(ISD::BITCAST, SL, VT, NewLoad); in performLoadCombine()
2235 DCI.CombineTo(N, BC, NewLoad.getValue(1)); in performLoadCombine()
DR600ISelLowering.cpp1649 SDValue NewLoad = DAG.getExtLoad(ISD::EXTLOAD, DL, VT, Chain, Ptr, in LowerLOAD() local
1655 SDValue Res = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT, NewLoad, in LowerLOAD()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp1502 SDValue NewLoad = DAG.getExtLoad( in LowerLOAD() local
1505 SDValue Res = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT, NewLoad, in LowerLOAD()
DAMDGPUISelLowering.cpp2773 SDValue NewLoad in performLoadCombine() local
2777 SDValue BC = DAG.getNode(ISD::BITCAST, SL, VT, NewLoad); in performLoadCombine()
2778 DCI.CombineTo(N, BC, NewLoad.getValue(1)); in performLoadCombine()
DSIISelLowering.cpp5535 SDValue NewLoad = DAG.getLoad(ISD::UNINDEXED, ISD::NON_EXTLOAD, in widenLoad() local
5551 SDValue Cvt = NewLoad; in widenLoad()
5553 Cvt = DAG.getNode(ISD::SIGN_EXTEND_INREG, SL, MVT::i32, NewLoad, in widenLoad()
5557 Cvt = DAG.getZeroExtendInReg(NewLoad, SL, TruncVT); in widenLoad()
5575 return DAG.getMergeValues({ Cvt, NewLoad.getValue(1) }, SL); in widenLoad()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2437 SDValue NewLoad = in visitAND() local
2444 CombineTo(LN0, NewLoad, NewLoad.getValue(1)); in visitAND()
6851 bool NewLoad = false; in visitEXTRACT_VECTOR_ELT() local
6865 NewLoad = true; in visitEXTRACT_VECTOR_ELT()
6907 if (NewLoad) { in visitEXTRACT_VECTOR_ELT()
DTargetLowering.cpp2061 SDValue NewLoad = DAG.getLoad(newVT, dl, Lod->getChain(), Ptr, in SimplifySetCC() local
2065 DAG.getNode(ISD::AND, dl, newVT, NewLoad, in SimplifySetCC()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2310 auto *NewLoad = Builder.CreateAlignedLoad( in vectorizeInterleaveGroup() local
2312 Group->addMetadata(NewLoad); in vectorizeInterleaveGroup()
2313 NewLoads.push_back(NewLoad); in vectorizeInterleaveGroup()

12