Home
last modified time | relevance | path

Searched refs:Opnd (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp123 Value *Opnd = Inst->getOperand(Idx); in findMatInsertPt() local
124 if (auto CastInst = dyn_cast<Instruction>(Opnd)) in findMatInsertPt()
240 Value *Opnd = Inst->getOperand(Idx); in collectConstantCandidates() local
243 if (auto ConstInt = dyn_cast<ConstantInt>(Opnd)) { in collectConstantCandidates()
249 if (auto CastInst = dyn_cast<Instruction>(Opnd)) { in collectConstantCandidates()
264 if (auto ConstExpr = dyn_cast<ConstantExpr>(Opnd)) { in collectConstantCandidates()
490 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants() local
493 if (isa<ConstantInt>(Opnd)) { in emitBaseConstants()
502 if (auto CastInst = dyn_cast<Instruction>(Opnd)) { in emitBaseConstants()
524 if (auto ConstExpr = dyn_cast<ConstantExpr>(Opnd)) { in emitBaseConstants()
DReassociate.cpp1136 static Value *createAndInstr(Instruction *InsertBefore, Value *Opnd, in createAndInstr() argument
1140 LLVMContext &Ctx = Opnd->getType()->getContext(); in createAndInstr()
1142 I = BinaryOperator::CreateAnd(Opnd, ConstantInt::get(Ctx, ConstOpnd), in createAndInstr()
1147 return Opnd; in createAndInstr()
/external/llvm/lib/Target/AArch64/
DAArch64AddressTypePromotion.cpp167 const Instruction *Opnd = cast<Instruction>(Inst->getOperand(0)); in canGetThrough() local
170 Opnd->getOperand(0)->getType()->getIntegerBitWidth() && in canGetThrough()
320 Value *Opnd = Inst->getOperand(OpIdx); in propagateSignExtension() local
321 if (const ConstantInt *Cst = dyn_cast<ConstantInt>(Opnd)) { in propagateSignExtension()
328 if (isa<UndefValue>(Opnd)) { in propagateSignExtension()
338 SExtForOpnd->setOperand(0, Opnd); in propagateSignExtension()
DAArch64FastISel.cpp1981 for (auto &Opnd : MI->uses()) { in selectLoad() local
1982 if (Opnd.isReg()) { in selectLoad()
1983 Reg = Opnd.getReg(); in selectLoad()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2302 TruncBuilder(Instruction *Opnd, Type *Ty) : TypePromotionAction(Opnd) { in TruncBuilder() argument
2303 IRBuilder<> Builder(Opnd); in TruncBuilder()
2304 Val = Builder.CreateTrunc(Opnd, Ty, "promoted"); in TruncBuilder()
2326 SExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty) in SExtBuilder() argument
2329 Val = Builder.CreateSExt(Opnd, Ty, "promoted"); in SExtBuilder()
2351 ZExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty) in ZExtBuilder() argument
2354 Val = Builder.CreateZExt(Opnd, Ty, "promoted"); in ZExtBuilder()
2494 Value *createTrunc(Instruction *Opnd, Type *Ty);
2496 Value *createSExt(Instruction *Inst, Value *Opnd, Type *Ty);
2498 Value *createZExt(Instruction *Inst, Value *Opnd, Type *Ty);
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp1601 MCOperand Opnd; in processInstruction() local
1614 Opnd = Inst.getOperand(1); in processInstruction()
1615 if (!Opnd.isImm()) in processInstruction()
1617 Imm = Opnd.getImm(); in processInstruction()
1631 Opnd = Inst.getOperand(2); in processInstruction()
1632 if (!Opnd.isImm()) in processInstruction()
1634 Imm = Opnd.getImm(); in processInstruction()
1782 MCOperand Opnd; in processInstruction() local
1789 Opnd = Inst.getOperand(0); in processInstruction()
1790 if (!Opnd.isImm()) in processInstruction()
[all …]
/external/llvm/lib/Target/AMDGPU/Disassembler/
DAMDGPUDisassembler.cpp44 addOperand(MCInst &Inst, const MCOperand& Opnd) { in addOperand() argument
45 Inst.addOperand(Opnd); in addOperand()
46 return Opnd.isValid() ? in addOperand()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp702 for (const FAddend *Opnd : Opnds) { in createNaryFAdd() local
704 Value *V = createAddendVal(*Opnd, NeedNeg); in createNaryFAdd()
793 for (const FAddend *Opnd : Opnds) { in calcInstrNumber() local
794 if (Opnd->isConstant()) in calcInstrNumber()
797 const FAddendCoef &CE = Opnd->getCoef(); in calcInstrNumber()
820 Value *FAddCombine::createAddendVal(const FAddend &Opnd, bool &NeedNeg) { in createAddendVal() argument
821 const FAddendCoef &Coeff = Opnd.getCoef(); in createAddendVal()
823 if (Opnd.isConstant()) { in createAddendVal()
828 Value *OpndVal = Opnd.getSymVal(); in createAddendVal()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2232 const Value *Opnd = nullptr; in X86SelectSelect() local
2235 case CmpInst::FCMP_FALSE: Opnd = I->getOperand(2); break; in X86SelectSelect()
2236 case CmpInst::FCMP_TRUE: Opnd = I->getOperand(1); break; in X86SelectSelect()
2239 if (Opnd) { in X86SelectSelect()
2240 unsigned OpReg = getRegForValue(Opnd); in X86SelectSelect()
2243 bool OpIsKill = hasTrivialKill(Opnd); in X86SelectSelect()
/external/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp1335 SDValue Opnd = Op->getOperand(++OpNo), In64; in lowerDSPIntr() local
1337 if (Opnd.getValueType() == MVT::i64) in lowerDSPIntr()
1338 In64 = initAccumulator(Opnd, DL, DAG); in lowerDSPIntr()
1340 Ops.push_back(Opnd); in lowerDSPIntr()