/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | 41 Instruction *I = dyn_cast<Instruction>(V); 44 if (I->getOpcode() == Instruction::Mul) 47 if (I->getOpcode() == Instruction::Shl) 86 Instruction *InstCombiner::visitAdd(BinaryOperator &I) { 143 if (Instruction *NV = FoldOpIntoPhi(I)) 258 if (Instruction *R = FoldOpIntoSelect(I, SI)) 324 Instruction *InstCombiner::visitFAdd(BinaryOperator &I) { 337 if (Instruction *NV = FoldOpIntoPhi(I)) 398 /// EmitGEPOffset - Given a getelementptr instruction/constantexpr, emit th [all...] |
/external/llvm/lib/Transforms/Utils/ |
Local.cpp | 47 /// ConstantFoldTerminator - If a terminator instruction is predicated on a 106 // single branch instruction! 170 // instruction if it has only one non-default destination. 205 // 'unreachable' instruction. 224 /// instruction is not used, and the instruction has no side effects. 226 bool llvm::isInstructionTriviallyDead(Instruction *I) { 229 // We don't want the landingpad instruction removed by anything this general. 264 /// trivially dead instruction, delete it. If that makes any of its operands 268 Instruction *I = dyn_cast<Instruction>(V) [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | 96 case bitc::CAST_TRUNC : return Instruction::Trunc; 97 case bitc::CAST_ZEXT : return Instruction::ZExt; 98 case bitc::CAST_SEXT : return Instruction::SExt; 99 case bitc::CAST_FPTOUI : return Instruction::FPToUI; 100 case bitc::CAST_FPTOSI : return Instruction::FPToSI; 101 case bitc::CAST_UITOFP : return Instruction::UIToFP; 102 case bitc::CAST_SITOFP : return Instruction::SIToFP; 103 case bitc::CAST_FPTRUNC : return Instruction::FPTrunc; 104 case bitc::CAST_FPEXT : return Instruction::FPExt; 105 case bitc::CAST_PTRTOINT: return Instruction::PtrToInt [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | 109 case bitc::CAST_TRUNC : return Instruction::Trunc; 110 case bitc::CAST_ZEXT : return Instruction::ZExt; 111 case bitc::CAST_SEXT : return Instruction::SExt; 112 case bitc::CAST_FPTOUI : return Instruction::FPToUI; 113 case bitc::CAST_FPTOSI : return Instruction::FPToSI; 114 case bitc::CAST_UITOFP : return Instruction::UIToFP; 115 case bitc::CAST_SITOFP : return Instruction::SIToFP; 116 case bitc::CAST_FPTRUNC : return Instruction::FPTrunc; 117 case bitc::CAST_FPEXT : return Instruction::FPExt; 118 case bitc::CAST_PTRTOINT: return Instruction::PtrToInt [all...] |
/external/llvm/include/llvm/Support/ |
InstIterator.h | 122 Instruction> inst_iterator; 126 const Instruction> const_inst_iterator;
|
/external/llvm/lib/Transforms/IPO/ |
PartialInlining.cpp | 166 if (Instruction* I = dyn_cast<Instruction>(*UI))
|
InlineSimple.cpp | 110 if (CE->getOpcode() == Instruction::BitCast)
|
/external/llvm/tools/llvm-dis/ |
llvm-dis.cpp | 79 if (const Instruction *I = dyn_cast<Instruction>(&V)) {
|
/external/oprofile/events/mips/vr5432/ |
events | 9 event:0x5 counters:0,1 um:zero minimum:500 name:FP_INSTRUCTIONS : (FP instruction execution) / 2 and truncated excluding cp1 loads and stores 13 event:0x9 counters:0,1 um:zero minimum:500 name:ICACHE_MISSES : Instruction cache misses (no D-cache misses)
|
/external/oprofile/events/mips/vr5500/ |
events | 8 event:0x2 counters:0,1 um:zero minimum:500 name:LOAD_PREF_CACHE_INSTRUCTIONS : Execution of load/prefetch/cache instruction 9 event:0x3 counters:0,1 um:zero minimum:500 name:STORES : Execution of store instruction 10 event:0x4 counters:0,1 um:zero minimum:500 name:BRANCHES : Execution of branch instruction 11 event:0x5 counters:0,1 um:zero minimum:500 name:FP_INSTRUCTIONS : Execution of floating-point instruction 15 event:0x9 counters:0,1 um:zero minimum:500 name:ICACHE_MISSES : Instruction cache miss
|
/external/proguard/src/proguard/classfile/attribute/ |
CodeAttribute.java | 25 import proguard.classfile.instruction.*; 26 import proguard.classfile.instruction.visitor.InstructionVisitor; 106 * Applies the given instruction visitor to all instructions. 115 * Applies the given instruction visitor to the instruction at the specified 120 Instruction instruction = InstructionFactory.create(code, offset); local 121 instruction.accept(clazz, method, this, offset, instructionVisitor); 126 * Applies the given instruction visitor to all instructions in the 135 // Note that the instruction is only volatile 136 Instruction instruction = InstructionFactory.create(code, offset); local [all...] |
/external/proguard/src/proguard/classfile/instruction/ |
ConstantInstruction.java | 21 package proguard.classfile.instruction; 27 import proguard.classfile.instruction.visitor.InstructionVisitor; 31 * This Instruction represents an instruction that refers to an entry in the 36 public class ConstantInstruction extends Instruction 77 * Copies the given instruction into this instruction. 78 * @param constantInstruction the instruction to be copied. 79 * @return this instruction. 91 // Implementations for Instruction [all...] |
Instruction.java | 21 package proguard.classfile.instruction; 25 import proguard.classfile.instruction.visitor.InstructionVisitor; 32 public abstract class Instruction 664 * Returns the canonical opcode of this instruction, i.e. typically the 674 * Shrinks this instruction to its shortest possible form. 675 * @return this instruction. 677 public abstract Instruction shrink(); 682 * Writes the Instruction at the given offset in the given code attribute. 691 * Writes the Instruction at the given offset in the given code array. 710 * Returns whether the instruction is wide, i.e. preceded by a wide opcode [all...] |
SimpleInstruction.java | 21 package proguard.classfile.instruction; 25 import proguard.classfile.instruction.visitor.InstructionVisitor; 28 * This Instruction represents a simple instruction without variable arguments 33 public class SimpleInstruction extends Instruction 64 * Copies the given instruction into this instruction. 65 * @param simpleInstruction the instruction to be copied. 66 * @return this instruction. 106 // Implementations for Instruction [all...] |
LookUpSwitchInstruction.java | 21 package proguard.classfile.instruction; 25 import proguard.classfile.instruction.visitor.InstructionVisitor; 28 * This Instruction represents a simple instruction without variable arguments 60 * Copies the given instruction into this instruction. 61 * @param lookUpSwitchInstruction the instruction to be copied. 62 * @return this instruction. 75 // Implementations for Instruction. 77 public Instruction shrink( [all...] |
TableSwitchInstruction.java | 21 package proguard.classfile.instruction; 25 import proguard.classfile.instruction.visitor.InstructionVisitor; 28 * This Instruction represents a simple instruction without variable arguments 63 * Copies the given instruction into this instruction. 64 * @param tableSwitchInstruction the instruction to be copied. 65 * @return this instruction. 79 // Implementations for Instruction. 81 public Instruction shrink( [all...] |
/external/proguard/src/proguard/optimize/info/ |
SideEffectInstructionChecker.java | 27 import proguard.classfile.instruction.*; 28 import proguard.classfile.instruction.visitor.InstructionVisitor; 33 * This class can tell whether an instruction has any side effects. Return 59 public boolean hasSideEffects(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) 63 instruction.accept(clazz, method, codeAttribute, offset, this); 71 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
|
SideEffectMethodMarker.java | 26 import proguard.classfile.instruction.*; 137 // Get the current instruction. 138 Instruction instruction = InstructionFactory.create(code, offset); local 145 instruction)) 150 // Go to the next instruction. 151 offset += instruction.length(offset);
|
/external/llvm/lib/Analysis/ |
ScalarEvolution.cpp | 359 if (VCE->getOpcode() == Instruction::PtrToInt) 361 if (CE->getOpcode() == Instruction::GetElementPtr && 376 if (VCE->getOpcode() == Instruction::PtrToInt) 378 if (CE->getOpcode() == Instruction::GetElementPtr && 401 if (VCE->getOpcode() == Instruction::PtrToInt) 403 if (CE->getOpcode() == Instruction::GetElementPtr && 486 if (const Instruction *LInst = dyn_cast<Instruction>(LV)) { 487 const Instruction *RInst = cast<Instruction>(RV) [all...] |
AliasAnalysisEvaluator.cpp | 108 PrintModRefResults(const char *Msg, bool P, Instruction *I, Value *Ptr, 144 Instruction &Inst = *I; 158 for (Instruction::op_iterator OI = Inst.op_begin(), OE = Inst.op_end(); 205 Instruction *I = C->getInstruction();
|
DbgInfoPrinter.cpp | 100 if (!isa<Instruction>(V) && !isa<Argument>(V)) 104 if (const Instruction *I = dyn_cast<Instruction>(V))
|
/external/llvm/lib/Analysis/IPA/ |
FindUsedTypes.cpp | 79 const Instruction &I = *II; 81 IncorporateType(I.getType()); // Incorporate the type of the instruction
|
/external/llvm/lib/CodeGen/ |
Analysis.cpp | 126 /// hasInlineAsmMemConstraint - Return true if the inline asm instruction being 202 /// Test if the given instruction is in a position to be optimized 210 const Instruction *I = CS.getInstruction(); 226 // If I will have a chain, make sure no other instruction that will have a 262 for (const Instruction *U = dyn_cast<Instruction>(Ret->getOperand(0)); ; 263 U = dyn_cast<Instruction>(U->getOperand(0))) {
|
/external/proguard/src/proguard/optimize/peephole/ |
UnreachableExceptionRemover.java | 26 import proguard.classfile.instruction.*; 122 // Get the current instruction. 123 Instruction instruction = InstructionFactory.create(code, offset); local 130 instruction)) 135 // Go to the next instruction. 136 offset += instruction.length(offset);
|
/external/llvm/include/llvm/CodeGen/ |
FastISel.h | 26 class Instruction; 41 /// FastISel - This is a fast-path instruction selection class that 58 /// The position of the last instruction for materializing constants 64 /// The top most instruction in the current block that is allowed for 70 /// getLastLocalValue - Return the position of the last instruction 74 /// setLastLocalValue - Update the position of the last instruction 89 /// SelectInstruction - Do "fast" instruction selection for the given 90 /// LLVM IR instruction, and append generated machine instructions to 93 bool SelectInstruction(const Instruction *I); 95 /// SelectOperator - Do "fast" instruction selection for the give [all...] |