Home
last modified time | relevance | path

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

/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()
DHexagonAsmBackend.cpp203 auto const &Inst = *I.getInst(); in mayNeedRelaxation()
219 MCInst const &MCB = DF->getInst(); in fixupNeedsRelaxationAdvanced()
306 MCInst &CrntHMI = const_cast<MCInst &>(*I.getInst()); in relaxInstruction()
322 Res.addOperand(MCOperand::createInst(I.getInst())); in relaxInstruction()
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.cpp51 init(*I.getInst()); in init()
247 MCInst const& MCI = *HMI.getInst(); in checkSlots()
276 MCInst const &MCI = *MCB.begin()[i].getInst(); in checkBranches()
465 if(llvm::HexagonMCInstrInfo::getType(MCII, *HMI.getInst()) == HexagonII::TypeCVI_HIST) { in checkRegisters()
488 if (llvm::HexagonMCInstrInfo::isSolo(MCII, *I.getInst())) { in checkSolo()
DHexagonMCInstrInfo.cpp154 MCB.getOperand(Index + bundleInstructionsOffset - 1).getInst(); in extenderForIndex()
333 auto MI = I.getInst(); in hasImmExt()
362 return *MCB.getOperand(bundleInstructionsOffset + Index).getInst(); in instruction()
616 *MCB.getOperand(Candidate.packetIndexJ).getInst(), in replaceDuplex()
617 *MCB.getOperand(Candidate.packetIndexI).getInst()); in replaceDuplex()
DHexagonMCCodeEmitter.cpp80 MCInst &HMI = const_cast<MCInst &>(*I.getInst()); in encodeInstruction()
134 MCInst const &Inst = *i->getInst(); in EncodeSingleInstruction()
240 const MCInst *subInst0 = HMB.getOperand(0).getInst(); in EncodeSingleInstruction()
241 const MCInst *subInst1 = HMB.getOperand(1).getInst(); in EncodeSingleInstruction()
DHexagonMCCompound.cpp367 MCInst const *JumpInst = J->getInst(); in lookForCompound()
379 MCInst const *Inst = B->getInst(); in lookForCompound()
/external/llvm/lib/Analysis/
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()
DMemoryDependenceAnalysis.cpp745 if (Instruction *Inst = LocalCache.getInst()) { in getDependency()
783 if (Instruction *I = LocalCache.getInst()) in getDependency()
898 if (Instruction *Inst = ExistingResult->getResult().getInst()) { in getNonLocalCallDependency()
931 if (Instruction *Inst = Dep.getInst()) in getNonLocalCallDependency()
1034 if (ExistingResult && ExistingResult->getResult().getInst()) { in GetNonLocalInfoForBlock()
1035 assert(ExistingResult->getResult().getInst()->getParent() == BB && in GetNonLocalInfoForBlock()
1038 ScanPos = ExistingResult->getResult().getInst()->getIterator(); in GetNonLocalInfoForBlock()
1066 Instruction *Inst = Dep.getInst(); in GetNonLocalInfoForBlock()
1153 if (Instruction *Inst = DI->getResult().getInst()) in getNonLocalPointerDepFromBB()
1174 if (Instruction *Inst = DI->getResult().getInst()) in getNonLocalPointerDepFromBB()
[all …]
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp507 if (ldep.isClobber() && !isa<MemCpyInst>(ldep.getInst())) in processStore()
508 C = dyn_cast<CallInst>(ldep.getInst()); in processStore()
805 if (!SourceDep.isClobber() || SourceDep.getInst() != MDep) in processMemCpyMemCpyDependence()
864 if (DstDepInfo.getInst() != MemSet) in processMemSetMemCpyDependence()
972 if (MemSetInst *MDep = dyn_cast<MemSetInst>(DepInfo.getInst())) in processMemCpy()
988 if (CallInst *C = dyn_cast<CallInst>(DepInfo.getInst())) { in processMemCpy()
1004 if (MemCpyInst *MDep = dyn_cast<MemCpyInst>(SrcDepInfo.getInst())) in processMemCpy()
1007 Instruction *I = SrcDepInfo.getInst(); in processMemCpy()
1028 if (MemSetInst *MDep = dyn_cast<MemSetInst>(SrcDepInfo.getInst())) in processMemCpy()
1085 MemCpyInst *MDep = dyn_cast<MemCpyInst>(DepInfo.getInst()); in processByValArgument()
[all …]
DGVN.cpp313 CallInst* local_cdep = cast<CallInst>(local_dep.getInst()); in lookup_or_add_call()
354 CallInst *NonLocalDepCall = dyn_cast<CallInst>(I->getResult().getInst()); in lookup_or_add_call()
1400 if (StoreInst *DepSI = dyn_cast<StoreInst>(DepInfo.getInst())) { in AnalyzeLoadAvailability()
1417 if (LoadInst *DepLI = dyn_cast<LoadInst>(DepInfo.getInst())) { in AnalyzeLoadAvailability()
1434 if (MemIntrinsic *DepMI = dyn_cast<MemIntrinsic>(DepInfo.getInst())) { in AnalyzeLoadAvailability()
1452 Instruction *DepInst = DepInfo.getInst(); in AnalyzeLoadAvailability()
1912 if (StoreInst *DepSI = dyn_cast<StoreInst>(Dep.getInst())) { in processLoad()
1924 if (LoadInst *DepLI = dyn_cast<LoadInst>(Dep.getInst())) { in processLoad()
1938 if (MemIntrinsic *DepMI = dyn_cast<MemIntrinsic>(Dep.getInst())) { in processLoad()
1946 DEBUG(dbgs() << "GVN COERCED INST:\n" << *Dep.getInst() << '\n' in processLoad()
[all …]
DDeadStoreElimination.cpp577 Instruction *DepWrite = InstDep.getInst(); in runOnBasicBlock()
753 Instruction *Dependency = Dep.getInst(); in HandleFree()
/external/llvm/lib/MC/
DMCInst.cpp31 OS << "Inst:(" << *getInst() << ")"; in print()
DMCAssembler.cpp993 if (!getBackend().mayNeedRelaxation(F->getInst())) in fragmentNeedsRelaxation()
1016 getBackend().relaxInstruction(F.getInst(), Relaxed); in relaxInstruction()
1243 F->getInst().dump_pretty(OS); in dump()
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.h67 Instruction *getInst(Value *base, char *instName);
DNVPTXUtilities.cpp379 Instruction *llvm::getInst(Value *base, char *instName) { in getInst() function in llvm
396 Instruction *I = getInst(base, instName); in dumpInst()
/external/llvm/include/llvm/MC/
DMCInst.h102 const MCInst *getInst() const { in getInst() function
DMCAssembler.h277 const MCInst &getInst() const { return Inst; }
/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp232 const MachineInstr *getInst() const { return Inst; } in getInst() function in __anone8ceb28c0111::ValueTrackerResult
261 if (Other.getInst() != getInst()) in operator ==()
855 MachineInstr *OrigPHI = const_cast<MachineInstr *>(Res.getInst()); in getNewSource()
/external/llvm/include/llvm/Analysis/
DMemoryDependenceAnalysis.h158 Instruction *getInst() const { in getInst() function
/external/llvm/lib/Target/Hexagon/Disassembler/
DHexagonDisassembler.cpp363 if (Vector && !HexagonMCInstrInfo::isVector(*MCII, *i->getInst())) in getSingleInstruction()
366 if (HexagonMCInstrInfo::isImmext(*i->getInst())) in getSingleInstruction()
371 auto const &Inst = *i->getInst(); in getSingleInstruction()
399 *MI.getOperand(1).getInst() : MI; in getSingleInstruction()