Home
last modified time | relevance | path

Searched refs:getInst (Results 1 – 25 of 77) sorted by relevance

1234

/external/llvm-project/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp663 if (Instruction *Inst = LocalCache.getInst()) { in getDependency()
701 if (Instruction *I = LocalCache.getInst()) in getDependency()
802 if (Instruction *Inst = ExistingResult->getResult().getInst()) { in getNonLocalCallDependency()
835 if (Instruction *Inst = Dep.getInst()) in getNonLocalCallDependency()
864 ReverseNonLocalDefsCache[NonLocalDefIt->second.getResult().getInst()] in getNonLocalPointerDependency()
950 if (ExistingResult && ExistingResult->getResult().getInst()) { in GetNonLocalInfoForBlock()
951 assert(ExistingResult->getResult().getInst()->getParent() == BB && in GetNonLocalInfoForBlock()
954 ScanPos = ExistingResult->getResult().getInst()->getIterator(); in GetNonLocalInfoForBlock()
986 Instruction *Inst = Dep.getInst(); in GetNonLocalInfoForBlock()
1094 if (Instruction *Inst = Entry.getResult().getInst()) in getNonLocalPointerDepFromBB()
[all …]
DMemDepPrinter.cpp66 return InstTypePair(dep.getInst(), Clobber); in getInstTypePair()
68 return InstTypePair(dep.getInst(), Def); in getInstTypePair()
70 return InstTypePair(dep.getInst(), NonFuncLocal); in getInstTypePair()
72 return InstTypePair(dep.getInst(), Unknown); in getInstTypePair()
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp690 if (Instruction *Inst = LocalCache.getInst()) { in getDependency()
728 if (Instruction *I = LocalCache.getInst()) in getDependency()
829 if (Instruction *Inst = ExistingResult->getResult().getInst()) { in getNonLocalCallDependency()
863 if (Instruction *Inst = Dep.getInst()) in getNonLocalCallDependency()
956 if (ExistingResult && ExistingResult->getResult().getInst()) { in GetNonLocalInfoForBlock()
957 assert(ExistingResult->getResult().getInst()->getParent() == BB && in GetNonLocalInfoForBlock()
960 ScanPos = ExistingResult->getResult().getInst()->getIterator(); in GetNonLocalInfoForBlock()
988 Instruction *Inst = Dep.getInst(); in GetNonLocalInfoForBlock()
1076 if (Instruction *Inst = Entry.getResult().getInst()) in getNonLocalPointerDepFromBB()
1095 if (Instruction *Inst = Entry.getResult().getInst()) in getNonLocalPointerDepFromBB()
[all …]
DMemDepPrinter.cpp65 return InstTypePair(dep.getInst(), Clobber); in getInstTypePair()
67 return InstTypePair(dep.getInst(), Def); in getInstTypePair()
69 return InstTypePair(dep.getInst(), NonFuncLocal); in getInstTypePair()
71 return InstTypePair(dep.getInst(), Unknown); in getInstTypePair()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp729 if (Instruction *Inst = LocalCache.getInst()) { in getDependency()
767 if (Instruction *I = LocalCache.getInst()) in getDependency()
868 if (Instruction *Inst = ExistingResult->getResult().getInst()) { in getNonLocalCallDependency()
901 if (Instruction *Inst = Dep.getInst()) in getNonLocalCallDependency()
930 ReverseNonLocalDefsCache[NonLocalDefIt->second.getResult().getInst()] in getNonLocalPointerDependency()
1004 if (ExistingResult && ExistingResult->getResult().getInst()) { in GetNonLocalInfoForBlock()
1005 assert(ExistingResult->getResult().getInst()->getParent() == BB && in GetNonLocalInfoForBlock()
1008 ScanPos = ExistingResult->getResult().getInst()->getIterator(); in GetNonLocalInfoForBlock()
1036 Instruction *Inst = Dep.getInst(); in GetNonLocalInfoForBlock()
1138 if (Instruction *Inst = Entry.getResult().getInst()) in getNonLocalPointerDepFromBB()
[all …]
DMemDepPrinter.cpp64 return InstTypePair(dep.getInst(), Clobber); in getInstTypePair()
66 return InstTypePair(dep.getInst(), Def); in getInstTypePair()
68 return InstTypePair(dep.getInst(), NonFuncLocal); in getInstTypePair()
70 return InstTypePair(dep.getInst(), Unknown); in getInstTypePair()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCDuplexInfo.cpp1050 if (isStoreInst(MCB.getOperand(j).getInst()->getOpcode()) && in getDuplexPossibilties()
1051 isStoreInst(MCB.getOperand(k).getInst()->getOpcode())) { in getDuplexPossibilties()
1061 MCII, *MCB.getOperand(k).getInst(), in getDuplexPossibilties()
1063 *MCB.getOperand(j).getInst(), in getDuplexPossibilties()
1068 getDuplexCandidateGroup(*MCB.getOperand(k).getInst()), in getDuplexPossibilties()
1069 getDuplexCandidateGroup(*MCB.getOperand(j).getInst())); in getDuplexPossibilties()
1074 << MCB.getOperand(j).getInst()->getOpcode() << "," in getDuplexPossibilties()
1075 << MCB.getOperand(k).getInst()->getOpcode() << "\n"); in getDuplexPossibilties()
1079 << MCB.getOperand(j).getInst()->getOpcode() << "," in getDuplexPossibilties()
1080 << MCB.getOperand(k).getInst()->getOpcode() << "\n"); in getDuplexPossibilties()
[all …]
DHexagonInstPrinter.cpp41 MCInst const &MCI = *I.getInst(); in printInst()
43 printInstruction(MCI.getOperand(1).getInst(), Address, OS); in printInst()
46 printInstruction(MCI.getOperand(0).getInst(), Address, OS); in printInst()
DHexagonMCShuffler.cpp38 MCInst &MI = *const_cast<MCInst *>(I.getInst()); in init()
63 assert(!HexagonMCInstrInfo::getDesc(MCII, *I.getInst()).isPseudo()); in init()
64 MCInst &MI = *const_cast<MCInst *>(I.getInst()); in init()
DHexagonMCChecker.cpp55 MCInst const &Inst = *I.getInst(); in init()
57 init(*Inst.getOperand(0).getInst()); in init()
58 init(*Inst.getOperand(1).getInst()); in init()
264 unsigned subInst0Opcode = ID.getOperand(0).getInst()->getOpcode(); in isNeitherAnorX()
265 unsigned subInst1Opcode = ID.getOperand(1).getInst()->getOpcode(); in isNeitherAnorX()
362 MCInst const &MCI = *HMI.getInst(); in checkSlots()
495 MCInst const &Inst = *I.getInst(); in checkRegistersReadOnly()
631 if (HexagonMCInstrInfo::getType(MCII, *HMI.getInst()) == in checkRegisters()
DHexagonMCInstrInfo.cpp61 MCInst const &Inst = *BundleCurrent->getInst(); in operator ++()
72 return *DuplexCurrent->getInst(); in operator *()
73 return *BundleCurrent->getInst(); in operator *()
196 MCB.getOperand(Index + bundleInstructionsOffset - 1).getInst(); in extenderForIndex()
437 if (HexagonMCInstrInfo::isDuplex(MCII, *I.getInst())) in hasDuplex()
453 if (isImmext(*I.getInst())) in hasImmExt()
477 return *MCB.getOperand(bundleInstructionsOffset + Index).getInst(); in instruction()
846 *MCB.getOperand(Candidate.packetIndexJ).getInst(), in replaceDuplex()
847 *MCB.getOperand(Candidate.packetIndexI).getInst()); in replaceDuplex()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCDuplexInfo.cpp1027 if (isStoreInst(MCB.getOperand(j).getInst()->getOpcode()) && in getDuplexPossibilties()
1028 isStoreInst(MCB.getOperand(k).getInst()->getOpcode())) { in getDuplexPossibilties()
1038 MCII, *MCB.getOperand(k).getInst(), in getDuplexPossibilties()
1040 *MCB.getOperand(j).getInst(), in getDuplexPossibilties()
1045 getDuplexCandidateGroup(*MCB.getOperand(k).getInst()), in getDuplexPossibilties()
1046 getDuplexCandidateGroup(*MCB.getOperand(j).getInst())); in getDuplexPossibilties()
1051 << MCB.getOperand(j).getInst()->getOpcode() << "," in getDuplexPossibilties()
1052 << MCB.getOperand(k).getInst()->getOpcode() << "\n"); in getDuplexPossibilties()
1056 << MCB.getOperand(j).getInst()->getOpcode() << "," in getDuplexPossibilties()
1057 << MCB.getOperand(k).getInst()->getOpcode() << "\n"); in getDuplexPossibilties()
[all …]
DHexagonMCShuffler.cpp36 assert(!HexagonMCInstrInfo::getDesc(MCII, *I.getInst()).isPseudo()); in init()
37 MCInst *MI = const_cast<MCInst *>(I.getInst()); in init()
60 assert(!HexagonMCInstrInfo::getDesc(MCII, *I.getInst()).isPseudo()); in init()
61 MCInst *MI = const_cast<MCInst *>(I.getInst()); in init()
DHexagonMCELFStreamer.cpp57 MCInst *MCI = const_cast<MCInst *>(I.getInst()); in EmitInstruction()
60 MCInst *SubInst = const_cast<MCInst *>(MCI->getOperand(1).getInst()); in EmitInstruction()
74 MCInst *MCI = const_cast<MCInst *>(I.getInst()); in EmitInstruction()
DHexagonInstPrinter.cpp60 MCInst const &MCI = *I.getInst(); in printInst()
62 printInstruction(MCI.getOperand(1).getInst(), OS); in printInst()
65 printInstruction(MCI.getOperand(0).getInst(), OS); in printInst()
DHexagonMCChecker.cpp50 init(*I.getInst()); in init()
251 MCInst const& MCI = *HMI.getInst(); in checkSlots()
280 MCInst const &MCI = *MCB.begin()[i].getInst(); in checkBranches()
469 if(llvm::HexagonMCInstrInfo::getType(MCII, *HMI.getInst()) == HexagonII::TypeCVI_HIST) { in checkRegisters()
492 if (llvm::HexagonMCInstrInfo::isSolo(MCII, *I.getInst())) { in checkSolo()
DHexagonAsmBackend.cpp559 MCInst const &MCB = DF->getInst(); in fixupNeedsRelaxationAdvanced()
646 MCInst &CrntHMI = const_cast<MCInst &>(*I.getInst()); in relaxInstruction()
662 Res.addOperand(MCOperand::createInst(I.getInst())); in relaxInstruction()
714 auto &Inst = const_cast<MCInst &>(RF.getInst()); in finishLayout()
/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCDuplexInfo.cpp1048 if (isStoreInst(MCB.getOperand(j).getInst()->getOpcode()) && in getDuplexPossibilties()
1049 isStoreInst(MCB.getOperand(k).getInst()->getOpcode())) { in getDuplexPossibilties()
1059 MCII, *MCB.getOperand(k).getInst(), in getDuplexPossibilties()
1061 *MCB.getOperand(j).getInst(), in getDuplexPossibilties()
1066 getDuplexCandidateGroup(*MCB.getOperand(k).getInst()), in getDuplexPossibilties()
1067 getDuplexCandidateGroup(*MCB.getOperand(j).getInst())); in getDuplexPossibilties()
1072 << MCB.getOperand(j).getInst()->getOpcode() << "," in getDuplexPossibilties()
1073 << MCB.getOperand(k).getInst()->getOpcode() << "\n"); in getDuplexPossibilties()
1077 << MCB.getOperand(j).getInst()->getOpcode() << "," in getDuplexPossibilties()
1078 << MCB.getOperand(k).getInst()->getOpcode() << "\n"); in getDuplexPossibilties()
[all …]
DHexagonInstPrinter.cpp41 MCInst const &MCI = *I.getInst(); in printInst()
43 printInstruction(MCI.getOperand(1).getInst(), Address, OS); in printInst()
46 printInstruction(MCI.getOperand(0).getInst(), Address, OS); in printInst()
DHexagonMCShuffler.cpp38 MCInst &MI = *const_cast<MCInst *>(I.getInst()); in init()
63 assert(!HexagonMCInstrInfo::getDesc(MCII, *I.getInst()).isPseudo()); in init()
64 MCInst &MI = *const_cast<MCInst *>(I.getInst()); in init()
DHexagonMCChecker.cpp55 MCInst const &Inst = *I.getInst(); in init()
57 init(*Inst.getOperand(0).getInst()); in init()
58 init(*Inst.getOperand(1).getInst()); in init()
274 unsigned subInst0Opcode = ID.getOperand(0).getInst()->getOpcode(); in isNeitherAnorX()
275 unsigned subInst1Opcode = ID.getOperand(1).getInst()->getOpcode(); in isNeitherAnorX()
372 MCInst const &MCI = *HMI.getInst(); in checkSlots()
505 MCInst const &Inst = *I.getInst(); in checkRegistersReadOnly()
641 if (HexagonMCInstrInfo::getType(MCII, *HMI.getInst()) == in checkRegisters()
DHexagonMCInstrInfo.cpp62 MCInst const &Inst = *BundleCurrent->getInst(); in operator ++()
73 return *DuplexCurrent->getInst(); in operator *()
74 return *BundleCurrent->getInst(); in operator *()
221 MCB.getOperand(Index + bundleInstructionsOffset - 1).getInst(); in extenderForIndex()
482 if (HexagonMCInstrInfo::isDuplex(MCII, *I.getInst())) in hasDuplex()
498 if (isImmext(*I.getInst())) in hasImmExt()
522 return *MCB.getOperand(bundleInstructionsOffset + Index).getInst(); in instruction()
964 MCInst const &MCI = *HMI.getInst(); in slotsConsumed()
982 *MCB.getOperand(Candidate.packetIndexJ).getInst(), in replaceDuplex()
983 *MCB.getOperand(Candidate.packetIndexI).getInst()); in replaceDuplex()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp615 if (ldep.isClobber() && !isa<MemCpyInst>(ldep.getInst())) in processStore()
616 C = dyn_cast<CallInst>(ldep.getInst()); in processStore()
958 if (!SourceDep.isClobber() || SourceDep.getInst() != MDep) in processMemCpyMemCpyDependence()
1016 if (DstDepInfo.getInst() != MemSet) in processMemSetMemCpyDependence()
1113 if (DepInfo.isDef() && hasUndefContents(DepInfo.getInst(), CopySize)) in performMemCpyToMemSetOptzn()
1160 if (MemSetInst *MDep = dyn_cast<MemSetInst>(DepInfo.getInst())) in processMemCpy()
1176 if (CallInst *C = dyn_cast<CallInst>(DepInfo.getInst())) { in processMemCpy()
1195 if (MemCpyInst *MDep = dyn_cast<MemCpyInst>(SrcDepInfo.getInst())) in processMemCpy()
1198 if (hasUndefContents(SrcDepInfo.getInst(), CopySize)) { in processMemCpy()
1207 if (MemSetInst *MDep = dyn_cast<MemSetInst>(SrcDepInfo.getInst())) in processMemCpy()
[all …]
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp663 if (ldep.isClobber() && !isa<MemCpyInst>(ldep.getInst())) in processStore()
664 C = dyn_cast<CallInst>(ldep.getInst()); in processStore()
997 if (!SourceDep.isClobber() || SourceDep.getInst() != MDep) in processMemCpyMemCpyDependence()
1056 if (DstDepInfo.getInst() != MemSet) in processMemSetMemCpyDependence()
1164 if (MemSetInst *MDep = dyn_cast<MemSetInst>(DepInfo.getInst())) in processMemCpy()
1180 if (CallInst *C = dyn_cast<CallInst>(DepInfo.getInst())) { in processMemCpy()
1196 if (MemCpyInst *MDep = dyn_cast<MemCpyInst>(SrcDepInfo.getInst())) in processMemCpy()
1199 Instruction *I = SrcDepInfo.getInst(); in processMemCpy()
1220 if (MemSetInst *MDep = dyn_cast<MemSetInst>(SrcDepInfo.getInst())) in processMemCpy()
1278 MemCpyInst *MDep = dyn_cast<MemCpyInst>(DepInfo.getInst()); in processByValArgument()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp751 if (ldep.isClobber() && !isa<MemCpyInst>(ldep.getInst())) in processStore()
752 C = dyn_cast<CallInst>(ldep.getInst()); in processStore()
1081 if (!SourceDep.isClobber() || SourceDep.getInst() != MDep) in processMemCpyMemCpyDependence()
1166 if (DstDepInfo.getInst() != MemSet) in processMemSetMemCpyDependence()
1304 if (DepInfo.isDef() && hasUndefContents(DepInfo.getInst(), CopySize)) in performMemCpyToMemSetOptzn()
1446 if (MemSetInst *MDep = dyn_cast<MemSetInst>(DepInfo.getInst())) in processMemCpy()
1462 if (CallInst *C = dyn_cast<CallInst>(DepInfo.getInst())) { in processMemCpy()
1481 if (MemCpyInst *MDep = dyn_cast<MemCpyInst>(SrcDepInfo.getInst())) in processMemCpy()
1484 if (hasUndefContents(SrcDepInfo.getInst(), CopySize)) { in processMemCpy()
1492 if (MemSetInst *MDep = dyn_cast<MemSetInst>(SrcDepInfo.getInst())) in processMemCpy()
[all …]

1234