Searched refs:Instruction (Results 201 - 225 of 705) sorted by relevance

1234567891011>>

/external/chromium_org/v8/src/mips64/
H A Dconstants-mips64.cc131 bool Instruction::IsForbiddenInBranchDelay() const {
171 bool Instruction::IsLinkingInstruction() const {
197 bool Instruction::IsTrap() const {
217 Instruction::Type Instruction::InstructionType() const {
/external/llvm/include/llvm/Analysis/
H A DSparsePropagation.h27 class Instruction;
103 virtual LatticeVal ComputeInstructionState(Instruction &I, SparseSolver &SS) {
125 std::vector<Instruction*> InstWorkList; // Worklist of insts to process.
183 void UpdateState(Instruction &Inst, LatticeVal V);
198 void visitInst(Instruction &I);
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp94 Instruction *I = dyn_cast<Instruction>(V);
131 Instruction::BinaryOps OpcodeToExpand = (Instruction::BinaryOps)OpcToExpand;
146 if ((L == A && R == B) || (Instruction::isCommutative(OpcodeToExpand)
169 if ((L == B && R == C) || (Instruction::isCommutative(OpcodeToExpand)
189 Instruction::BinaryOps Opcode = (Instruction::BinaryOps)Opc;
190 assert(Instruction::isAssociative(Opcode) && "Not an associative operation!");
238 if (!Instruction
[all...]
H A DLoads.cpp44 if (const Instruction *BI = dyn_cast<Instruction>(B))
45 if (cast<Instruction>(A)->isIdenticalToWhenDefined(BI))
56 bool llvm::isSafeToLoadUnconditionally(Value *V, Instruction *ScanFrom,
156 Instruction *Inst = --ScanFrom;
H A DScalarEvolutionExpander.cpp35 Instruction::CastOps Op,
48 Instruction *Ret = nullptr;
89 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false);
90 assert((Op == Instruction::BitCast ||
91 Op == Instruction::PtrToInt ||
92 Op == Instruction::IntToPtr) &&
98 if (Op == Instruction::BitCast) {
107 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) &&
110 if ((CI->getOpcode() == Instruction
[all...]
H A DScalarEvolutionNormalization.cpp29 static bool IVUseShouldUsePostIncValue(Instruction *User, Value *Operand,
80 const SCEV *TransformSubExpr(const SCEV *S, Instruction *User,
84 const SCEV *TransformImpl(const SCEV *S, Instruction *User,
92 TransformImpl(const SCEV *S, Instruction *User, Value *OperandValToReplace) {
112 Instruction *LUser = L->getHeader()->begin();
229 TransformSubExpr(const SCEV *S, Instruction *User, Value *OperandValToReplace) {
247 Instruction *User,
/external/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp114 static void DeleteDeadInstruction(Instruction *I,
118 SmallVector<Instruction*, 32> NowDeadInsts;
125 Instruction *DeadInst = NowDeadInsts.pop_back_val();
140 if (Instruction *OpI = dyn_cast<Instruction>(Op))
154 static bool hasMemoryWrite(Instruction *I, const TargetLibraryInfo *TLI) {
196 getLocForWrite(Instruction *Inst, AliasAnalysis &AA) {
236 getLocForRead(Instruction *Inst, AliasAnalysis &AA) {
250 static bool isRemovable(Instruction *I) {
283 static bool isShortenable(Instruction *
[all...]
H A DEarlyCSE.cpp51 Instruction *Inst;
53 SimpleValue(Instruction *I) : Inst(I) {
58 return Inst == DenseMapInfo<Instruction*>::getEmptyKey() ||
59 Inst == DenseMapInfo<Instruction*>::getTombstoneKey();
62 static bool canHandle(Instruction *Inst) {
78 return DenseMapInfo<Instruction*>::getEmptyKey();
81 return DenseMapInfo<Instruction*>::getTombstoneKey();
89 Instruction *Inst = Val.Inst;
143 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst;
194 Instruction *Ins
[all...]
/external/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp20 /// Instruction and replaces it with a slot in the stack frame, allocated via
24 AllocaInst *llvm::DemoteRegToStack(Instruction &I, bool VolatileLoads,
25 Instruction *AllocaPoint) {
44 Instruction *U = cast<Instruction>(I.user_back());
110 AllocaInst *llvm::DemotePHIToStack(PHINode *P, Instruction *AllocaPoint) {
H A DFlattenCFG.cpp181 Instruction *CI = BI++;
317 Instruction *PBI2 = Head2->begin();
346 Instruction *CurI = &*iter1;
392 Instruction *CInst2 = dyn_cast_or_null<Instruction>(IfCond2);
402 Instruction *CInst1 = dyn_cast_or_null<Instruction>(IfCond1);
415 Instruction *PBI2 = SecondEntryBlock->begin();
428 Instruction *CI = BI;
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
H A DFixGotoTest.java10 import org.jf.dexlib2.iface.instruction.Instruction;
33 List<? extends Instruction> instructions = Lists.newArrayList(impl.getInstructions());
56 List<? extends Instruction> instructions = Lists.newArrayList(impl.getInstructions());
79 List<? extends Instruction> instructions = Lists.newArrayList(impl.getInstructions());
115 List<? extends Instruction> instructions = Lists.newArrayList(impl.getInstructions());
H A DPayloadAlignmentTest.java37 import org.jf.dexlib2.iface.instruction.Instruction;
56 List<? extends Instruction> instructions =
61 Instruction instruction = instructions.get(0);
73 List<? extends Instruction> instructions =
78 Instruction instruction = instructions.get(0);
101 List<Instruction> instructions = Lists.newArrayList(implBuilder.getMethodImplementation().getInstructions());
127 List<Instruction> instructions = Lists.newArrayList(implBuilder.getMethodImplementation().getInstructions());
142 private static void checkInstructions(List<Instruction> instructions, Opcode[] expectedOpcodes) {
176 List<Instruction> instructions = Lists.newArrayList(implBuilder.getMethodImplementation().getInstructions());
227 List<Instruction> instruction
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp26 Instruction *InstCombiner::FoldPHIArgBinOpIntoPHI(PHINode &PN) {
27 Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0));
47 Instruction *I = dyn_cast<Instruction>(PN.getIncomingValue(i));
103 Instruction *InInst = cast<Instruction>(PN.getIncomingValue(i));
132 Instruction *InstCombiner::FoldPHIArgGEPIntoPHI(PHINode &PN) {
287 Instruction *InstCombiner::FoldPHIArgLoadIntoPHI(PHINode &PN) {
391 Instruction *InstCombine
[all...]
H A DInstCombineAddSub.cpp160 Value *simplify(Instruction *FAdd);
167 Value *performFactorization(Instruction *I);
180 void createInstPostProc(Instruction *NewInst, bool NoNumber = false);
183 Instruction *Instr;
353 Instruction *I = nullptr;
354 if (!Val || !(I = dyn_cast<Instruction>(Val)))
359 if (Opcode == Instruction::FAdd || Opcode == Instruction::FSub) {
382 if (Opcode == Instruction::FSub)
394 if (I->getOpcode() == Instruction
[all...]
H A DInstCombineLoadStoreAlloca.cpp36 if (CE->getOpcode() == Instruction::BitCast ||
37 CE->getOpcode() == Instruction::AddrSpaceCast ||
38 CE->getOpcode() == Instruction::GetElementPtr)
53 SmallVectorImpl<Instruction *> &ToDelete) {
64 Instruction *I = cast<Instruction>(U.getUser());
158 SmallVectorImpl<Instruction *> &ToDelete) {
165 Instruction *InstCombiner::visitAllocaInst(AllocaInst &AI) {
200 Instruction *GEP =
231 Instruction *FirstIns
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp119 const Instruction *I = dyn_cast<Instruction>(V);
137 !(I->getOpcode() == Instruction::BitCast ||
138 I->getOpcode() == Instruction::PtrToInt ||
139 I->getOpcode() == Instruction::IntToPtr) &&
140 cast<Instruction>(*I->user_begin())->getParent() == I->getParent();
168 if (isa<Instruction>(V) &&
230 if (!isa<Instruction>(Op) ||
231 !TargetSelectInstruction(cast<Instruction>(Op)))
272 if (!isa<Instruction>(
[all...]
/external/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp84 bool instrumentLoadOrStore(Instruction *I);
85 bool instrumentAtomic(Instruction *I);
86 bool instrumentMemIntrinsic(Instruction *I);
87 void chooseInstructionsToInstrument(SmallVectorImpl<Instruction*> &Local,
88 SmallVectorImpl<Instruction*> &All);
233 static bool isVtableAccess(Instruction *I) {
272 SmallVectorImpl<Instruction*> &Local,
273 SmallVectorImpl<Instruction*> &All) {
276 for (SmallVectorImpl<Instruction*>::reverse_iterator It = Local.rbegin(),
278 Instruction *
[all...]
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp627 case Instruction::GetElementPtr: {
637 case Instruction::Trunc: {
643 case Instruction::ZExt: {
649 case Instruction::SExt: {
655 case Instruction::FPTrunc: {
661 case Instruction::FPExt:{
667 case Instruction::UIToFP: {
682 case Instruction::SIToFP: {
697 case Instruction::FPToUI: // double->APInt conversion handles sign
698 case Instruction
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp307 case Instruction::ICmp:
311 case Instruction::FCmp:
316 case Instruction::ExtractElement:
319 case Instruction::InsertElement:
323 case Instruction::ShuffleVector:
327 case Instruction::ExtractValue:
330 case Instruction::InsertValue:
334 case Instruction::GetElementPtr:
343 case Instruction::Select:
348 if (Instruction
[all...]
/external/llvm/lib/MC/
H A DMCStreamer.cpp288 MCCFIInstruction Instruction = local
291 CurFrame->Instructions.push_back(Instruction);
296 MCCFIInstruction Instruction = local
299 CurFrame->Instructions.push_back(Instruction);
304 MCCFIInstruction Instruction = local
307 CurFrame->Instructions.push_back(Instruction);
312 MCCFIInstruction Instruction = local
315 CurFrame->Instructions.push_back(Instruction);
320 MCCFIInstruction Instruction = local
323 CurFrame->Instructions.push_back(Instruction);
328 MCCFIInstruction Instruction = local
351 MCCFIInstruction Instruction = MCCFIInstruction::createRememberState(Label); local
359 MCCFIInstruction Instruction = MCCFIInstruction::createRestoreState(Label); local
366 MCCFIInstruction Instruction = local
374 MCCFIInstruction Instruction = local
382 MCCFIInstruction Instruction = MCCFIInstruction::createEscape(Label, Values); local
395 MCCFIInstruction Instruction = local
403 MCCFIInstruction Instruction = local
411 MCCFIInstruction Instruction = local
[all...]
/external/llvm/lib/Transforms/ObjCARC/
H A DDependencyAnalysis.cpp36 llvm::objcarc::CanAlterRefCount(const Instruction *Inst, const Value *Ptr,
73 llvm::objcarc::CanUse(const Instruction *Inst, const Value *Ptr,
118 llvm::objcarc::Depends(DependenceKind Flavor, Instruction *Inst,
208 BasicBlock *StartBB, Instruction *StartInst,
209 SmallPtrSet<Instruction *, 4> &DependingInsts,
238 Instruction *Inst = --LocalStartPos;
258 DependingInsts.insert(reinterpret_cast<Instruction *>(-1));
H A DObjCARCOpts.cpp366 SmallPtrSet<Instruction *, 2> Calls;
370 SmallPtrSet<Instruction *, 2> ReverseInsertPts;
414 for (SmallPtrSet<Instruction *, 2>::const_iterator
515 void InsertCall(Instruction *I) {
519 void InsertReverseInsertPt(Instruction *I) {
828 if (Instruction *Inst = dyn_cast<Instruction>(Ptr)) {
877 /// for Value *Ptr caused by Instruction *Inst.
879 Instruction *Inst,
985 Instruction *Ins
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi_info.c189 for (i = 0; i < inst->Instruction.NumDstRegs; ++i) {
215 switch (inst->Instruction.Opcode) {
260 if (!inst->Instruction.Predicate &&
261 !inst->Instruction.Saturate) {
264 if (inst->Instruction.Opcode == TGSI_OPCODE_MOV) {
267 } else if (inst->Instruction.Opcode == TGSI_OPCODE_MUL) {
304 switch (inst->Instruction.Opcode) {
428 if (inst->Instruction.Opcode == TGSI_OPCODE_END ||
429 inst->Instruction.Opcode == TGSI_OPCODE_BGNSUB) {
/external/llvm/unittests/IR/
H A DDominatorTreeTest.cpp36 Instruction *Y1 = BBI++;
37 Instruction *Y2 = BBI++;
38 Instruction *Y3 = BBI++;
42 Instruction *Y4 = BBI++;
46 Instruction *Y5 = BBI++;
50 Instruction *Y6 = BBI++;
51 Instruction *Y7 = BBI++;
55 Instruction *Y8 = BBI++;
56 Instruction *Y9 = BBI++;
111 // Instruction dominanc
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi_info.c189 for (i = 0; i < inst->Instruction.NumDstRegs; ++i) {
215 switch (inst->Instruction.Opcode) {
260 if (!inst->Instruction.Predicate &&
261 !inst->Instruction.Saturate) {
264 if (inst->Instruction.Opcode == TGSI_OPCODE_MOV) {
267 } else if (inst->Instruction.Opcode == TGSI_OPCODE_MUL) {
304 switch (inst->Instruction.Opcode) {
428 if (inst->Instruction.Opcode == TGSI_OPCODE_END ||
429 inst->Instruction.Opcode == TGSI_OPCODE_BGNSUB) {

Completed in 659 milliseconds

1234567891011>>