/external/llvm/lib/Target/X86/ |
X86InstrInfo.cpp | [all...] |
/external/llvm/lib/Target/Sparc/ |
SparcISelLowering.cpp | [all...] |
DelaySlotFiller.cpp | 212 const MachineOperand &MO = candidate->getOperand(i); 243 const MachineOperand &Reg = MI->getOperand(0); 248 const MachineOperand &RegOrImm = MI->getOperand(1); 264 const MachineOperand &MO = MI->getOperand(i); 315 const MachineOperand &MO = I->getOperand(structSizeOpNum);
|
/external/llvm/lib/Target/ARM/ |
ARMLoadStoreOptimizer.cpp | 429 memOps[j].MBBI->getOperand(Idx).setIsKill(false); 457 const MachineOperand &PMO = Loc->getOperand(0); 483 const MachineOperand &MO = MemOps[i].MBBI->getOperand(0); 517 const MachineOperand &MO = MI->getOperand(i); 552 if (!(MI->getOperand(0).getReg() == Base && 553 MI->getOperand(1).getReg() == Base && 554 (MI->getOperand(2).getImm()*Scale) == Bytes && 585 if (!(MI->getOperand(0).getReg() == Base && 586 MI->getOperand(1).getReg() == Base && 587 (MI->getOperand(2).getImm()*Scale) == Bytes & [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCISelLowering.cpp | 620 if (ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(Op.getOperand(1))) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAG.cpp | 101 N = N->getOperand(0).getNode(); 108 while (i != e && N->getOperand(i).getOpcode() == ISD::UNDEF) 122 SDValue NotZero = N->getOperand(i); 137 if (N->getOperand(i) != NotZero && 138 N->getOperand(i).getOpcode() != ISD::UNDEF) 149 N = N->getOperand(0).getNode(); 156 while (i != e && N->getOperand(i).getOpcode() == ISD::UNDEF) 164 SDValue Zero = N->getOperand(i); 177 if (N->getOperand(i) != Zero && 178 N->getOperand(i).getOpcode() != ISD::UNDEF [all...] |
/external/llvm/lib/CodeGen/ |
MachineCSE.cpp | 118 MachineOperand &MO = MI->getOperand(i); 131 unsigned SrcReg = DefMI->getOperand(1).getReg(); 134 if (DefMI->getOperand(0).getSubReg() || DefMI->getOperand(1).getSubReg()) 166 const MachineOperand &MO = I->getOperand(i); 200 const MachineOperand &MO = MI->getOperand(i); 219 const MachineOperand &MO = MI->getOperand(i); 291 const MachineOperand &MO = I->getOperand(i); 382 const MachineOperand &MO = MI->getOperand(i); 518 MachineOperand &MO = MI->getOperand(i) [all...] |
PeepholeOptimizer.cpp | 195 MachineOperand &UseMO = UI.getOperand(); 289 Copy->getOperand(0).setSubReg(SubIdx); 290 Copy->getOperand(0).setIsUndef(); 321 const MachineOperand &MO = MI->getOperand(i); 348 const MachineOperand &MO = DefMI->getOperand(i); 425 unsigned Reg = MI->getOperand(0).getReg(); 429 if (!MI->getOperand(0).getSubReg() && 446 unsigned Reg = MI->getOperand(0).getReg(); 463 MachineOperand &MO = MI->getOperand(i);
|
UnreachableBlockElim.cpp | 157 if (start->getOperand(i).isMBB() && 158 start->getOperand(i).getMBB() == BB) { 184 if (!preds.count(phi->getOperand(i).getMBB())) { 191 unsigned Input = phi->getOperand(1).getReg(); 192 unsigned Output = phi->getOperand(0).getReg();
|
StrongPHIElimination.cpp | 243 unsigned DestReg = BBI->getOperand(0).getReg(); 248 MachineOperand &SrcMO = BBI->getOperand(i); 287 unsigned DestReg = BBI->getOperand(0).getReg(); 291 unsigned SrcReg = BBI->getOperand(i).getReg(); 308 unsigned SrcReg = PHI->getOperand(1).getReg(); 317 unsigned DestReg = PHI->getOperand(0).getReg(); 322 unsigned SrcReg = PHI->getOperand(i).getReg(); 355 CopyInstr->getOperand(1).setIsKill(true); 460 unsigned DestReg = PHI->getOperand(0).getReg(); 466 unsigned SrcColor = getRegColor(PHI->getOperand(i).getReg()) [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolutionExpander.cpp | 102 if (CI->getOperand(0)->getType() == Ty) 103 return CI->getOperand(0); 113 SE.getTypeSizeInBits(CI->getOperand(0)->getType())) 114 return CI->getOperand(0); 119 SE.getTypeSizeInBits(CE->getOperand(0)->getType())) 120 return CE->getOperand(0); 132 isa<Argument>(cast<BitCastInst>(IP)->getOperand(0)) && 133 cast<BitCastInst>(IP)->getOperand(0) != A) || 171 if (IP->getOpcode() == (unsigned)Opcode && IP->getOperand(0) == LHS && 172 IP->getOperand(1) == RHS [all...] |
Lint.cpp | 469 AA->getTypeStoreSize(I.getOperand(0)->getType()), 471 I.getOperand(0)->getType(), MemRef::Write); 475 Assert1(!isa<UndefValue>(I.getOperand(0)) || 476 !isa<UndefValue>(I.getOperand(1)), 481 Assert1(!isa<UndefValue>(I.getOperand(0)) || 482 !isa<UndefValue>(I.getOperand(1)), 488 dyn_cast<ConstantInt>(findValue(I.getOperand(1), /*OffsetOk=*/false))) 495 dyn_cast<ConstantInt>(findValue(I.getOperand(1), /*OffsetOk=*/false))) 502 dyn_cast<ConstantInt>(findValue(I.getOperand(1), /*OffsetOk=*/false))) 518 Assert1(!isZero(I.getOperand(1), TD) [all...] |
CaptureTracking.cpp | 138 if (V == I->getOperand(0)) 163 dyn_cast<ConstantPointerNull>(I->getOperand(1)))
|
/external/llvm/lib/Transforms/Scalar/ |
LoopIdiomRecognize.cpp | 246 Value *Op = DeadInst->getOperand(op); 355 ConstantInt *CmpZero = dyn_cast<ConstantInt>(Cond->getOperand(1)); 362 return Cond->getOperand(0); 415 if ((SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(0)))) 416 VarX1 = DefX2->getOperand(1); 418 VarX1 = DefX2->getOperand(0); 419 SubOneOp = dyn_cast<BinaryOperator>(DefX2->getOperand(1)); 425 ConstantInt *Dec = dyn_cast<ConstantInt>(SubInst->getOperand(1)); 437 (PhiX->getOperand(0) != DefX2 && PhiX->getOperand(1) != DefX2)) [all...] |
/external/llvm/lib/Transforms/Utils/ |
ValueMapper.cpp | 65 Value *OP = MD->getOperand(i); 78 Value *Op = MD->getOperand(i); 123 Value *Op = C->getOperand(OpNo); 143 Ops.push_back(cast<Constant>(C->getOperand(j))); 151 Ops.push_back(MapValue(cast<Constant>(C->getOperand(OpNo)), VM,
|
/external/llvm/lib/IR/ |
ConstantFold.cpp | 85 Type *SrcTy = Op->getOperand(0)->getType(); 223 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); 232 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); 238 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); 246 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); 252 ConstantInt *Amt = dyn_cast<ConstantInt>(CE->getOperand(1)); 267 return ExtractConstantBytes(CE->getOperand(0), ByteStart+ShAmt, ByteSize); 274 ConstantInt *Amt = dyn_cast<ConstantInt>(CE->getOperand(1)); 289 return ExtractConstantBytes(CE->getOperand(0), ByteStart-ShAmt, ByteSize); 297 cast<IntegerType>(CE->getOperand(0)->getType())->getBitWidth() [all...] |
Instructions.cpp | 799 ProfileData->getOperand(0), 800 ProfileData->getOperand(2), 801 ProfileData->getOperand(1) [all...] |
Module.cpp | 336 MDNode *Flag = ModFlags->getOperand(i); 337 ConstantInt *Behavior = cast<ConstantInt>(Flag->getOperand(0)); 338 MDString *Key = cast<MDString>(Flag->getOperand(1)); 339 Value *Val = Flag->getOperand(2); 378 assert(isa<ConstantInt>(Node->getOperand(0)) && 379 isa<MDString>(Node->getOperand(1)) &&
|
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | 220 if (SI->getOperand(0) == V) return true; 232 SI->getOperand(1))) { 233 Value *StoredVal = SI->getOperand(0); 246 cast<LoadInst>(StoredVal)->getOperand(0) == GV) { 375 V = I->getOperand(0); 453 Instruction *J = dyn_cast<Instruction>(I->getOperand(0)); 508 if (!isa<ConstantExpr>(GEP->getOperand(0))) { 561 return SI->getOperand(0) != V; 567 if (GEPI->getNumOperands() < 3 || !isa<Constant>(GEPI->getOperand(1)) || 568 !cast<Constant>(GEPI->getOperand(1))->isNullValue() [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonISelDAGToDAG.cpp | 344 SDValue Base = Const32->getOperand(0); 393 SDValue N1 = LD->getOperand(1); 457 SDValue N1 = LD->getOperand(1); 717 SDValue Base = Const32->getOperand(0); 785 SDValue MulOp0 = N->getOperand(0); 786 SDValue MulOp1 = N->getOperand(1); 793 SDValue Sext0 = MulOp0.getOperand(0); 819 SDValue Sext1 = MulOp1.getOperand(0); 856 SDValue N0 = N->getOperand(0); 858 SDValue N00 = N0.getOperand(0) [all...] |
HexagonCFGOptimizer.cpp | 92 MI->getOperand(1).setMBB(NewTarget); 161 CondBranchTarget = MI->getOperand(1).getMBB(); 174 LayoutSucc->front().getOperand(0).getMBB();
|
/external/llvm/lib/Target/R600/ |
AMDILISelDAGToDAG.cpp | 116 R1 = Addr.getOperand(0); 117 R2 = Addr.getOperand(1); 149 R1 = Addr.getOperand(0); 150 R2 = Addr.getOperand(1); 183 if (dyn_cast<RegisterSDNode>(N->getOperand(i))) { 187 RegSeqArgs[2 * i + 1] = N->getOperand(i); 242 Ops.push_back(Use->getOperand(i)); 269 ConstantSDNode *C = dyn_cast<ConstantSDNode>(Use->getOperand(ImmIdx)); 325 Ops.push_back(Result->getOperand(i)); 370 !SelectGlobalValueConstantOffset(Operand.getOperand(0), CstOffset) [all...] |
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64MCTargetDesc.cpp | 120 && Inst.getOperand(0).getImm() == A64CC::AL) 127 && Inst.getOperand(0).getImm() == A64CC::AL) 140 int64_t Imm = Inst.getOperand(LblOperand).getImm();
|
/external/llvm/lib/Target/MBlaze/ |
MBlazeISelLowering.cpp | 298 .addReg(MI->getOperand(2).getReg()) 303 .addReg(MI->getOperand(1).getReg()) 340 TII->get(MBlaze::PHI), MI->getOperand(0).getReg()) 374 switch (MI->getOperand(4).getImm()) { 398 .addReg(MI->getOperand(3).getReg()) 404 //BuildMI(dneBB, dl, TII->get(MBlaze::PHI), MI->getOperand(0).getReg()) 405 // .addReg(MI->getOperand(1).getReg()).addMBB(flsBB) 406 // .addReg(MI->getOperand(2).getReg()).addMBB(BB); 409 TII->get(MBlaze::PHI), MI->getOperand(0).getReg()) 410 .addReg(MI->getOperand(2).getReg()).addMBB(flsBB [all...] |
/external/llvm/include/llvm/IR/ |
OperandTraits.h | 110 inline VALUECLASS *getOperand(unsigned) const; \ 136 VALUECLASS *CLASS::getOperand(unsigned i_nocapture) const { \ 138 && "getOperand() out of range!"); \
|