Searched refs:Instruction (Results 1 - 25 of 428) sorted by relevance

1234567891011>>

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombine.h42 if (isa<Instruction>(V)) {
63 void InsertHelper(Instruction *I, const Twine &Name,
73 public InstVisitor<InstCombiner, Instruction*> {
109 Instruction *visitAdd(BinaryOperator &I);
110 Instruction *visitFAdd(BinaryOperator &I);
112 Instruction *visitSub(BinaryOperator &I);
113 Instruction *visitFSub(BinaryOperator &I);
114 Instruction *visitMul(BinaryOperator &I);
115 Instruction *visitFMul(BinaryOperator &I);
116 Instruction *visitURe
[all...]
H A DInstCombineWorklist.h14 #include "llvm/Instruction.h"
26 SmallVector<Instruction*, 256> Worklist;
27 DenseMap<Instruction*, unsigned> WorklistMap;
38 void Add(Instruction *I) {
46 if (Instruction *I = dyn_cast<Instruction>(V))
53 void AddInitialGroup(Instruction *const *List, unsigned NumEntries) {
59 Instruction *I = List[NumEntries-1];
66 void Remove(Instruction *I) {
67 DenseMap<Instruction*, unsigne
[all...]
/external/llvm/include/llvm/
H A DOperator.h19 #include "llvm/Instruction.h"
41 /// getOpcode - Return the opcode for this Instruction or ConstantExpr.
44 if (const Instruction *I = dyn_cast<Instruction>(this))
49 /// getOpcode - If V is an Instruction or ConstantExpr, return its
53 if (const Instruction *I = dyn_cast<Instruction>(V))
57 return Instruction::UserOp1;
61 static inline bool classof(const Instruction *) { return true; }
64 return isa<Instruction>(
[all...]
H A DBasicBlock.h17 #include "llvm/Instruction.h"
30 template<> struct ilist_traits<Instruction>
31 : public SymbolTableListTraits<Instruction, BasicBlock> {
36 Instruction *createSentinel() const {
45 return static_cast<Instruction*>(&Sentinel);
47 static void destroySentinel(Instruction*) {}
49 Instruction *provideInitialHead() const { return createSentinel(); }
50 Instruction *ensureHead(Instruction*) const { return createSentinel(); }
51 static void noteHead(Instruction*, Instructio
[all...]
H A DInstrTypes.h1 //===-- llvm/InstrTypes.h - Important Instruction subclasses ----*- C++ -*-===//
19 #include "llvm/Instruction.h"
35 class TerminatorInst : public Instruction {
37 TerminatorInst(Type *Ty, Instruction::TermOps iType,
39 Instruction *InsertBefore = 0)
40 : Instruction(Ty, iType, Ops, NumOps, InsertBefore) {}
42 TerminatorInst(Type *Ty, Instruction::TermOps iType,
44 : Instruction(Ty, iType, Ops, NumOps, InsertAtEnd) {}
77 static inline bool classof(const Instruction *I) {
81 return isa<Instruction>(
[all...]
H A DInstruction.h1 //===-- llvm/Instruction.h - Instruction class definition -------*- C++ -*-===//
10 // This file contains the declaration of the Instruction class, which is the
30 class Instruction : public User, public ilist_node<Instruction> { class in namespace:llvm
31 void operator=(const Instruction &); // Do not implement
32 Instruction(const Instruction &); // Do not implement
44 ~Instruction();
48 Instruction *use_bac
[all...]
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/
H A DUnresolvedOdexInstruction.java31 import org.jf.dexlib.Code.Instruction;
39 public class UnresolvedOdexInstruction extends Instruction {
40 public final Instruction OriginalInstruction;
44 public UnresolvedOdexInstruction(Instruction originalInstruction, int objectRegisterNumber) {
/external/llvm/tools/llvm-diff/
H A DDiffLog.h21 class Instruction;
58 typedef std::pair<Instruction*,Instruction*> DiffRecord;
67 void addMatch(Instruction *L, Instruction *R);
69 void addLeft(Instruction *L);
70 void addRight(Instruction *R);
74 Instruction *getLeft(unsigned I) const;
75 Instruction *getRight(unsigned I) const;
H A DDiffLog.cpp34 void DiffLogBuilder::addMatch(Instruction *L, Instruction *R) {
37 void DiffLogBuilder::addLeft(Instruction *L) {
41 void DiffLogBuilder::addRight(Instruction *R) {
52 Instruction *DiffLogBuilder::getLeft(unsigned I) const { return Diff[I].first; }
53 Instruction *DiffLogBuilder::getRight(unsigned I) const { return Diff[I].second; }
/external/webkit/Source/JavaScriptCore/jit/
H A DJIT.h60 struct Instruction;
284 void compileOpCall(OpcodeID, Instruction* instruction, unsigned callLinkInfoIndex);
285 void compileOpCallVarargs(Instruction* instruction);
287 void compileOpCallSlowCase(Instruction* instruction, Vector<SlowCaseEntry>::iterator& iter, unsigned callLinkInfoIndex, OpcodeID opcodeID);
288 void compileOpCallVarargsSlowCase(Instruction* instruction, Vector<SlowCaseEntry>::iterator& iter);
291 void compileOpStrictEq(Instruction* instruction, CompileOpStrictEqType type);
722 void emit_op_add(Instruction*);
723 void emit_op_bitand(Instruction*);
724 void emit_op_bitnot(Instruction*);
725 void emit_op_bitor(Instruction*);
[all...]
/external/llvm/include/llvm/Support/
H A DNoFolder.h40 Instruction *CreateAdd(Constant *LHS, Constant *RHS,
47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const {
50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const {
53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const {
56 Instruction *CreateSub(Constant *LHS, Constant *RHS,
63 Instruction *CreateNSWSub(Constant *LHS, Constant *RHS) const {
66 Instruction *CreateNUWSub(Constant *LHS, Constant *RHS) const {
69 Instruction *CreateFSub(Constant *LHS, Constant *RHS) const {
72 Instruction *CreateMul(Constant *LHS, Constant *RHS,
79 Instruction *CreateNSWMu
[all...]
/external/llvm/lib/Analysis/
H A DCaptureTracking.cpp98 Instruction *I = cast<Instruction>(U->getUser());
102 case Instruction::Call:
103 case Instruction::Invoke: {
126 case Instruction::Load:
129 case Instruction::VAArg:
132 case Instruction::Store:
139 case Instruction::BitCast:
140 case Instruction::GetElementPtr:
141 case Instruction
[all...]
/external/llvm/lib/VMCore/
H A DInstruction.cpp1 //===-- Instruction.cpp - Implement the Instruction class -----------------===//
10 // This file implements the Instruction class for the VMCore library.
14 #include "llvm/Instruction.h"
23 Instruction::Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, function in class:Instruction
24 Instruction *InsertBefore)
32 "Instruction to insert before is not in a basic block!");
37 Instruction::Instruction(Typ function in class:Instruction
[all...]
/external/v8/src/mips/
H A Ddisasm-mips.cc98 void PrintRs(Instruction* instr);
99 void PrintRt(Instruction* instr);
100 void PrintRd(Instruction* instr);
101 void PrintFs(Instruction* instr);
102 void PrintFt(Instruction* instr);
103 void PrintFd(Instruction* instr);
104 void PrintSa(Instruction* instr);
105 void PrintSd(Instruction* instr);
106 void PrintSs1(Instruction* instr);
107 void PrintSs2(Instruction* inst
[all...]
/external/llvm/include/llvm/Analysis/
H A DPHITransAddr.h17 #include "llvm/Instruction.h"
46 SmallVector<Instruction*, 4> InstInputs;
50 if (Instruction *I = dyn_cast<Instruction>(Addr))
88 SmallVectorImpl<Instruction*> &NewInsts);
107 SmallVectorImpl<Instruction*> &NewInsts);
112 if (Instruction *VI = dyn_cast<Instruction>(V))
H A DScalarEvolutionNormalization.h43 class Instruction;
70 Instruction *User,
H A DIVUsers.h25 class Instruction;
40 IVStrideUse(IVUsers *P, Instruction* U, Value *O)
45 Instruction *getUser() const {
46 return cast<Instruction>(getValPtr());
50 void setUser(Instruction *NewUser) {
127 SmallPtrSet<Instruction*,16> Processed;
145 /// AddUsersIfInteresting - Inspect the specified Instruction. If it is a
148 bool AddUsersIfInteresting(Instruction *I);
150 IVStrideUse &AddUser(Instruction *User, Value *Operand);
169 bool isIVUserOrOperand(Instruction *Ins
[all...]
H A DMemoryDependenceAnalysis.h29 class Instruction;
78 /// upper part of the pair (i.e. the Instruction*)
82 /// (i.e. the Instruction* part) is instead used to encode more detailed
97 typedef PointerIntPair<Instruction*, 2, DepType> PairTy;
105 static MemDepResult getDef(Instruction *Inst) {
109 static MemDepResult getClobber(Instruction *Inst) {
115 PairTy(reinterpret_cast<Instruction*>(NonLocal), Other));
119 PairTy(reinterpret_cast<Instruction*>(NonFuncLocal), Other));
123 PairTy(reinterpret_cast<Instruction*>(Unknown), Other));
139 && Value.getPointer() == reinterpret_cast<Instruction*>(NonLoca
[all...]
/external/llvm/include/llvm/Assembly/
H A DAssemblyAnnotationWriter.h24 class Instruction;
53 virtual void emitInstructionAnnot(const Instruction *,
/external/llvm/include/llvm/Transforms/Utils/
H A DAddrModeMatcher.h28 class Instruction;
56 SmallVectorImpl<Instruction*> &AddrModeInsts;
62 Instruction *MemoryInst;
73 AddressingModeMatcher(SmallVectorImpl<Instruction*> &AMI,
75 Instruction *MI, ExtAddrMode &AM)
85 Instruction *MemoryInst,
86 SmallVectorImpl<Instruction*> &AddrModeInsts,
100 bool IsProfitableToFoldIntoAddressingMode(Instruction *I,
H A DSSAUpdater.h21 class Instruction;
128 LoadAndStorePromoter(const SmallVectorImpl<Instruction*> &Insts,
135 void run(const SmallVectorImpl<Instruction*> &Insts) const;
141 virtual bool isInstInList(Instruction *I,
142 const SmallVectorImpl<Instruction*> &Insts) const;
155 virtual void instructionDeleted(Instruction *I) const {
160 virtual void updateDebugInfo(Instruction *I) const {
/external/proguard/src/proguard/classfile/instruction/visitor/
H A DInstructionCounter.java25 import proguard.classfile.instruction.Instruction;
55 Instruction instruction)
/external/v8/src/arm/
H A Dsimulator-arm.h231 void Format(Instruction* instr, const char* format);
235 bool ConditionallyExecute(Instruction* instr);
257 int32_t GetShiftRm(Instruction* instr, bool* carry_out);
258 int32_t GetImm(Instruction* instr, bool* carry_out);
259 void ProcessPUW(Instruction* instr,
264 void HandleRList(Instruction* instr, bool load);
265 void HandleVList(Instruction* inst);
266 void SoftwareInterrupt(Instruction* instr);
269 inline bool isStopInstruction(Instruction* instr);
283 inline uint16_t ReadHU(int32_t addr, Instruction* inst
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DADCE.cpp53 SmallPtrSet<Instruction*, 128> alive;
54 SmallVector<Instruction*, 128> worklist;
68 Instruction* curr = worklist.pop_back_val();
69 for (Instruction::op_iterator OI = curr->op_begin(), OE = curr->op_end();
71 if (Instruction* Inst = dyn_cast<Instruction>(OI))
86 for (SmallVector<Instruction*, 1024>::iterator I = worklist.begin(),
/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp72 Value *foldIVUser(Instruction *UseInst, Instruction *IVOperand);
74 bool eliminateIVUser(Instruction *UseInst, Instruction *IVOperand);
89 Value *SimplifyIndvar::foldIVUser(Instruction *UseInst, Instruction *IVOperand) {
96 case Instruction::UDiv:
97 case Instruction::LShr:
115 if (UseInst->getOpcode() == Instruction::LShr) {
237 bool SimplifyIndvar::eliminateIVUser(Instruction *UseIns
[all...]

Completed in 511 milliseconds

1234567891011>>