/external/llvm/lib/Target/MSP430/ |
MSP430BranchSelector.cpp | 107 if ((I->getOpcode() != MSP430::JCC || I->getOperand(0).isImm()) && 115 MachineBasicBlock *Dest = I->getOperand(0).getMBB(); 153 Cond.push_back(I->getOperand(1));
|
/external/llvm/lib/Target/Mips/ |
MipsSERegisterInfo.cpp | 164 Offset += MI.getOperand(OpNo + 1).getImm(); 216 MI.getOperand(OpNo).ChangeToRegister(FrameReg, false, false, IsKill); 217 MI.getOperand(OpNo + 1).ChangeToImmediate(Offset);
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXImageOptimizer.cpp | 91 Value *TexHandle = cleanupValue(I.getOperand(0)); 109 Value *TexHandle = cleanupValue(I.getOperand(0)); 128 Value *TexHandle = cleanupValue(I.getOperand(0));
|
/external/llvm/lib/Transforms/IPO/ |
CrossDSOCFI.cpp | 79 auto TM = dyn_cast<ValueAsMetadata>(MD->getOperand(0)); 88 auto FM = dyn_cast_or_null<ValueAsMetadata>(MD->getOperand(1)); 108 if (ConstantInt *TypeId = extractBitSetTypeId(BitSetNM->getOperand(I)))
|
GlobalOpt.cpp | 181 V = I->getOperand(0); 258 Instruction *J = dyn_cast<Instruction>(I->getOperand(0)); 323 if (!isa<ConstantExpr>(GEP->getOperand(0))) { 375 return SI->getOperand(0) != V; 381 if (GEPI->getNumOperands() < 3 || !isa<Constant>(GEPI->getOperand(1)) || 382 !cast<Constant>(GEPI->getOperand(1))->isNullValue()) 405 if (U->getNumOperands() < 3 || !isa<Constant>(U->getOperand(1)) || 406 !cast<Constant>(U->getOperand(1))->isNullValue() || 407 !isa<ConstantInt>(U->getOperand(2))) 416 ConstantInt *Idx = cast<ConstantInt>(U->getOperand(2)) [all...] |
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | 96 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); 151 Value *A = Op0->getOperand(0), *B = Op0->getOperand(1), *C = RHS; 174 Value *A = LHS, *B = Op1->getOperand(0), *C = Op1->getOperand(1); 212 Value *A = Op0->getOperand(0); 213 Value *B = Op0->getOperand(1); 232 Value *B = Op1->getOperand(0); 233 Value *C = Op1->getOperand(1) [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreAsmPrinter.cpp | 195 unsigned JTI = MI->getOperand(opNum).getIndex(); 212 const MachineOperand &MO = MI->getOperand(opNum); 275 if (MI->getOperand(2).getImm() == 0) { 277 << XCoreInstPrinter::getRegisterName(MI->getOperand(0).getReg()) << ", " 278 << XCoreInstPrinter::getRegisterName(MI->getOperand(1).getReg()); 286 << XCoreInstPrinter::getRegisterName(MI->getOperand(1).getReg()) << '\n';
|
/external/llvm/lib/Target/ARM/ |
ARMLoadStoreOptimizer.cpp | 178 unsigned OffField = MI->getOperand(NumOperands-3).getImm(); 203 return MI.getOperand(1); 207 return MI.getOperand(0); 465 MBBI->getOperand(MBBI->getDesc().getNumOperands() - 3); 483 MBBI->getOperand(MBBI->getDesc().getNumOperands() - 3); [all...] |
Thumb2InstrInfo.cpp | 80 unsigned Mask = MBBI->getOperand(1).getImm(); 86 MBBI->getOperand(1).setImm((Mask & MaskOff) | MaskOn); 459 Offset += MI.getOperand(FrameRegIdx+1).getImm(); 465 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); 486 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); 487 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset); 496 (!HasCCOut || MI.getOperand(MI.getNumOperands()-1).getReg() == 0)) { 499 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); 500 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset); 518 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(ThisImmVal) [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!"); \
|
DebugInfoMetadata.h | 114 DITypeRef operator[](unsigned I) const { return DITypeRef(N->getOperand(I)); } 161 return cast_or_null<Ty>(getOperand(I)); 303 return getOperand(I + 1); 431 : static_cast<Metadata *>(getOperand(0)); 550 Metadata *getRawScope() const { return getOperand(1); } 717 Metadata *getRawBaseType() const { return getOperand(3); } 727 Metadata *getRawExtraData() const { return getOperand(4); } 836 Metadata *getRawBaseType() const { return getOperand(3); } 837 Metadata *getRawElements() const { return getOperand(4); } 838 Metadata *getRawVTableHolder() const { return getOperand(5); [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64CleanupLocalDynamicTLSPass.cpp | 67 if (!I->getOperand(0).isSymbol() || 68 strcmp(I->getOperand(0).getSymbolName(), "_TLS_MODULE_BASE_"))
|
/external/llvm/lib/Target/AMDGPU/ |
R600OptimizeVectorRegisters.cpp | 70 MachineOperand &MO = Instr->getOperand(i); 71 unsigned Chan = Instr->getOperand(i + 1).getImm(); 181 unsigned Reg = RSI->Instr->getOperand(0).getReg(); 186 unsigned SrcVec = BaseRSI->Instr->getOperand(0).getReg(); 255 unsigned Swizzle = MI.getOperand(i + Offset).getImm() + 1; 258 MI.getOperand(i + Offset).setImm(RemapChan[j].second - 1); 331 unsigned Reg = MI->getOperand(1).getReg(); 345 unsigned Reg = MI->getOperand(0).getReg();
|
/external/llvm/lib/Target/Hexagon/ |
HexagonCopyToCombine.cpp | 120 const MachineOperand &Op0 = MI->getOperand(0); 121 const MachineOperand &Op1 = MI->getOperand(1); 133 const MachineOperand &Op0 = MI->getOperand(0); 134 const MachineOperand &Op1 = MI->getOperand(1); 161 const MachineOperand &Op = I->getOperand(1); 196 MachineOperand &Op = MI->getOperand(I); 226 unsigned I2UseReg = UseReg(I2->getOperand(1)); 290 unsigned I1UseReg = UseReg(I1->getOperand(1)); 352 MachineOperand &Op = MI->getOperand(OpdIdx); 384 MachineOperand &Op = MI->getOperand(I) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 83 if (isa<Constant>(S->getOperand(0))) return false; 85 Constant *C = LVI->getConstant(S->getOperand(0), S->getParent(), S); 91 Value *ReplaceWith = S->getOperand(1); 92 Value *Other = S->getOperand(2); 194 Value *Op0 = C->getOperand(0); 195 Constant *Op1 = dyn_cast<Constant>(C->getOperand(1)); 346 Value *Op0 = C->getOperand(0); 347 Constant *Op1 = dyn_cast<Constant>(C->getOperand(1));
|
JumpThreading.cpp | 470 ComputeValueKnownInPredecessors(I->getOperand(0), BB, LHSVals, 472 ComputeValueKnownInPredecessors(I->getOperand(1), BB, RHSVals, 511 isa<ConstantInt>(I->getOperand(1)) && 512 cast<ConstantInt>(I->getOperand(1))->isOne()) { 513 ComputeValueKnownInPredecessors(I->getOperand(0), BB, Result, 529 if (ConstantInt *CI = dyn_cast<ConstantInt>(BO->getOperand(1))) { 531 ComputeValueKnownInPredecessors(BO->getOperand(0), BB, LHSVals, 550 PHINode *PN = dyn_cast<PHINode>(Cmp->getOperand(0)); 558 Value *RHS = Cmp->getOperand(1)->DoPHITranslation(BB, PredBB); 583 if (isa<Constant>(Cmp->getOperand(1)) && Cmp->getType()->isIntegerTy()) [all...] |
SCCP.cpp | 721 Value *ResultOp = I.getOperand(0); 757 LatticeVal OpSt = getValueState(I.getOperand(0)); 856 LatticeVal V1State = getValueState(I.getOperand(0)); 857 LatticeVal V2State = getValueState(I.getOperand(1)); [all...] |
/external/llvm/unittests/Linker/ |
LinkModulesTest.cpp | 116 Value *Elem = Init->getOperand(0); 123 Elem = Init->getOperand(1); 293 MDNode *M3 = NMD->getOperand(0); 294 MDNode *M4 = NMD->getOperand(1); 302 EXPECT_EQ(M3, M4->getOperand(0)); 321 EXPECT_EQ(M3, NMD->getOperand(0)); 322 EXPECT_EQ(M4, NMD->getOperand(1)); 330 EXPECT_EQ(M3, M4->getOperand(0));
|
/external/llvm/unittests/Transforms/Utils/ |
IntegerDivision.cpp | 49 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); 79 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); 109 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); 139 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); 170 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); 200 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); 230 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); 260 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
|
/external/llvm/lib/Transforms/Vectorize/ |
SLPVectorizer.cpp | 285 Value *Vec = E0->getOperand(0); 294 ConstantInt *CI = dyn_cast<ConstantInt>(E0->getOperand(1)); 300 ConstantInt *CI = dyn_cast<ConstantInt>(E->getOperand(1)); 302 if (!CI || CI->getZExtValue() != i || E->getOperand(0) != Vec) [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | 280 Type *Ty = I.getOperand(0)->getType(); 281 GenericValue Src1 = getOperandValue(I.getOperand(0), SF); 282 GenericValue Src2 = getOperandValue(I.getOperand(1), SF); 612 Type *Ty = I.getOperand(0)->getType(); 613 GenericValue Src1 = getOperandValue(I.getOperand(0), SF); 614 GenericValue Src2 = getOperandValue(I.getOperand(1), SF); 683 Type *Ty = I.getOperand(0)->getType(); 684 GenericValue Src1 = getOperandValue(I.getOperand(0), SF); 685 GenericValue Src2 = getOperandValue(I.getOperand(1), SF); [all...] |
/external/llvm/lib/CodeGen/ |
CodeGenPrepare.cpp | 569 auto Op = dyn_cast<ConstantInt>(GEP->getOperand(i)); 575 OffsetV.push_back(GEP->getOperand(i)); 747 InsertedCast = CastInst::Create(CI->getOpcode(), CI->getOperand(0), 775 EVT SrcVT = TLI.getValueType(DL, CI->getOperand(0)->getType()); [all...] |
TailDuplication.cpp | 176 MachineBasicBlock *PHIBB = MI->getOperand(i+1).getMBB(); 191 MachineBasicBlock *PHIBB = MI->getOperand(i+1).getMBB(); 297 unsigned Dst = Copy->getOperand(0).getReg(); 298 unsigned Src = Copy->getOperand(1).getReg(); 357 if (MI->getOperand(i+1).getMBB() == SrcBB) 372 unsigned SrcReg = MI.getOperand(i).getReg(); 399 unsigned DefReg = MI->getOperand(0).getReg(); 402 unsigned SrcReg = MI->getOperand(SrcOpIdx).getReg(); 433 MachineOperand &MO = NewMI->getOperand(i); 477 MachineOperand &MO = II->getOperand(i+1) [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
AsmPrinter.cpp | 663 unsigned RegNo = MI->getOperand(0).getReg(); 679 const MachineOperand &Op = MI->getOperand(i); 717 bool Deref = MI->getOperand(0).isReg() && MI->getOperand(1).isImm(); 718 int64_t Offset = Deref ? MI->getOperand(1).getImm() : 0; 743 if (MI->getOperand(0).isFPImm()) { 744 APFloat APF = APFloat(MI->getOperand(0).getFPImm()->getValueAPF()); 745 if (MI->getOperand(0).getFPImm()->getType()->isFloatTy()) { 747 } else if (MI->getOperand(0).getFPImm()->getType()->isDoubleTy()) { 757 } else if (MI->getOperand(0).isImm()) [all...] |
/external/llvm/lib/Target/X86/ |
X86InstrInfo.cpp | [all...] |