Searched refs:Inst (Results 76 - 100 of 157) sorted by relevance

1234567

/external/llvm/include/llvm/MC/
H A DMCELFStreamer.h96 virtual void EmitInstToFragment(const MCInst &Inst);
97 virtual void EmitInstToData(const MCInst &Inst);
H A DMCTargetAsmParser.h157 virtual unsigned checkTargetMatchPredicate(MCInst &Inst) { argument
/external/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsAsmBackend.cpp208 /// \param Inst - The instruction to test.
209 bool mayNeedRelaxation(const MCInst &Inst) const {
227 /// \param Inst - The instruction to relax, which may be the same
230 void relaxInstruction(const MCInst &Inst, MCInst &Res) const { argument
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCAsmBackend.cpp115 bool mayNeedRelaxation(const MCInst &Inst) const {
129 void relaxInstruction(const MCInst &Inst, MCInst &Res) const { argument
/external/llvm/tools/bugpoint/
H A DCrashDebugger.cpp403 Instruction *Inst = I++; local
404 if (!Instructions.count(Inst) && !isa<TerminatorInst>(Inst) &&
405 !isa<LandingPadInst>(Inst)) {
406 if (!Inst->getType()->isVoidTy())
407 Inst->replaceAllUsesWith(UndefValue::get(Inst->getType()));
408 Inst->eraseFromParent();
/external/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp144 Instruction &Inst = *I; local
145 if (CallSite CS = cast<Value>(&Inst)) {
158 for (Instruction::op_iterator OI = Inst.op_begin(), OE = Inst.op_end();
H A DSparsePropagation.cpp78 void SparseSolver::UpdateState(Instruction &Inst, LatticeVal V) { argument
79 DenseMap<Value*, LatticeVal>::iterator I = ValueState.find(&Inst);
84 ValueState[&Inst] = V;
85 InstWorkList.push_back(&Inst);
309 if (BBExecutable.count(U->getParent())) // Inst is executable?
H A DCostModel.cpp215 Instruction *Inst = it; local
216 unsigned Cost = getInstructionCost(Inst);
222 OS << " for instruction: "<< *Inst << "\n"; local
/external/llvm/lib/Target/Mips/
H A DMipsInstrInfo.h98 void AnalyzeCondBr(const MachineInstr *Inst, unsigned Opc,
/external/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp153 MCInst Inst; local
157 S = DisAsm->getInstruction(Inst, Size, MemoryObject, PC,
171 IP->printInst(&Inst, OS, Comments);
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp447 Instruction *Inst = Iter; local
448 if (Inst->getOpcode() != Instruction::Add)
451 ConstantInt *Inc = dyn_cast<ConstantInt>(Inst->getOperand(1));
455 PHINode *Phi = dyn_cast<PHINode>(Inst->getOperand(0));
461 for (Value::use_iterator I = Inst->use_begin(), E = Inst->use_end();
469 CountInst = Inst;
522 // If the popoulation counter's initial value is not zero, insert Add Inst.
740 Instruction *Inst = I++; local
742 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
[all...]
H A DLICM.cpp617 bool LICM::isSafeToExecuteUnconditionally(Instruction &Inst) { argument
619 if (isSafeToSpeculativelyExecute(&Inst))
622 return isGuaranteedToExecute(Inst);
625 bool LICM::isGuaranteedToExecute(Instruction &Inst) { argument
639 if (Inst.getParent() == CurLoop->getHeader())
648 if (!DT->dominates(Inst.getParent(), ExitBlocks[i]))
H A DIndVarSimplify.cpp527 Instruction *Inst = cast<Instruction>(InVal); local
528 if (!L->contains(Inst))
534 const SCEV *ExitValue = SE->getSCEVAtScope(Inst, L->getParentLoop());
538 Value *ExitVal = Rewriter.expandCodeFor(ExitValue, PN->getType(), Inst);
541 << " LoopVal = " << *Inst << "\n"); local
543 if (!isValidRewrite(Inst, ExitVal)) {
554 if (isInstructionTriviallyDead(Inst, TLI))
555 DeadInsts.push_back(Inst);
723 Instruction *Inst = dyn_cast<Instruction>(V); local
724 if (!Inst)
[all...]
H A DMemCpyOptimizer.cpp204 void addInst(int64_t OffsetFromFirst, Instruction *Inst) { argument
205 if (StoreInst *SI = dyn_cast<StoreInst>(Inst))
208 addMemSet(OffsetFromFirst, cast<MemSetInst>(Inst));
224 unsigned Alignment, Instruction *Inst);
240 unsigned Alignment, Instruction *Inst) {
256 R.TheStores.push_back(Inst);
261 I->TheStores.push_back(Inst);
239 addRange(int64_t Start, int64_t Size, Value *Ptr, unsigned Alignment, Instruction *Inst) argument
/external/llvm/lib/MC/
H A DMCELFStreamer.cpp363 void MCELFStreamer::EmitInstToFragment(const MCInst &Inst) { argument
364 this->MCObjectStreamer::EmitInstToFragment(Inst);
371 void MCELFStreamer::EmitInstToData(const MCInst &Inst) { argument
376 Assembler.getEmitter().EncodeInstruction(Inst, VecOS, Fixups);
H A DMCNullStreamer.cpp99 virtual void EmitInstruction(const MCInst &Inst) {} argument
H A DMCAsmStreamer.cpp108 virtual void AddEncodingComment(const MCInst &Inst);
266 virtual void EmitInstruction(const MCInst &Inst);
1219 void MCAsmStreamer::AddEncodingComment(const MCInst &Inst) { argument
1224 Emitter->EncodeInstruction(Inst, VecOS, Fixups);
1370 void MCAsmStreamer::EmitInstruction(const MCInst &Inst) {
1375 AddEncodingComment(Inst);
1379 Inst.dump_pretty(GetCommentOS(), &MAI, InstPrinter.get(), "\n ");
1385 InstPrinter->printInst(&Inst, OS, "");
1387 Inst.print(OS, &MAI);
H A DMCMachOStreamer.cpp32 virtual void EmitInstToData(const MCInst &Inst);
377 void MCMachOStreamer::EmitInstToData(const MCInst &Inst) { argument
383 getAssembler().getEmitter().EncodeInstruction(Inst, VecOS, Fixups);
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2207 Instruction *Inst = BBI++; local
2210 if (isInstructionTriviallyDead(Inst, TLI)) {
2212 DEBUG(errs() << "IC: DCE: " << *Inst << '\n');
2213 Inst->eraseFromParent();
2218 if (!Inst->use_empty() && isa<Constant>(Inst->getOperand(0)))
2219 if (Constant *C = ConstantFoldInstruction(Inst, TD, TLI)) {
2221 << *Inst << '\n'); local
2222 Inst->replaceAllUsesWith(C);
2224 Inst
2319 Instruction *Inst = --I; local
[all...]
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp91 virtual void EmitInstruction(const MCInst& Inst) { argument
97 MCELFStreamer::EmitInstruction(Inst);
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h255 static inline Value *GetObjCArg(Value *Inst) { argument
256 return StripPointerCastsAndObjCCalls(cast<CallInst>(Inst)->getArgOperand(0));
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp1078 const Instruction *Inst = llvm::prior(BI); local
1081 if (isFoldedOrDeadInstruction(Inst, FuncInfo)) {
1091 if (FastIS->SelectInstruction(Inst)) {
1097 const Instruction *BeforeInst = Inst;
1103 if (BeforeInst != Inst && isa<LoadInst>(BeforeInst) &&
1105 TryToFoldFastISelLoad(cast<LoadInst>(BeforeInst), Inst, FastIS)) {
1116 collectFailStats(Inst);
1120 if (isa<CallInst>(Inst)) {
1124 Inst->dump();
1127 if (!Inst
[all...]
/external/llvm/lib/Transforms/Utils/
H A DLocal.cpp415 Instruction *Inst = BI++; local
418 if (recursivelySimplifyInstruction(Inst, TD)) {
425 MadeChange |= RecursivelyDeleteTriviallyDeadInstructions(Inst, TLI);
996 Instruction &Inst = I->back(); local
997 if (!Inst.use_empty())
998 Inst.replaceAllUsesWith(UndefValue::get(Inst.getType()));
H A DLoopSimplify.cpp312 Instruction *Inst = I++; local
314 if (isa<DbgInfoIntrinsic>(Inst))
316 if (Inst == CI)
318 if (!L->makeLoopInvariant(Inst, Changed,
/external/llvm/include/llvm/Analysis/
H A DSparsePropagation.h183 void UpdateState(Instruction &Inst, LatticeVal V);

Completed in 357 milliseconds

1234567