/external/llvm/lib/Target/WebAssembly/ |
WebAssemblyTargetTransformInfo.cpp | 56 case Instruction::LShr: 57 case Instruction::AShr: 58 case Instruction::Shl:
|
/external/llvm/lib/Transforms/Scalar/ |
BDCE.cpp | 39 SmallVector<Instruction*, 128> Worklist; 41 for (Instruction &I : instructions(F)) { 64 for (Instruction *&I : Worklist) {
|
Sink.cpp | 37 static bool AllUsesDominatedByBlock(Instruction *Inst, BasicBlock *BB, 45 Instruction *UseInst = cast<Instruction>(U.getUser()); 60 static bool isSafeToMove(Instruction *Inst, AliasAnalysis &AA, 61 SmallPtrSetImpl<Instruction *> &Stores) { 70 for (Instruction *S : Stores) 85 for (Instruction *S : Stores) 93 /// IsAcceptableTarget - Return true if it is possible to sink the instruction 95 static bool IsAcceptableTarget(Instruction *Inst, BasicBlock *SuccToSinkTo, 97 assert(Inst && "Instruction to be sunk is null") [all...] |
CorrelatedValuePropagation.cpp | 162 static bool processMemAccess(Instruction *I, LazyValueInfo *LVI) { 193 auto *I = dyn_cast<Instruction>(Op0); 211 /// Simplify a switch instruction by removing cases which can never fire. If the 224 if (isa<Instruction>(Cond) && cast<Instruction>(Cond)->getParent() == BB) 334 auto *I = dyn_cast<Instruction>(O); 384 static Constant *getConstantAt(Value *V, Instruction *At, LazyValueInfo *LVI) { 413 Instruction *II = &*BI++; 415 case Instruction::Select: 418 case Instruction::PHI [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
GotoGotoReplacer.java | 26 import proguard.classfile.instruction.*; 27 import proguard.classfile.instruction.visitor.InstructionVisitor; 72 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 77 // Check if the instruction is an unconditional goto instruction. 82 // Check if the goto instruction points to another simple goto 83 // instruction. 92 Instruction targetInstruction = 97 // Simplify the goto instruction [all...] |
GotoReturnReplacer.java | 26 import proguard.classfile.instruction.*; 27 import proguard.classfile.instruction.visitor.InstructionVisitor; 72 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 77 // Check if the instruction is an unconditional goto instruction. 82 // Check if the goto instruction points to a return instruction. 88 Instruction targetInstruction = InstructionFactory.create(codeAttribute.code, 98 // Replace the goto instruction by the return instruction [all...] |
/external/skia/third_party/lua/src/ |
lopcodes.h | 32 enum OpMode {iABC, iABx, iAsBx, iAx}; /* basic instruction format */ 80 #define MASK1(n,p) ((~((~(Instruction)0)<<(n)))<<(p)) 91 ((cast(Instruction, o)<<POS_OP)&MASK1(SIZE_OP,POS_OP)))) 95 ((cast(Instruction, v)<<pos)&MASK1(size,pos)))) 116 #define CREATE_ABC(o,a,b,c) ((cast(Instruction, o)<<POS_OP) \ 117 | (cast(Instruction, a)<<POS_A) \ 118 | (cast(Instruction, b)<<POS_B) \ 119 | (cast(Instruction, c)<<POS_C)) 121 #define CREATE_ABx(o,a,bc) ((cast(Instruction, o)<<POS_OP) \ 122 | (cast(Instruction, a)<<POS_A) [all...] |
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/ |
InstructionMethodItemFactory.java | 33 import org.jf.dexlib2.iface.instruction.Instruction; 34 import org.jf.dexlib2.iface.instruction.OffsetInstruction; 35 import org.jf.dexlib2.iface.instruction.formats.ArrayPayload; 36 import org.jf.dexlib2.iface.instruction.formats.PackedSwitchPayload; 37 import org.jf.dexlib2.iface.instruction.formats.SparseSwitchPayload; 44 MethodDefinition methodDef, int codeAddress, Instruction instruction) { 46 if (instruction instanceof OffsetInstruction) { 48 (OffsetInstruction)instruction); [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
ConstantProp.cpp | 25 #include "llvm/Instruction.h" 60 std::set<Instruction*> WorkList; 67 Instruction *I = *WorkList.begin(); 72 // Add all of the users of this instruction to the worklist, they might 76 WorkList.insert(cast<Instruction>(*UI)); 81 // Remove the dead instruction.
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
SimplifyInstructions.cpp | 11 // The analysis is applied to every instruction, and if it simplifies then the 12 // instruction is replaced by the simplification. If you are looking for a pass 13 // that performs serious instruction folding, use the instcombine pass instead. 48 SmallPtrSet<const Instruction*, 8> S1, S2, *ToSimplify = &S1, *Next = &S2; 55 Instruction *I = BI++; 67 Next->insert(cast<Instruction>(*UI));
|
DemoteRegToStack.cpp | 11 // virtual register computed by an Instruction and replaces it with a slot in 13 // AllocaInst inserted. After this function is called on an instruction, we are 14 // guaranteed that the only user of the instruction is a store that is 27 /// Instruction and replaces it with a slot in the stack frame, allocated via 32 AllocaInst* llvm::DemoteRegToStack(Instruction &I, bool VolatileLoads, 33 Instruction *AllocaPoint) { 50 // Change all of the users of the instruction to read from the stack slot 53 Instruction *U = cast<Instruction>(I.use_back()); 77 // If this is a normal instruction, just insert a load [all...] |
/external/syslinux/com32/lua/src/ |
lopcodes.h | 32 enum OpMode {iABC, iABx, iAsBx, iAx}; /* basic instruction format */ 80 #define MASK1(n,p) ((~((~(Instruction)0)<<(n)))<<(p)) 91 ((cast(Instruction, o)<<POS_OP)&MASK1(SIZE_OP,POS_OP)))) 95 ((cast(Instruction, v)<<pos)&MASK1(size,pos)))) 116 #define CREATE_ABC(o,a,b,c) ((cast(Instruction, o)<<POS_OP) \ 117 | (cast(Instruction, a)<<POS_A) \ 118 | (cast(Instruction, b)<<POS_B) \ 119 | (cast(Instruction, c)<<POS_C)) 121 #define CREATE_ABx(o,a,bc) ((cast(Instruction, o)<<POS_OP) \ 122 | (cast(Instruction, a)<<POS_A) [all...] |
/external/v8/src/arm64/ |
instrument-arm64.h | 60 #define DECLARE(A) void Visit##A(Instruction* instr); 74 void InstrumentLoadStore(Instruction* instr); 75 void InstrumentLoadStorePair(Instruction* instr);
|
disasm-arm64.cc | 48 void DisassemblingDecoder::VisitAddSubImmediate(Instruction* instr) { 93 void DisassemblingDecoder::VisitAddSubShifted(Instruction* instr) { 140 void DisassemblingDecoder::VisitAddSubExtended(Instruction* instr) { 178 void DisassemblingDecoder::VisitAddSubWithCarry(Instruction* instr) { 213 void DisassemblingDecoder::VisitLogicalImmediate(Instruction* instr) { 220 // The immediate encoded in the instruction is not in the expected format. 285 void DisassemblingDecoder::VisitLogicalShifted(Instruction* instr) { 336 void DisassemblingDecoder::VisitConditionalCompareRegister(Instruction* instr) { 352 Instruction* instr) { 367 void DisassemblingDecoder::VisitConditionalSelect(Instruction* instr) [all...] |
/external/vixl/examples/aarch64/ |
check-bounds.cc | 62 Instruction* function, 92 Instruction* function = masm.GetLabelAddress<Instruction*>(&check_bounds);
|
/external/vixl/src/aarch64/ |
instrument-aarch64.h | 89 #define DECLARE(A) void Visit##A(const Instruction* instr) VIXL_OVERRIDE; 101 void InstrumentLoadStore(const Instruction* instr); 102 void InstrumentLoadStorePair(const Instruction* instr);
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_emit_nv50.cpp | 38 virtual bool emitInstruction(Instruction *); 40 virtual uint32_t getMinEncodingSize(const Instruction *) const; 59 void emitFlagsRd(const Instruction *); 60 void emitFlagsWr(const Instruction *); 66 void setAReg16(const Instruction *, int s); 67 void setImmediate(const Instruction *, int s); 70 void setDst(const Instruction *, int d); 71 void setSrcFileBits(const Instruction *, int enc); 72 void setSrc(const Instruction *, unsigned int s, int slot); 74 void emitForm_MAD(const Instruction *); [all...] |
nv50_ir_peephole.cpp | 34 Instruction::isNop() const 62 bool Instruction::isDead() const 95 Instruction *mov, *si, *next; 122 void checkSwapSrc01(Instruction *); 124 bool isCSpaceLoad(Instruction *); 125 bool isImmd32Load(Instruction *); 126 bool isAttribOrSharedLoad(Instruction *); 130 LoadPropagation::isCSpaceLoad(Instruction *ld) 136 LoadPropagation::isImmd32Load(Instruction *ld) 144 LoadPropagation::isAttribOrSharedLoad(Instruction *ld [all...] |
nv50_ir_inlines.h | 176 Instruction *Value::getInsn() const 181 Instruction *Value::getUniqueInsn() const 207 inline bool Instruction::constrainedDefs() const 212 Value *Instruction::getIndirect(int s, int dim) const 217 Value *Instruction::getPredicate() const 222 void Instruction::setFlagsDef(int d, Value *val) 236 void Instruction::setFlagsSrc(int s, Value *val) 252 CmpInstruction *Instruction::asCmp() 259 const CmpInstruction *Instruction::asCmp() const 266 FlowInstruction *Instruction::asFlow( [all...] |
/external/llvm/include/llvm/Analysis/ |
LoopAccessAnalysis.h | 42 const Instruction *Instr; 45 LoopAccessReport(const Twine &Message, const Instruction *I) 49 LoopAccessReport(const Instruction *I = nullptr) : Instr(I) {} 57 const Instruction *getInstr() const { return Instr; } 64 /// the instruction in \p Message if available. Otherwise use the location of 174 /// \brief Return the source instruction of the dependence. 175 Instruction *getSource(const LoopAccessInfo &LAI) const; 176 /// \brief Return the destination instruction of the dependence. 177 Instruction *getDestination(const LoopAccessInfo &LAI) const; 190 /// \brief Print the dependence. \p Instr is used to map the instruction [all...] |
SparsePropagation.h | 28 class Instruction; 100 /// ComputeInstructionState - Given an instruction and a vector of its operand 101 /// values, compute the result value of the instruction. 102 virtual LatticeVal ComputeInstructionState(Instruction &I, SparseSolver &SS) { 123 std::vector<Instruction *> InstWorkList; // Worklist of insts to process. 178 /// UpdateState - When the state for some instruction is potentially updated, 180 void UpdateState(Instruction &Inst, LatticeVal V); 191 /// successors are reachable from a given terminator instruction. 195 void visitInst(Instruction &I);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 24 /// specified instruction is a constant integer. If so, check to see if there 27 static bool ShrinkDemandedConstant(Instruction *I, unsigned OpNo, 29 assert(I && "No instruction?"); 41 // This instruction is producing bits that are not demanded. Shrink the RHS. 49 /// SimplifyDemandedInstructionBits - Inst is an integer instruction that 50 /// SimplifyDemandedBits knows about. See if the instruction has any 52 bool InstCombiner::SimplifyDemandedInstructionBits(Instruction &Inst) { 66 /// specified instruction operand if possible, updating it in place. It returns 143 Instruction *I = dyn_cast<Instruction>(V) [all...] |
/external/proguard/src/proguard/classfile/util/ |
DynamicClassReferenceInitializer.java | 28 import proguard.classfile.instruction.*; 29 import proguard.classfile.instruction.visitor.InstructionVisitor; 87 private final Instruction[] CONSTANT_CLASS_FOR_NAME_INSTRUCTIONS = new Instruction[] 94 private final Instruction[] CLASS_FOR_NAME_CAST_INSTRUCTIONS = new Instruction[] 118 private final Instruction[] DOT_CLASS_JAVAC_INSTRUCTIONS = new Instruction[] 141 private final Instruction[] DOT_CLASS_JIKES_INSTRUCTIONS = new Instruction[] [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
SparsePropagation.h | 27 class Instruction; 101 /// ComputeInstructionState - Given an instruction and a vector of its operand 102 /// values, compute the result value of the instruction. 103 virtual LatticeVal ComputeInstructionState(Instruction &I, SparseSolver &SS) { 125 std::vector<Instruction*> InstWorkList; // Worklist of insts to process. 181 /// UpdateState - When the state for some instruction is potentially updated, 183 void UpdateState(Instruction &Inst, LatticeVal V); 194 /// successors are reachable from a given terminator instruction. 198 void visitInst(Instruction &I);
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
BasicBlockUtils.h | 27 class Instruction; 53 // ReplaceInstWithValue - Replace all uses of an instruction (specified by BI) 54 // with a value, then remove and delete the original instruction. 59 // ReplaceInstWithInst - Replace the instruction specified by BI with the 60 // instruction specified by I. The original instruction is deleted and BI is 61 // updated to point to the new instruction. 64 BasicBlock::iterator &BI, Instruction *I); 66 // ReplaceInstWithInst - Replace the instruction specified by From with the 67 // instruction specified by To [all...] |