/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_aapoint.c | 164 * TGSI instruction transform callback. 166 * Upon END instruction, insert texture sampling code for antialiasing. 176 /* emit our new declarations before the first instruction */ 241 newInst.Instruction.Opcode = TGSI_OPCODE_MUL; 242 newInst.Instruction.NumDstRegs = 1; 246 newInst.Instruction.NumSrcRegs = 2; 255 newInst.Instruction.Opcode = TGSI_OPCODE_ADD; 256 newInst.Instruction.NumDstRegs = 1; 260 newInst.Instruction.NumSrcRegs = 2; 272 newInst.Instruction.Opcode = TGSI_OPCODE_RSQ [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir.cpp | 101 Instruction *insn = src->value->getUniqueInsn(); 173 if (!insn || !insn->bb) // Unbound instruction ? 180 Instruction *insn = (*it)->getInsn(); 276 Instruction *insn = getInsn(); 552 void Instruction::init() 582 Instruction::Instruction() 593 Instruction::Instruction(Function *fn, operation opr, DataType ty) 603 Instruction::~Instruction( [all...] |
nv50_ir_build_util.cpp | 65 Instruction * 68 Instruction *insn = new_Instruction(func, op, ty); 77 Instruction * 81 Instruction *insn = new_Instruction(func, op, ty); 91 Instruction * 95 Instruction *insn = new_Instruction(func, op, ty); 109 Instruction *insn = new_Instruction(func, OP_LOAD, ty); 121 Instruction * 125 Instruction *insn = new_Instruction(func, op, ty); 136 Instruction * [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 38 bool processMemAccess(Instruction *I); 118 bool CorrelatedValuePropagation::processMemAccess(Instruction *I) { 142 if (isa<Instruction>(Op0) && 143 cast<Instruction>(Op0)->getParent() == C->getParent()) 184 Instruction *II = BI++; 186 case Instruction::Select: 189 case Instruction::PHI: 192 case Instruction::ICmp: 193 case Instruction::FCmp: 196 case Instruction::Load [all...] |
EarlyCSE.cpp | 47 Instruction *Inst; 49 SimpleValue(Instruction *I) : Inst(I) { 54 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() || 55 Inst == DenseMapInfo<Instruction*>::getTombstoneKey(); 58 static bool canHandle(Instruction *Inst) { 79 return DenseMapInfo<Instruction*>::getEmptyKey(); 82 return DenseMapInfo<Instruction*>::getTombstoneKey(); 90 Instruction *Inst = Val.Inst; 115 "Invalid/unknown instruction"); 123 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst [all...] |
/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
NonsenseStringPrinter.java | 24 import dexfuzz.rawdex.Instruction; 122 constStringInsn.insn = new Instruction(); 123 constStringInsn.insn.info = Instruction.getOpcodeInfo(Opcode.CONST_STRING); 128 streamLoadInsn.insn = new Instruction(); 129 streamLoadInsn.insn.info = Instruction.getOpcodeInfo(Opcode.SGET_OBJECT); 134 invokeInsn.insn = new Instruction(); 135 invokeInsn.insn.info = Instruction.getOpcodeInfo(Opcode.INVOKE_VIRTUAL_RANGE);
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
CodeItem.java | 33 public List<Instruction> insns; 72 insns = new LinkedList<Instruction>(); 80 Instruction newInsn = new Instruction(); 101 for (Instruction insn : insns) { 134 // The only kind we can't encounter in an instruction. 138 List<Instruction> insnsToIncrement = insns; 148 for (Instruction insn : insnsToIncrement) { 201 + "in Instruction.incrementIndex()");
|
/external/llvm/include/llvm/Transforms/Utils/ |
BasicBlockUtils.h | 28 class Instruction; 56 /// Replace all uses of an instruction (specified by BI) with a value, then 57 /// remove and delete the original instruction. 61 /// Replace the instruction specified by BI with the instruction specified by I. 63 /// original instruction is deleted and BI is updated to point to the new 64 /// instruction. 66 BasicBlock::iterator &BI, Instruction *I); 68 /// Replace the instruction specified by From with the instruction specified b [all...] |
/external/proguard/src/proguard/classfile/util/ |
DynamicMemberReferenceInitializer.java | 27 import proguard.classfile.instruction.*; 28 import proguard.classfile.instruction.visitor.InstructionVisitor; 163 private final Instruction[] CONSTANT_GET_FIELD_INSTRUCTIONS = new Instruction[] 171 // private final Instruction[] CONSTANT_GET_CONSTRUCTOR_INSTRUCTIONS0 = new Instruction[] 180 // private final Instruction[] CONSTANT_GET_CONSTRUCTOR_INSTRUCTIONS1 = new Instruction[] 193 // private final Instruction[] CONSTANT_GET_CONSTRUCTOR_INSTRUCTIONS2 = new Instruction[] [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
DexBackedMethodImplementation.java | 35 import org.jf.dexlib2.dexbacked.instruction.DexBackedInstruction; 42 import org.jf.dexlib2.iface.instruction.Instruction; 66 @Nonnull @Override public Iterable<? extends Instruction> getInstructions() { 67 // instructionsSize is the number of 16-bit code units in the instruction list, not the number of instructions 72 return new Iterable<Instruction>() { 74 public Iterator<Instruction> iterator() { 75 return new VariableSizeLookaheadIterator<Instruction>(dexFile, instructionsStartOffset) { 77 protected Instruction readNextItem(@Nonnull DexReader reader) { 82 Instruction instruction = DexBackedInstruction.readFrom(reader) field in class:DexBackedMethodImplementation [all...] |
/external/v8/src/compiler/ |
move-optimizer.cc | 115 int FindFirstNonEmptySlot(const Instruction* instr) { 116 int i = Instruction::FIRST_GAP_POSITION; 117 for (; i <= Instruction::LAST_GAP_POSITION; i++) { 139 for (Instruction* instruction : code()->instructions()) { 140 CompressGaps(instruction); 163 for (Instruction* gap : code()->instructions()) { 168 void MoveOptimizer::RemoveClobberedDestinations(Instruction* instruction) { 169 if (instruction->IsCall()) return [all...] |
/external/llvm/lib/Analysis/ |
ValueTracking.cpp | 65 // context (the context instruction provides that context). If an assume and 66 // the context instruction are not in the same block then the DT helps in 71 const Instruction *CxtI; 86 Query(const DataLayout &DL, AssumptionCache *AC, const Instruction *CxtI, 106 // Given the provided Value and, potentially, a context instruction, return 107 // the preferred context instruction (if any). 108 static const Instruction *safeCxtI(const Value *V, const Instruction *CxtI) { 109 // If we've been provided with a context instruction, then use that (provided 114 // If the value is really an already-inserted instruction, then use that [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
AliasAnalysis.h | 135 /// the given instruction. 337 /// getModRefInfo - Return information about whether or not an instruction may 338 /// read or write the specified memory location. An instruction 340 ModRefResult getModRefInfo(const Instruction *I, 343 case Instruction::VAArg: return getModRefInfo((const VAArgInst*)I, Loc); 344 case Instruction::Load: return getModRefInfo((const LoadInst*)I, Loc); 345 case Instruction::Store: return getModRefInfo((const StoreInst*)I, Loc); 346 case Instruction::Fence: return getModRefInfo((const FenceInst*)I, Loc); 347 case Instruction::AtomicCmpXchg: 349 case Instruction::AtomicRMW [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCLoopPreIncPrep.cpp | 107 BucketElement(const SCEVConstant *O, Instruction *I) : Offset(O), Instr(I) {} 108 BucketElement(Instruction *I) : Offset(nullptr), Instr(I) {} 111 Instruction *Instr; 115 Bucket(const SCEV *B, Instruction *I) : BaseSCEV(B), 189 Instruction *MemI; 265 // We have a choice now of which instruction's memory operand we use as the 266 // base for the generated PHI. Always picking the first instruction in each 267 // bucket does not work well, specifically because that instruction might 272 // instruction in each bucket, and adjust the recurrence and other offsets 311 // The instruction corresponding to the Bucket's BaseSCEV must be the firs [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 25 /// Check to see if the specified operand of the specified instruction is a 28 static bool ShrinkDemandedConstant(Instruction *I, unsigned OpNo, 30 assert(I && "No instruction?"); 42 // This instruction is producing bits that are not demanded. Shrink the RHS. 51 /// Inst is an integer instruction that SimplifyDemandedBits knows about. See if 52 /// the instruction has any properties that allow us to simplify its operands. 53 bool InstCombiner::SimplifyDemandedInstructionBits(Instruction &Inst) { 66 /// This form of SimplifyDemandedBits simplifies the specified instruction 72 auto *UserI = dyn_cast<Instruction>(U.getUser()); 106 Instruction *CxtI) [all...] |
/external/llvm/lib/MC/ |
MCStreamer.cpp | 304 MCCFIInstruction Instruction = 307 CurFrame->Instructions.push_back(Instruction); 313 MCCFIInstruction Instruction = 316 CurFrame->Instructions.push_back(Instruction); 321 MCCFIInstruction Instruction = 324 CurFrame->Instructions.push_back(Instruction); 329 MCCFIInstruction Instruction = 332 CurFrame->Instructions.push_back(Instruction); 338 MCCFIInstruction Instruction = 341 CurFrame->Instructions.push_back(Instruction); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
LICM.cpp | 20 // we can hoist it or sink it like any other instruction. 21 // 2. Scalar Promotion of Memory - If there is a store instruction inside of 84 static bool isNotUsedInLoop(const Instruction &I, const Loop *CurLoop, 86 static bool hoist(Instruction &I, const DominatorTree *DT, const Loop *CurLoop, 88 static bool sink(Instruction &I, const LoopInfo *LI, const DominatorTree *DT, 91 static bool isSafeToExecuteUnconditionally(const Instruction &Inst, 95 const Instruction *CtxI = nullptr); 99 static Instruction * 100 CloneInstructionInExitBlock(Instruction &I, BasicBlock &ExitBlock, PHINode &PN, 103 static bool canSinkOrHoistInst(Instruction &I, AliasAnalysis *AA [all...] |
IndVarSimplify.cpp | 116 Instruction *InsertPt, Type *Ty); 184 static Instruction *getInsertPointForUses(Instruction *User, Value *Def, 190 Instruction *InsertPt = nullptr; 205 auto *DefI = dyn_cast<Instruction>(Def); 260 if (Incr == nullptr || Incr->getOpcode() != Instruction::FAdd) return; 273 Instruction *U1 = cast<Instruction>(*IncrUse++); 275 Instruction *U2 = cast<Instruction>(*IncrUse++) [all...] |
/external/llvm/lib/IR/ |
ConstantsContext.h | 80 : ConstantExpr(C2->getType(), Instruction::Select, &Op<0>(), 3) { 102 Instruction::ExtractElement, &Op<0>(), 2) { 122 : ConstantExpr(C1->getType(), Instruction::InsertElement, 147 Instruction::ShuffleVector, 170 : ConstantExpr(DestTy, Instruction::ExtractValue, &Op<0>(), 1), 182 return CE->getOpcode() == Instruction::ExtractValue; 202 : ConstantExpr(DestTy, Instruction::InsertValue, &Op<0>(), 2), 215 return CE->getOpcode() == Instruction::InsertValue; 246 return CE->getOpcode() == Instruction::GetElementPtr; 265 CompareConstantExpr(Type *ty, Instruction::OtherOps opc [all...] |
Constants.cpp | 348 case Instruction::UDiv: 349 case Instruction::SDiv: 350 case Instruction::FDiv: 351 case Instruction::URem: 352 case Instruction::SRem: 353 case Instruction::FRem: 429 if (CE->getOpcode() == Instruction::Sub) { 432 if (LHS && RHS && LHS->getOpcode() == Instruction::PtrToInt && 433 RHS->getOpcode() == Instruction::PtrToInt && [all...] |
Dominators.cpp | 75 bool DominatorTree::dominates(const Instruction *Def, 76 const Instruction *User) const { 88 // An instruction doesn't dominate a use in itself. 92 // The value defined by an invoke dominates an instruction only if it 93 // dominates every instruction in UseBB. 94 // A PHI is dominated only if the instruction dominates every possible use in 110 // true if Def would dominate a use in any instruction in UseBB. 112 bool DominatorTree::dominates(const Instruction *Def, 197 Instruction *UserInst = cast<Instruction>(U.getUser()) [all...] |
/external/llvm/lib/Transforms/Utils/ |
SSAUpdater.cpp | 167 if (const Instruction *I = BB->getFirstNonPHI()) 179 Instruction *User = cast<Instruction>(U.getUser()); 196 Instruction *User = cast<Instruction>(U.getUser()); 263 /// CreateEmptyPHI - Create a new PHI instruction in the specified block. 278 /// InstrIsPHI - Check if an instruction is a PHI. 280 static PHINode *InstrIsPHI(Instruction *I) { 299 /// GetPHIValue - For the specified PHI instruction, return the value 325 LoadAndStorePromoter(ArrayRef<const Instruction*> Insts [all...] |
/art/runtime/verifier/ |
register_line.h | 28 class Instruction; 57 // During verification, we associate one of these with every "interesting" instruction. We track 95 // register. An example is setting the register type because an instruction writes to the 219 const Instruction* inst, 224 * Verify types for a simple two-register instruction (e.g. "neg-int"). 228 const Instruction* inst, 234 const Instruction* inst, 242 const Instruction* inst, 249 const Instruction* inst, 256 * Verify types for a simple three-register instruction (e.g. "add-int") [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_vs_draw.c | 70 /* First instruction processed? */ 72 /* End instruction processed? */ 246 if (inst->Instruction.Opcode == TGSI_OPCODE_END) { 249 new_inst.Instruction.Opcode = TGSI_OPCODE_MOV; 250 new_inst.Instruction.NumDstRegs = 1; 254 new_inst.Instruction.NumSrcRegs = 1; 261 new_inst.Instruction.Opcode = TGSI_OPCODE_MOV; 262 new_inst.Instruction.NumDstRegs = 1; 266 new_inst.Instruction.NumSrcRegs = 1; 273 /* Not an END instruction. * [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 546 case Instruction::GetElementPtr: { 556 case Instruction::Trunc: { 562 case Instruction::ZExt: { 568 case Instruction::SExt: { 574 case Instruction::FPTrunc: { 580 case Instruction::FPExt:{ 586 case Instruction::UIToFP: { 601 case Instruction::SIToFP: { 616 case Instruction::FPToUI: // double->APInt conversion handles sign 617 case Instruction::FPToSI: [all...] |