/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 327 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/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 132 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/ |
D | GVN.cpp | 1054 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 …]
|
D | LoadCombine.cpp | 215 LoadInst *NewLoad = new LoadInst( in combineLoads() local 225 L.Load->getModule()->getDataLayout(), NewLoad, in combineLoads()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | GVN.cpp | 1010 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/ |
D | IceASanInstrumentation.cpp | 368 auto *NewLoad = InstLoad::create(Context.getNode()->getCfg(), in instrumentLoad() local 371 Context.insert(NewLoad); in instrumentLoad() 372 Instr = NewLoad; in instrumentLoad()
|
D | IceTargetLoweringX86BaseImpl.h | 6037 auto *NewLoad = Context.insert<InstIntrinsicCall>(2, Dest, Target, Info); 6038 NewLoad->addArg(OptAddr); 6039 NewLoad->addArg(Intrinsic->getArg(1));
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 1232 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()
|
D | DAGCombiner.cpp | 3204 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 …]
|
D | TargetLowering.cpp | 1556 SDValue NewLoad = DAG.getLoad(newVT, dl, Lod->getChain(), Ptr, in SimplifySetCC() local 1560 DAG.getNode(ISD::AND, dl, newVT, NewLoad, in SimplifySetCC()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2230 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()
|
D | R600ISelLowering.cpp | 1649 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/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 2437 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()
|
D | TargetLowering.cpp | 2061 SDValue NewLoad = DAG.getLoad(newVT, dl, Lod->getChain(), Ptr, in SimplifySetCC() local 2065 DAG.getNode(ISD::AND, dl, newVT, NewLoad, in SimplifySetCC()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 21513 SDValue NewLoad = DAG.getMaskedLoad(WideDataVT, dl, N->getChain(), in LowerMLOAD() local 21519 NewLoad.getValue(0), in LowerMLOAD() 21521 SDValue RetOps[] = {Exract, NewLoad.getValue(1)}; in LowerMLOAD()
|