HomeSort by relevance Sort by last modified time
    Searched defs:Inst (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/clang/test/Parser/
cxx-default-args.cpp 10 typedef struct Inst {
  /external/llvm/lib/MC/MCDisassembler/
EDOperand.h 36 const EDInst &Inst;
46 /// @arg inst - The instruction containing this operand
47 /// @arg opIndex - The index of the operand in inst
50 const EDInst &inst,
EDInst.h 64 llvm::MCInst *Inst;
99 /// @arg inst - The MCInst, which will now be owned by this object
104 EDInst(llvm::MCInst *inst,
Disassembler.cpp 152 MCInst Inst;
156 S = DisAsm->getInstruction(Inst, Size, MemoryObject, PC,
170 IP->printInst(&Inst, OS, Comments);
  /external/llvm/lib/Analysis/
Loads.cpp 185 Instruction *Inst = --ScanFrom;
186 if (isa<DbgInfoIntrinsic>(Inst))
199 if (LoadInst *LI = dyn_cast<LoadInst>(Inst))
205 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
234 if (Inst->mayWriteToMemory()) {
238 (AA->getModRefInfo(Inst, Ptr, AccessSize) & AliasAnalysis::Mod) == 0)
PHITransAddr.cpp 25 static bool CanPHITrans(Instruction *Inst) {
26 if (isa<PHINode>(Inst) ||
27 isa<GetElementPtrInst>(Inst))
30 if (isa<CastInst>(Inst) &&
31 isSafeToSpeculativelyExecute(Inst))
34 if (Inst->getOpcode() == Instruction::Add &&
35 isa<ConstantInt>(Inst->getOperand(1)))
116 Instruction *Inst = dyn_cast<Instruction>(Addr);
117 return Inst == 0 || CanPHITrans(Inst);
    [all...]
AliasAnalysisEvaluator.cpp 144 Instruction &Inst = *I;
145 if (CallSite CS = cast<Value>(&Inst)) {
158 for (Instruction::op_iterator OI = Inst.op_begin(), OE = Inst.op_end();
MemDepPrinter.cpp 74 static InstTypePair getInstTypePair(const Instruction* inst, DepType type) {
75 return InstTypePair(inst, type);
102 Instruction *Inst = &*I;
104 if (!Inst->mayReadFromMemory() && !Inst->mayWriteToMemory())
107 MemDepResult Res = MDA.getDependency(Inst);
109 Deps[Inst].insert(std::make_pair(getInstTypePair(Res),
111 } else if (CallSite CS = cast<Value>(Inst)) {
115 DepSet &InstDeps = Deps[Inst];
123 if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) {
    [all...]
  /external/llvm/lib/Target/Mips/
MipsAnalyzeImmediate.cpp 15 MipsAnalyzeImmediate::Inst::Inst(unsigned O, unsigned I) : Opc(O), ImmOpnd(I) {}
18 void MipsAnalyzeImmediate::AddInstr(InstSeqLs &SeqLs, const Inst &I) {
32 AddInstr(SeqLs, Inst(ADDiu, Imm & 0xffffULL));
38 AddInstr(SeqLs, Inst(ORi, Imm & 0xffffULL));
45 AddInstr(SeqLs, Inst(SLL, Shamt));
58 AddInstr(SeqLs, Inst(ADDiu, MaskedImm));
MipsAnalyzeImmediate.h 19 struct Inst {
21 Inst(unsigned Opc, unsigned ImmOpnd);
23 typedef SmallVector<Inst, 7 > InstSeq;
33 void AddInstr(InstSeqLs &SeqLs, const Inst &I);
MipsFrameLowering.cpp 109 MipsAnalyzeImmediate::InstSeq::const_iterator Inst = Seq.begin();
114 if (Inst->Opc == LUi)
116 .addImm(SignExtend64<16>(Inst->ImmOpnd));
118 BuildMI(MBB, II, DL, TII.get(Inst->Opc), ATReg).addReg(ZEROReg)
119 .addImm(SignExtend64<16>(Inst->ImmOpnd));
122 for (++Inst; Inst != Seq.end(); ++Inst)
123 BuildMI(MBB, II, DL, TII.get(Inst->Opc), ATReg).addReg(ATReg)
124 .addImm(SignExtend64<16>(Inst->ImmOpnd))
    [all...]
  /external/llvm/lib/Transforms/Scalar/
DCE.cpp 10 // This file implements dead inst elimination and dead code elimination.
12 // Dead Inst Elimination performs a single pass over the function removing
43 Instruction *Inst = DI++;
44 if (isInstructionTriviallyDead(Inst)) {
45 Inst->eraseFromParent();
LowerAtomic.cpp 117 Instruction *Inst = DI++;
118 if (FenceInst *FI = dyn_cast<FenceInst>(Inst))
120 else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(Inst))
122 else if (AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(Inst))
124 else if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) {
127 } else if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
Sink.cpp 57 bool AllUsesDominatedByBlock(Instruction *Inst, BasicBlock *BB) const;
72 bool Sinking::AllUsesDominatedByBlock(Instruction *Inst,
78 for (Value::use_iterator I = Inst->use_begin(),
79 E = Inst->use_end(); I != E; ++I) {
135 Instruction *Inst = I; // The instruction to sink.
143 if (isa<DbgInfoIntrinsic>(Inst))
146 if (SinkInstruction(Inst, Stores))
155 static bool isSafeToMove(Instruction *Inst, AliasAnalysis *AA,
158 if (Inst->mayWriteToMemory()) {
159 Stores.insert(Inst);
    [all...]
LoopIdiomRecognize.cpp 236 Instruction *Inst = I++;
238 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
251 if (MemSetInst *MSI = dyn_cast<MemSetInst>(Inst)) {
LoopRotation.cpp 332 Instruction *Inst = I++;
340 if (L->hasLoopInvariantOperands(Inst) &&
341 !Inst->mayReadFromMemory() && !Inst->mayWriteToMemory() &&
342 !isa<TerminatorInst>(Inst) && !isa<DbgInfoIntrinsic>(Inst) &&
343 !isa<AllocaInst>(Inst)) {
344 Inst->moveBefore(LoopEntryBranch);
349 Instruction *C = Inst->clone();
363 ValueMap[Inst] = V
    [all...]
  /external/llvm/tools/llvm-objdump/
MCFunction.cpp 55 MCInst Inst;
56 if (DisAsm->getInstruction(Inst, Size, Region, Index, DebugOut, nulls())){
57 Instructions.push_back(MCDecodedInst(Index, Size, Inst));
58 if (Ana->isBranch(Inst)) {
59 uint64_t targ = Ana->evaluateBranch(Inst, Index, Size);
72 } else if (Ana->isReturn(Inst)) {
76 } else if (Ana->isCall(Inst)) {
77 uint64_t targ = Ana->evaluateBranch(Inst, Index, Size);
116 const MCDecodedInst &Inst = BB.getInsts().back();
118 if (Ana->isBranch(Inst.Inst))
    [all...]
MCFunction.h 35 MCInst Inst;
38 MCDecodedInst(uint64_t Address, uint64_t Size, MCInst Inst)
39 : Address(Address), Size(Size), Inst(Inst) {}
61 void addInst(const MCDecodedInst &Inst) { Insts.push_back(Inst); }
  /frameworks/compile/libbcc/lib/Disassembler/
Disassembler.cpp 117 llvm::MCInst Inst;
119 if (Disassmbler->getInstruction(Inst, Size, *BufferMObj, Index,
126 IP->printInst(&Inst, OS, "");
  /external/llvm/lib/Transforms/Utils/
LoopUnroll.cpp 421 if (Instruction *Inst =
423 RecursivelyDeleteTriviallyDeadInstructions(Inst);
433 Instruction *Inst = I++;
435 if (isInstructionTriviallyDead(Inst))
436 (*BB)->getInstList().erase(Inst);
437 else if (Value *V = SimplifyInstruction(Inst))
438 if (LI->replacementPreservesLCSSAForm(Inst, V)) {
439 Inst->replaceAllUsesWith(V);
440 (*BB)->getInstList().erase(Inst);
  /external/llvm/tools/llvm-mc/
Disassembler.cpp 67 MCInst Inst;
70 S = DisAsm.getInstruction(Inst, Size, memoryObject, Index,
88 Streamer.EmitInstruction(Inst);
238 inst(disassembler->createInst(byteArrayReader, 0, &ByteArray));
240 if (inst == 0) {
245 ByteArray.erase (ByteArray.begin(), ByteArray.begin() + inst->byteSize());
247 unsigned numTokens = inst->numTokens();
256 if (inst->getToken(token, tokenIndex)) {
308 if (inst->isBranch())
310 if (inst->isMove()
    [all...]
  /external/llvm/utils/TableGen/
InstrInfoEmitter.cpp 54 InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) {
57 for (unsigned i = 0, e = Inst.Operands.size(); i != e; ++i) {
66 DagInit *MIOI = Inst.Operands[i].MIOperandInfo;
70 OperandList.push_back(Inst.Operands[i]);
72 for (unsigned j = 0, e = Inst.Operands[i].MINumOperands; j != e; ++j) {
73 OperandList.push_back(Inst.Operands[i]);
103 if (Inst.Operands[i].Rec->isSubClassOf("PredicateOperand"))
108 if (Inst.Operands[i].Rec->isSubClassOf("OptionalDefOperand"))
113 assert(!Inst.Operands[i].OperandType.empty() && "Invalid operand type.");
114 Res += Inst.Operands[i].OperandType
    [all...]
  /external/llvm/lib/AsmParser/
LLParser.cpp 53 Instruction *Inst = I->first;
62 Inst->setMetadata(MDList[i].MDKind, NumberedMetadata[SlotNo]);
    [all...]
  /external/llvm/tools/bugpoint/
CrashDebugger.cpp 403 Instruction *Inst = I++;
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/CodeGen/
SjLjEHPrepare.cpp 308 Instruction *Inst = II;
309 if (Inst->use_empty()) continue;
310 if (Inst->hasOneUse() &&
311 cast<Instruction>(Inst->use_back())->getParent() == BB &&
312 !isa<PHINode>(Inst->use_back())) continue;
316 if (AllocaInst *AI = dyn_cast<AllocaInst>(Inst))
323 UI = Inst->use_begin(), E = Inst->use_end(); UI != E; ++UI) {
331 LiveBBs.insert(Inst->getParent());
342 if (PN->getIncomingValue(i) == Inst)
    [all...]

Completed in 491 milliseconds

1 2 3