Searched refs:Instruction (Results 76 - 100 of 1065) sorted by relevance

1234567891011>>

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/
H A DMethodImplementation.java35 import org.jf.dexlib2.iface.instruction.Instruction;
56 @Nonnull Iterable<? extends Instruction> getInstructions();
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DScalarEvolutionNormalization.h43 class Instruction;
70 Instruction *User,
/external/swiftshader/third_party/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,
/external/llvm/lib/Analysis/
H A DOrderedBasicBlock.cpp15 // source BasicBlock and maintains an internal Instruction -> Position map. A
25 #include "llvm/IR/Instruction.h"
35 bool OrderedBasicBlock::comesBefore(const Instruction *A,
36 const Instruction *B) {
37 const Instruction *Inst = nullptr;
39 "Instruction supposed to be in NumberedInsts");
49 Inst = cast<Instruction>(II);
55 assert(II != IE && "Instruction not found?");
65 bool OrderedBasicBlock::dominates(const Instruction *A, const Instruction *
[all...]
H A DDemandedBits.cpp68 static bool isAlwaysLive(Instruction *I) {
74 const Instruction *UserI, const Instruction *I, unsigned OperandNo,
103 case Instruction::Call:
104 case Instruction::Invoke:
135 case Instruction::Add:
136 case Instruction::Sub:
137 case Instruction::Mul:
143 case Instruction::Shl:
159 case Instruction
[all...]
H A DCaptureTracking.cpp63 CapturesBefore(bool ReturnCaptures, const Instruction *I, DominatorTree *DT,
70 bool isSafeToPrune(Instruction *I) {
119 Instruction *I = cast<Instruction>(U->getUser());
142 const Instruction *BeforeHere;
186 bool StoreCaptures, const Instruction *I,
233 Instruction *I = cast<Instruction>(U->getUser());
237 case Instruction::Call:
238 case Instruction
[all...]
/external/llvm/tools/llvm-diff/
H A DDiffLog.cpp33 void DiffLogBuilder::addMatch(Instruction *L, Instruction *R) {
36 void DiffLogBuilder::addLeft(Instruction *L) {
40 void DiffLogBuilder::addRight(Instruction *R) {
51 Instruction *DiffLogBuilder::getLeft(unsigned I) const { return Diff[I].first; }
52 Instruction *DiffLogBuilder::getRight(unsigned I) const { return Diff[I].second; }
/external/swiftshader/third_party/LLVM/tools/llvm-diff/
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/llvm/include/llvm/IR/
H A DInstructions.h1 //===-- llvm/Instructions.h - Instruction subclass definitions --*- C++ -*-===//
11 // Instruction class. This is meant to be an easy way to get access to all
55 // Note: Instruction needs to be a friend here to call cloneImpl.
56 friend class Instruction;
62 Instruction *InsertBefore = nullptr);
66 AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore = nullptr);
70 const Twine &Name = "", Instruction *InsertBefore = nullptr);
91 return cast<PointerType>(Instruction::getType());
142 static inline bool classof(const Instruction *I) {
143 return (I->getOpcode() == Instruction
[all...]
/external/v8/src/mips64/
H A Ddisasm-mips64.cc71 void PrintRs(Instruction* instr);
72 void PrintRt(Instruction* instr);
73 void PrintRd(Instruction* instr);
74 void PrintFs(Instruction* instr);
75 void PrintFt(Instruction* instr);
76 void PrintFd(Instruction* instr);
77 void PrintSa(Instruction* instr);
78 void PrintLsaSa(Instruction* instr);
79 void PrintSd(Instruction* instr);
80 void PrintSs1(Instruction* inst
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp41 Instruction *I = dyn_cast<Instruction>(V);
46 if (I->getOpcode() == Instruction::InsertElement && isConstant &&
49 if (I->getOpcode() == Instruction::Load && I->hasOneUse())
68 Instruction *InstCombiner::scalarizePHI(ExtractElementInst &EI, PHINode *PN) {
69 SmallVector<Instruction *, 2> Extracts;
74 Instruction *PHIUser = nullptr;
82 PHIUser = cast<Instruction>(U);
124 Instruction *newEI = ExtractElementInst::Create(PHIInVal, Elt, "");
126 Instruction *po
[all...]
/external/llvm/include/llvm/Analysis/
H A DIVUsers.h26 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;
148 /// AddUsersIfInteresting - Inspect the specified Instruction. If it is a
151 bool AddUsersIfInteresting(Instruction *I);
153 IVStrideUse &AddUser(Instruction *User, Value *Operand);
172 bool isIVUserOrOperand(Instruction *Ins
[all...]
H A DValueTracking.h20 #include "llvm/IR/Instruction.h"
32 class Instruction;
55 const Instruction *CxtI = nullptr,
65 const Instruction *CxtI = nullptr,
73 const Instruction *CxtI = nullptr,
84 const Instruction *CxtI = nullptr,
93 const Instruction *CxtI = nullptr,
99 const Instruction *CxtI = nullptr,
106 const Instruction *CxtI = nullptr,
113 const Instruction *Cxt
[all...]
H A DDemandedBits.h35 class Instruction;
45 APInt getDemandedBits(Instruction *I);
48 bool isInstructionDead(Instruction *I);
58 void determineLiveOperandBits(const Instruction *UserI,
59 const Instruction *I, unsigned OperandNo,
67 SmallPtrSet<Instruction*, 32> Visited;
68 DenseMap<Instruction *, APInt> AliveBits;
/external/llvm/unittests/Transforms/Utils/
H A DIntegerDivision.cpp42 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv);
47 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
49 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
50 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub);
72 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv);
77 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
79 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
80 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction
[all...]
/external/v8/src/arm64/
H A Dinstructions-arm64.cc16 bool Instruction::IsLoad() const {
43 bool Instruction::IsStore() const {
92 uint64_t Instruction::ImmLogical() {
143 float Instruction::ImmFP32() {
157 double Instruction::ImmFP64() {
183 int64_t Instruction::ImmPCOffset() {
206 Instruction* Instruction::ImmPCOffsetTarget() {
211 bool Instruction::IsValidImmPCOffset(ImmBranchType branch_type,
217 bool Instruction
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DReassociate.cpp62 static void PrintOps(Instruction *I, const SmallVectorImpl<ValueEntry> &Ops) {
64 dbgs() << Instruction::getOpcodeName(I->getOpcode()) << " "
100 Value *OptimizeAdd(Instruction *I, SmallVectorImpl<ValueEntry> &Ops);
118 Instruction *Op = dyn_cast<Instruction>(V);
131 static bool isUnmovableInstruction(Instruction *I) {
132 if (I->getOpcode() == Instruction::PHI ||
133 I->getOpcode() == Instruction::Alloca ||
134 I->getOpcode() == Instruction::Load ||
135 I->getOpcode() == Instruction
[all...]
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(),
H A DSink.cpp55 bool SinkInstruction(Instruction *I, SmallPtrSet<Instruction *, 8> &Stores);
56 bool AllUsesDominatedByBlock(Instruction *Inst, BasicBlock *BB) const;
71 bool Sinking::AllUsesDominatedByBlock(Instruction *Inst,
80 Instruction *UseInst = cast<Instruction>(*I);
132 SmallPtrSet<Instruction *, 8> Stores;
134 Instruction *Inst = I; // The instruction to sink.
154 static bool isSafeToMove(Instruction *Inst, AliasAnalysis *AA,
155 SmallPtrSet<Instruction *,
[all...]
/external/v8/src/mips/
H A Ddisasm-mips.cc70 void PrintRs(Instruction* instr);
71 void PrintRt(Instruction* instr);
72 void PrintRd(Instruction* instr);
73 void PrintFs(Instruction* instr);
74 void PrintFt(Instruction* instr);
75 void PrintFd(Instruction* instr);
76 void PrintSa(Instruction* instr);
77 void PrintLsaSa(Instruction* instr);
78 void PrintSd(Instruction* instr);
79 void PrintSs1(Instruction* inst
[all...]
/external/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdater.h22 class Instruction;
139 LoadAndStorePromoter(ArrayRef<const Instruction*> Insts,
148 void run(const SmallVectorImpl<Instruction*> &Insts) const;
154 virtual bool isInstInList(Instruction *I,
155 const SmallVectorImpl<Instruction*> &Insts) const;
168 virtual void instructionDeleted(Instruction *I) const {
172 virtual void updateDebugInfo(Instruction *I) const {
H A DLoopVersioning.h63 void versionLoop(const SmallVectorImpl<Instruction *> &DefsUsedOutside);
97 void annotateInstWithNoAlias(Instruction *VersionedInst,
98 const Instruction *OrigInst);
106 void addPHINodes(const SmallVectorImpl<Instruction *> &DefsUsedOutside);
110 void annotateInstWithNoAlias(Instruction *I) {
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_target.h67 virtual bool emitInstruction(Instruction *) = 0;
69 virtual uint32_t getMinEncodingSize(const Instruction *) const = 0;
161 inline const OpInfo& getOpInfo(const Instruction *) const;
166 virtual bool insnCanLoad(const Instruction *insn, int s,
167 const Instruction *ld) const = 0;
170 virtual bool isModSupported(const Instruction *,
172 virtual bool isSatSupported(const Instruction *) const = 0;
175 virtual bool mayPredicate(const Instruction *,
179 virtual bool canDualIssue(const Instruction *insn,
180 const Instruction *nex
[all...]
/external/v8/src/compiler/
H A Dinstruction-scheduler.h37 void AddInstruction(Instruction* instr);
46 ScheduleGraphNode(Zone* zone, Instruction* instr);
64 Instruction* instruction() { return instr_; }
75 Instruction* instr_;
152 int GetInstructionFlags(const Instruction* instr) const;
153 int GetTargetInstructionFlags(const Instruction* instr) const;
156 bool IsBlockTerminator(const Instruction* instr) const;
160 bool HasSideEffect(const Instruction* instr) const {
165 bool IsLoadOperation(const Instruction* instr) const {
171 bool MayNeedDeoptCheck(const Instruction* inst
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp84 Instruction* Use = cast<Instruction>(*UI);
90 Instruction* First = &F.getEntryBlock().front();
112 if (!(Ashr && Ashr->getOpcode() == Instruction::AShr))
121 Instruction *Shl = dyn_cast<Instruction>(Ashr->getOperand(0));
122 if (!(Shl && Shl->getOpcode() == Instruction::Shl))
139 if (Instruction *J = dyn_cast<Instruction>(TheUse.getUser())) {

Completed in 5121 milliseconds

1234567891011>>