Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonSubtarget.cpp322 MachineInstr *SrcInst = Src->getInstr(); in adjustSchedDependency() local
332 if (QII->canExecuteInBundle(*SrcInst, *DstInst) && in adjustSchedDependency()
358 int DLatency = (InstrInfo.getOperandLatency(&InstrItins, *SrcInst, in adjustSchedDependency()
367 if (EnableDotCurSched && QII->isToBeScheduledASAP(*SrcInst, *DstInst) && in adjustSchedDependency()
373 updateLatency(*SrcInst, *DstInst, Dep); in adjustSchedDependency()
402 void HexagonSubtarget::updateLatency(MachineInstr &SrcInst, in updateLatency() argument
415 if (QII.isHVXVec(SrcInst) || useBSBScheduling()) in updateLatency()
490 MachineInstr &SrcInst = *Src->getInstr(); in isBestZeroLatency() local
497 if (SrcInst.isPHI() || DstInst.isPHI()) in isBestZeroLatency()
500 if (!TII->isToBeScheduledASAP(SrcInst, DstInst) && in isBestZeroLatency()
[all …]
DHexagonSubtarget.h258 void updateLatency(MachineInstr &SrcInst, MachineInstr &DstInst, SDep &Dep)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp425 T *getMemInstValueForLoadHelper(MemIntrinsic *SrcInst, unsigned Offset, in getMemInstValueForLoadHelper() argument
433 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) { in getMemInstValueForLoadHelper()
463 MemTransferInst *MTI = cast<MemTransferInst>(SrcInst); in getMemInstValueForLoadHelper()
481 Value *getMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset, in getMemInstValueForLoad() argument
485 return getMemInstValueForLoadHelper<Value, IRBuilder<>>(SrcInst, Offset, in getMemInstValueForLoad()
489 Constant *getConstantMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset, in getConstantMemInstValueForLoad() argument
493 if (auto *MSI = dyn_cast<MemSetInst>(SrcInst)) in getConstantMemInstValueForLoad()
497 return getMemInstValueForLoadHelper<Constant, ConstantFolder>(SrcInst, Offset, in getConstantMemInstValueForLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DVNCoercion.h99 Value *getMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset,
104 Constant *getConstantMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstruction.cpp641 void Instruction::copyMetadata(const Instruction &SrcInst, in copyMetadata() argument
643 if (!SrcInst.hasMetadata()) in copyMetadata()
653 SrcInst.getAllMetadataOtherThanDebugLoc(TheMDs); in copyMetadata()
659 setDebugLoc(SrcInst.getDebugLoc()); in copyMetadata()
/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/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-7.0/llvm/include/llvm/IR/
DInstruction.h242 void copyMetadata(const Instruction &SrcInst,
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DGVN.cpp1041 static Value *GetMemInstValueForLoad(MemIntrinsic *SrcInst, unsigned Offset, in GetMemInstValueForLoad() argument
1051 if (MemSetInst *MSI = dyn_cast<MemSetInst>(SrcInst)) { in GetMemInstValueForLoad()
1080 MemTransferInst *MTI = cast<MemTransferInst>(SrcInst); in GetMemInstValueForLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp4106 Instruction *SrcInst = BundleMember->Inst; in calculateDependencies() local
4107 MemoryLocation SrcLoc = getLocation(SrcInst, SLP->AA); in calculateDependencies()
4125 SLP->isAliased(SrcLoc, SrcInst, DepDest->Inst)))) { in calculateDependencies()