Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryDependenceAnalysis.cpp520 if (Instruction *Inst = LocalCache.getInst()) { in getDependency()
558 if (Instruction *I = LocalCache.getInst()) in getDependency()
673 if (Instruction *Inst = ExistingResult->getResult().getInst()) { in getNonLocalCallDependency()
706 if (Instruction *Inst = Dep.getInst()) in getNonLocalCallDependency()
783 if (ExistingResult && ExistingResult->getResult().getInst()) { in GetNonLocalInfoForBlock()
784 assert(ExistingResult->getResult().getInst()->getParent() == BB && in GetNonLocalInfoForBlock()
787 ScanPos = ExistingResult->getResult().getInst(); in GetNonLocalInfoForBlock()
814 Instruction *Inst = Dep.getInst(); in GetNonLocalInfoForBlock()
904 if (Instruction *Inst = DI->getResult().getInst()) in getNonLocalPointerDepFromBB()
925 if (Instruction *Inst = DI->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-7.0/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp726 if (Instruction *Inst = LocalCache.getInst()) { in getDependency()
764 if (Instruction *I = LocalCache.getInst()) in getDependency()
865 if (Instruction *Inst = ExistingResult->getResult().getInst()) { in getNonLocalCallDependency()
899 if (Instruction *Inst = Dep.getInst()) in getNonLocalCallDependency()
928 ReverseNonLocalDefsCache[NonLocalDefIt->second.getResult().getInst()] in getNonLocalPointerDependency()
1002 if (ExistingResult && ExistingResult->getResult().getInst()) { in GetNonLocalInfoForBlock()
1003 assert(ExistingResult->getResult().getInst()->getParent() == BB && in GetNonLocalInfoForBlock()
1006 ScanPos = ExistingResult->getResult().getInst()->getIterator(); in GetNonLocalInfoForBlock()
1034 Instruction *Inst = Dep.getInst(); in GetNonLocalInfoForBlock()
1122 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/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()
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()
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()
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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCDuplexInfo.cpp1046 if (isStoreInst(MCB.getOperand(j).getInst()->getOpcode()) && in getDuplexPossibilties()
1047 isStoreInst(MCB.getOperand(k).getInst()->getOpcode())) { in getDuplexPossibilties()
1057 MCII, *MCB.getOperand(k).getInst(), in getDuplexPossibilties()
1059 *MCB.getOperand(j).getInst(), in getDuplexPossibilties()
1064 getDuplexCandidateGroup(*MCB.getOperand(k).getInst()), in getDuplexPossibilties()
1065 getDuplexCandidateGroup(*MCB.getOperand(j).getInst())); in getDuplexPossibilties()
1070 << MCB.getOperand(j).getInst()->getOpcode() << "," in getDuplexPossibilties()
1071 << MCB.getOperand(k).getInst()->getOpcode() << "\n"); in getDuplexPossibilties()
1075 << MCB.getOperand(j).getInst()->getOpcode() << "," in getDuplexPossibilties()
1076 << MCB.getOperand(k).getInst()->getOpcode() << "\n"); in getDuplexPossibilties()
[all …]
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()
DHexagonMCShuffler.cpp40 MCInst &MI = *const_cast<MCInst *>(I.getInst()); in init()
65 assert(!HexagonMCInstrInfo::getDesc(MCII, *I.getInst()).isPseudo()); in init()
66 MCInst &MI = *const_cast<MCInst *>(I.getInst()); in init()
DHexagonMCChecker.cpp57 MCInst const &Inst = *I.getInst(); in init()
59 init(*Inst.getOperand(0).getInst()); in init()
60 init(*Inst.getOperand(1).getInst()); in init()
266 unsigned subInst0Opcode = ID.getOperand(0).getInst()->getOpcode(); in isNeitherAnorX()
267 unsigned subInst1Opcode = ID.getOperand(1).getInst()->getOpcode(); in isNeitherAnorX()
364 MCInst const &MCI = *HMI.getInst(); in checkSlots()
497 MCInst const &Inst = *I.getInst(); in checkRegistersReadOnly()
633 if (HexagonMCInstrInfo::getType(MCII, *HMI.getInst()) == in checkRegisters()
DHexagonMCInstrInfo.cpp63 MCInst const &Inst = *BundleCurrent->getInst(); in operator ++()
74 return *DuplexCurrent->getInst(); in operator *()
75 return *BundleCurrent->getInst(); in operator *()
198 MCB.getOperand(Index + bundleInstructionsOffset - 1).getInst(); in extenderForIndex()
439 if (HexagonMCInstrInfo::isDuplex(MCII, *I.getInst())) in hasDuplex()
455 if (isImmext(*I.getInst())) in hasImmExt()
479 return *MCB.getOperand(bundleInstructionsOffset + Index).getInst(); in instruction()
848 *MCB.getOperand(Candidate.packetIndexJ).getInst(), in replaceDuplex()
849 *MCB.getOperand(Candidate.packetIndexI).getInst()); in replaceDuplex()
DHexagonAsmBackend.cpp577 MCInst const &MCB = DF->getInst(); in fixupNeedsRelaxationAdvanced()
665 MCInst &CrntHMI = const_cast<MCInst &>(*I.getInst()); in relaxInstruction()
681 Res.addOperand(MCOperand::createInst(I.getInst())); in relaxInstruction()
734 auto &Inst = const_cast<MCInst &>(RF.getInst()); in finishLayout()
DHexagonMCCodeEmitter.cpp384 MCInst &HMI = const_cast<MCInst &>(*I.getInst()); in encodeInstruction()
443 const MCInst *Sub0 = MI.getOperand(0).getInst(); in EncodeSingleInstruction()
444 const MCInst *Sub1 = MI.getOperand(1).getInst(); in EncodeSingleInstruction()
481 if (I->getInst() != &MI) in getFixupNoBits()
484 const MCInst &NextI = *(I+1)->getInst(); in getFixupNoBits()
747 MCInst const &Inst = *I->getInst(); in getMachineOpValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp703 if (ldep.isClobber() && !isa<MemCpyInst>(ldep.getInst())) in processStore()
704 C = dyn_cast<CallInst>(ldep.getInst()); in processStore()
1047 if (!SourceDep.isClobber() || SourceDep.getInst() != MDep) in processMemCpyMemCpyDependence()
1103 if (DstDepInfo.getInst() != MemSet) in processMemSetMemCpyDependence()
1214 if (MemSetInst *MDep = dyn_cast<MemSetInst>(DepInfo.getInst())) in processMemCpy()
1230 if (CallInst *C = dyn_cast<CallInst>(DepInfo.getInst())) { in processMemCpy()
1249 if (MemCpyInst *MDep = dyn_cast<MemCpyInst>(SrcDepInfo.getInst())) in processMemCpy()
1252 Instruction *I = SrcDepInfo.getInst(); in processMemCpy()
1273 if (MemSetInst *MDep = dyn_cast<MemSetInst>(SrcDepInfo.getInst())) in processMemCpy()
1331 MemCpyInst *MDep = dyn_cast<MemCpyInst>(DepInfo.getInst()); in processByValArgument()
[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/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp494 if (ldep.isClobber() && !isa<MemCpyInst>(ldep.getInst())) in processStore()
495 C = dyn_cast<CallInst>(ldep.getInst()); in processStore()
740 if (!SourceDep.isClobber() || SourceDep.getInst() != MDep) in processMemCpyMemCpyDependence()
812 if (MemCpyInst *MDep = dyn_cast<MemCpyInst>(DepInfo.getInst())) in processMemCpy()
815 if (CallInst *C = dyn_cast<CallInst>(DepInfo.getInst())) { in processMemCpy()
875 MemCpyInst *MDep = dyn_cast<MemCpyInst>(DepInfo.getInst()); in processByValArgument()
908 if (!SourceDep.isClobber() || SourceDep.getInst() != MDep) in processByValArgument()
DGVN.cpp258 CallInst* local_cdep = cast<CallInst>(local_dep.getInst()); in lookup_or_add_call()
299 CallInst *NonLocalDepCall = dyn_cast<CallInst>(I->getResult().getInst()); in lookup_or_add_call()
1318 if (StoreInst *DepSI = dyn_cast<StoreInst>(DepInfo.getInst())) { in processNonLocalLoad()
1335 if (LoadInst *DepLI = dyn_cast<LoadInst>(DepInfo.getInst())) { in processNonLocalLoad()
1353 if (MemIntrinsic *DepMI = dyn_cast<MemIntrinsic>(DepInfo.getInst())) { in processNonLocalLoad()
1371 Instruction *DepInst = DepInfo.getInst(); in processNonLocalLoad()
1704 if (StoreInst *DepSI = dyn_cast<StoreInst>(Dep.getInst())) { in processLoad()
1717 if (LoadInst *DepLI = dyn_cast<LoadInst>(Dep.getInst())) { in processLoad()
1732 if (MemIntrinsic *DepMI = dyn_cast<MemIntrinsic>(Dep.getInst())) { in processLoad()
1741 DEBUG(dbgs() << "GVN COERCED INST:\n" << *Dep.getInst() << '\n' in processLoad()
[all …]
/external/llvm/lib/MC/
DMCInst.cpp31 OS << "Inst:(" << *getInst() << ")"; in print()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCInst.cpp34 OS << "Inst:(" << *getInst() << ")"; in print()

123