Searched refs:Opnd (Results 1 - 9 of 9) sorted by relevance

/external/llvm/lib/Target/AArch64/
H A DAArch64AddressTypePromotion.cpp166 const Instruction *Opnd = cast<Instruction>(Inst->getOperand(0)); local
169 Opnd->getOperand(0)->getType()->getIntegerBitWidth() &&
321 Value *Opnd = Inst->getOperand(OpIdx); local
322 if (const ConstantInt *Cst = dyn_cast<ConstantInt>(Opnd)) {
329 if (isa<UndefValue>(Opnd)) {
339 SExtForOpnd->setOperand(0, Opnd);
H A DAArch64FastISel.cpp1941 for (auto &Opnd : MI->uses()) {
1942 if (Opnd.isReg()) {
1943 Reg = Opnd.getReg();
/external/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp219 Value *Opnd = Inst->getOperand(Idx); local
220 if (auto CastInst = dyn_cast<Instruction>(Opnd))
325 Value *Opnd = Inst->getOperand(Idx); local
328 if (auto ConstInt = dyn_cast<ConstantInt>(Opnd)) {
334 if (auto CastInst = dyn_cast<Instruction>(Opnd)) {
349 if (auto ConstExpr = dyn_cast<ConstantExpr>(Opnd)) {
483 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); local
486 if (isa<ConstantInt>(Opnd)) {
495 if (auto CastInst = dyn_cast<Instruction>(Opnd)) {
517 if (auto ConstExpr = dyn_cast<ConstantExpr>(Opnd)) {
[all...]
H A DReassociate.cpp1254 static Value *createAndInstr(Instruction *InsertBefore, Value *Opnd,
1258 LLVMContext &Ctx = Opnd->getType()->getContext();
1260 I = BinaryOperator::CreateAnd(Opnd, ConstantInt::get(Ctx, ConstOpnd),
1265 return Opnd;
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp1318 MCOperand Opnd; local
1331 Opnd = Inst.getOperand(1);
1332 if (!Opnd.isImm())
1334 Imm = Opnd.getImm();
1351 Opnd = Inst.getOperand(3);
1352 if (!Opnd.isImm())
1354 Imm = Opnd.getImm();
1358 Opnd = Inst.getOperand(2);
1359 if (!Opnd.isImm())
1361 Imm = Opnd
1458 MCOperand Opnd; local
1571 MCOperand Opnd = Inst.getOperand(1); local
[all...]
/external/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1761 /// \brief Build a truncate instruction of \p Opnd producing a \p Ty
1763 /// trunc Opnd to Ty.
1764 TruncBuilder(Instruction *Opnd, Type *Ty) : TypePromotionAction(Opnd) { argument
1765 IRBuilder<> Builder(Opnd);
1766 Val = Builder.CreateTrunc(Opnd, Ty, "promoted");
1785 /// \brief Build a sign extension instruction of \p Opnd producing a \p Ty
1787 /// sext Opnd to Ty.
1788 SExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty) argument
1791 Val = Builder.CreateSExt(Opnd, T
1813 ZExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty) argument
1992 createTrunc(Instruction *Opnd, Type *Ty) argument
2000 createSExt(Instruction *Inst, Value *Opnd, Type *Ty) argument
2008 createZExt(Instruction *Inst, Value *Opnd, Type *Ty) argument
2526 Value *Opnd = ExtOpnd->getOperand(OpIdx); local
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp813 const FAddend *Opnd = *I; local
814 if (Opnd->isConstant())
817 const FAddendCoef &CE = Opnd->getCoef();
840 Value *FAddCombine::createAddendVal(const FAddend &Opnd, bool &NeedNeg) { argument
841 const FAddendCoef &Coeff = Opnd.getCoef();
843 if (Opnd.isConstant()) {
848 Value *OpndVal = Opnd.getSymVal();
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp2029 const Value *Opnd = nullptr; local
2032 case CmpInst::FCMP_FALSE: Opnd = I->getOperand(2); break;
2033 case CmpInst::FCMP_TRUE: Opnd = I->getOperand(1); break;
2036 if (Opnd) {
2037 unsigned OpReg = getRegForValue(Opnd);
2040 bool OpIsKill = hasTrivialKill(Opnd);
/external/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp1324 SDValue Opnd = Op->getOperand(++OpNo), In64; local
1326 if (Opnd.getValueType() == MVT::i64)
1327 In64 = initAccumulator(Opnd, DL, DAG);
1329 Ops.push_back(Opnd);

Completed in 1025 milliseconds