Home
last modified time | relevance | path

Searched refs:SrcInst (Results 1 – 23 of 23) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonSubtarget.cpp321 MachineInstr *SrcInst = Src->getInstr(); in adjustSchedDependency() local
331 if (QII->canExecuteInBundle(*SrcInst, *DstInst) && in adjustSchedDependency()
357 int DLatency = (InstrInfo.getOperandLatency(&InstrItins, *SrcInst, in adjustSchedDependency()
366 if (EnableDotCurSched && QII->isToBeScheduledASAP(*SrcInst, *DstInst) && in adjustSchedDependency()
372 updateLatency(*SrcInst, *DstInst, Dep); in adjustSchedDependency()
401 void HexagonSubtarget::updateLatency(MachineInstr &SrcInst, in updateLatency() argument
414 if (QII.isHVXVec(SrcInst) || useBSBScheduling()) in updateLatency()
489 MachineInstr &SrcInst = *Src->getInstr(); in isBestZeroLatency() local
496 if (SrcInst.isPHI() || DstInst.isPHI()) in isBestZeroLatency()
499 if (!TII->isToBeScheduledASAP(SrcInst, DstInst) && in isBestZeroLatency()
[all …]
DHexagonSubtarget.h270 void updateLatency(MachineInstr &SrcInst, MachineInstr &DstInst, SDep &Dep)
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonSubtarget.cpp395 MachineInstr *SrcInst = Src->getInstr(); in adjustSchedDependency() local
402 if (QII->canExecuteInBundle(*SrcInst, *DstInst) && in adjustSchedDependency()
428 int DLatency = (InstrInfo.getOperandLatency(&InstrItins, *SrcInst, in adjustSchedDependency()
437 if (EnableDotCurSched && QII->isToBeScheduledASAP(*SrcInst, *DstInst) && in adjustSchedDependency()
443 updateLatency(*SrcInst, *DstInst, Dep); in adjustSchedDependency()
472 void HexagonSubtarget::updateLatency(MachineInstr &SrcInst, in updateLatency() argument
485 if (QII.isHVXVec(SrcInst) || useBSBScheduling()) in updateLatency()
569 MachineInstr &SrcInst = *Src->getInstr(); in isBestZeroLatency() local
576 if (SrcInst.isPHI() || DstInst.isPHI()) in isBestZeroLatency()
579 if (!TII->isToBeScheduledASAP(SrcInst, DstInst) && in isBestZeroLatency()
[all …]
DHexagonSubtarget.h293 void updateLatency(MachineInstr &SrcInst, MachineInstr &DstInst, SDep &Dep)
/external/llvm-project/llvm/lib/Transforms/Utils/
DVNCoercion.cpp551 T *getMemInstValueForLoadHelper(MemIntrinsic *SrcInst, unsigned Offset, in getMemInstValueForLoadHelper() argument
559 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) { in getMemInstValueForLoadHelper()
589 MemTransferInst *MTI = cast<MemTransferInst>(SrcInst); in getMemInstValueForLoadHelper()
609 Value *getMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset, in getMemInstValueForLoad() argument
613 return getMemInstValueForLoadHelper<Value, IRBuilder<>>(SrcInst, Offset, in getMemInstValueForLoad()
617 Constant *getConstantMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset, in getConstantMemInstValueForLoad() argument
621 if (auto *MSI = dyn_cast<MemSetInst>(SrcInst)) in getConstantMemInstValueForLoad()
625 return getMemInstValueForLoadHelper<Constant, ConstantFolder>(SrcInst, Offset, in getConstantMemInstValueForLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp463 T *getMemInstValueForLoadHelper(MemIntrinsic *SrcInst, unsigned Offset, in getMemInstValueForLoadHelper() argument
471 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) { in getMemInstValueForLoadHelper()
501 MemTransferInst *MTI = cast<MemTransferInst>(SrcInst); in getMemInstValueForLoadHelper()
519 Value *getMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset, in getMemInstValueForLoad() argument
523 return getMemInstValueForLoadHelper<Value, IRBuilder<>>(SrcInst, Offset, in getMemInstValueForLoad()
527 Constant *getConstantMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset, in getConstantMemInstValueForLoad() argument
531 if (auto *MSI = dyn_cast<MemSetInst>(SrcInst)) in getConstantMemInstValueForLoad()
535 return getMemInstValueForLoadHelper<Constant, ConstantFolder>(SrcInst, Offset, in getConstantMemInstValueForLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DVNCoercion.h98 Value *getMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset,
103 Constant *getConstantMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset,
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DVNCoercion.h98 Value *getMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset,
103 Constant *getConstantMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp709 void Instruction::copyMetadata(const Instruction &SrcInst, in copyMetadata() argument
711 if (!SrcInst.hasMetadata()) in copyMetadata()
721 SrcInst.getAllMetadataOtherThanDebugLoc(TheMDs); in copyMetadata()
727 setDebugLoc(SrcInst.getDebugLoc()); in copyMetadata()
/external/llvm-project/llvm/lib/IR/
DInstruction.cpp746 void Instruction::copyMetadata(const Instruction &SrcInst, in copyMetadata() argument
748 if (!SrcInst.hasMetadata()) in copyMetadata()
758 SrcInst.getAllMetadataOtherThanDebugLoc(TheMDs); in copyMetadata()
764 setDebugLoc(SrcInst.getDebugLoc()); in copyMetadata()
/external/llvm-project/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h446 unsigned SrcInst;
452 return std::tie(SrcInst, SrcOp, DstInst, DstOp) ==
453 std::tie(Other.SrcInst, Other.SrcOp, Other.DstInst, Other.DstOp);
459 YamlIO.mapRequired("srcinst", Sub.SrcInst);
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp745 static void copyMetadata(Instruction *DstInst, const Instruction *SrcInst, in copyMetadata() argument
747 if (!SrcInst || !SrcInst->hasMetadata()) in copyMetadata()
751 SrcInst->getAllMetadata(MDs); in copyMetadata()
DGVN.cpp1084 static Value *GetMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset, in GetMemInstValueForLoad() argument
1094 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) { in GetMemInstValueForLoad()
1123 MemTransferInst *MTI = cast<MemTransferInst>(SrcInst); in GetMemInstValueForLoad()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h217 void copyMetadata(const Instruction &SrcInst,
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstCombineIntrinsic.cpp771 Instruction *SrcInst = dyn_cast<Instruction>(Src); in instCombineIntrinsic() local
772 if (SrcInst && SrcInst->getParent() != II.getParent()) in instCombineIntrinsic()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2510 Instruction *SrcInst = dyn_cast<Instruction>(Op); in vectorizeMemoryInstruction() local
2511 if (SrcInst && OrigLoop->contains(SrcInst)) in vectorizeMemoryInstruction()
2636 auto *SrcInst = dyn_cast<Instruction>(SrcOp); in scalarizeInstruction() local
2640 if (SrcInst && OrigLoop->contains(SrcInst)) { in scalarizeInstruction()
2641 assert(WidenMap.has(SrcInst) && "Source operand is unavailable"); in scalarizeInstruction()
2643 Params.push_back(WidenMap.get(SrcInst)); in scalarizeInstruction()
6237 Instruction *SrcInst = dyn_cast<Instruction>(SrcOp); in scalarizeInstruction() local
6241 if (SrcInst && OrigLoop->contains(SrcInst)) { in scalarizeInstruction()
6242 assert(WidenMap.has(SrcInst) && "Source operand is unavailable"); in scalarizeInstruction()
6244 Params.push_back(WidenMap.get(SrcInst)); in scalarizeInstruction()
DSLPVectorizer.cpp3057 Instruction *SrcInst = BundleMember->Inst; in calculateDependencies() local
3058 MemoryLocation SrcLoc = getLocation(SrcInst, SLP->AA); in calculateDependencies()
3076 SLP->isAliased(SrcLoc, SrcInst, DepDest->Inst)))) { in calculateDependencies()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstruction.h286 void copyMetadata(const Instruction &SrcInst,
/external/llvm-project/llvm/include/llvm/IR/
DInstruction.h318 void copyMetadata(const Instruction &SrcInst,
/external/llvm-project/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp420 MF.makeDebugValueSubstitution(std::make_pair(Sub.SrcInst, Sub.SrcOp), in setupDebugValueTracking()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp3971 Instruction *SrcInst = dyn_cast<Instruction>(Src); in visitCallInst() local
3972 if (SrcInst && SrcInst->getParent() != II->getParent()) in visitCallInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp5121 Instruction *SrcInst = BundleMember->Inst; in calculateDependencies() local
5122 MemoryLocation SrcLoc = getLocation(SrcInst, SLP->AA); in calculateDependencies()
5140 SLP->isAliased(SrcLoc, SrcInst, DepDest->Inst)))) { in calculateDependencies()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp5390 Instruction *SrcInst = BundleMember->Inst; in calculateDependencies() local
5391 MemoryLocation SrcLoc = getLocation(SrcInst, SLP->AA); in calculateDependencies()
5409 SLP->isAliased(SrcLoc, SrcInst, DepDest->Inst)))) { in calculateDependencies()