Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCInstPrinter.cpp73 const MCOperand &Opnd = MI.getOperand(OpIdx); in matchAliasCondition() local
80 return Opnd.isImm() && Opnd.getImm() == int32_t(C.Value); in matchAliasCondition()
83 return Opnd.isReg() && Opnd.getReg() == C.Value; in matchAliasCondition()
86 return Opnd.isReg() && Opnd.getReg() == MI.getOperand(C.Value).getReg(); in matchAliasCondition()
89 return Opnd.isReg() && MRI.getRegClass(C.Value).contains(Opnd.getReg()); in matchAliasCondition()
92 return M.ValidateMCOperand(Opnd, *STI, C.Value); in matchAliasCondition()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARC.h78 const auto *Opnd = Inst.getOperand(0)->stripPointerCasts(); in getreturnRVOperand() local
79 if (const auto *C = dyn_cast<CallInst>(Opnd)) in getreturnRVOperand()
81 return dyn_cast<InvokeInst>(Opnd); in getreturnRVOperand()
DObjCARCOpts.cpp888 Value *Opnd = Inst->getOperand(0); in OptimizeIndividualCallImpl() local
889 if (auto *GV = dyn_cast<GlobalVariable>(Opnd->stripPointerCasts())) in OptimizeIndividualCallImpl()
892 Inst->replaceAllUsesWith(Opnd); in OptimizeIndividualCallImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp175 Value *Opnd = Inst->getOperand(Idx); in findMatInsertPt() local
176 if (auto CastInst = dyn_cast<Instruction>(Opnd)) in findMatInsertPt()
437 Value *Opnd = Inst->getOperand(Idx); in collectConstantCandidates() local
440 if (auto ConstInt = dyn_cast<ConstantInt>(Opnd)) { in collectConstantCandidates()
446 if (auto CastInst = dyn_cast<Instruction>(Opnd)) { in collectConstantCandidates()
461 if (auto ConstExpr = dyn_cast<ConstantExpr>(Opnd)) { in collectConstantCandidates()
767 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants() local
770 if (isa<ConstantInt>(Opnd)) { in emitBaseConstants()
779 if (auto CastInst = dyn_cast<Instruction>(Opnd)) { in emitBaseConstants()
801 if (auto ConstExpr = dyn_cast<ConstantExpr>(Opnd)) { in emitBaseConstants()
DReassociate.cpp1182 static Value *createAndInstr(Instruction *InsertBefore, Value *Opnd, in createAndInstr() argument
1188 return Opnd; in createAndInstr()
1191 Opnd, ConstantInt::get(Opnd->getType(), ConstOpnd), "and.ra", in createAndInstr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2517 TruncBuilder(Instruction *Opnd, Type *Ty) : TypePromotionAction(Opnd) { in TruncBuilder() argument
2518 IRBuilder<> Builder(Opnd); in TruncBuilder()
2519 Val = Builder.CreateTrunc(Opnd, Ty, "promoted"); in TruncBuilder()
2542 SExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty) in SExtBuilder() argument
2545 Val = Builder.CreateSExt(Opnd, Ty, "promoted"); in SExtBuilder()
2568 ZExtBuilder(Instruction *InsertPt, Value *Opnd, Type *Ty) in ZExtBuilder() argument
2571 Val = Builder.CreateZExt(Opnd, Ty, "promoted"); in ZExtBuilder()
2748 Value *createTrunc(Instruction *Opnd, Type *Ty);
2751 Value *createSExt(Instruction *Inst, Value *Opnd, Type *Ty);
2754 Value *createZExt(Instruction *Inst, Value *Opnd, Type *Ty);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp624 for (const FAddend *Opnd : Opnds) { in createNaryFAdd() local
626 Value *V = createAddendVal(*Opnd, NeedNeg); in createNaryFAdd()
708 for (const FAddend *Opnd : Opnds) { in calcInstrNumber() local
709 if (Opnd->isConstant()) in calcInstrNumber()
714 if (isa<UndefValue>(Opnd->getSymVal())) in calcInstrNumber()
717 const FAddendCoef &CE = Opnd->getCoef(); in calcInstrNumber()
740 Value *FAddCombine::createAddendVal(const FAddend &Opnd, bool &NeedNeg) { in createAddendVal() argument
741 const FAddendCoef &Coeff = Opnd.getCoef(); in createAddendVal()
743 if (Opnd.isConstant()) { in createAddendVal()
748 Value *OpndVal = Opnd.getSymVal(); in createAddendVal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp1987 MCOperand Opnd; in processInstruction() local
2000 Opnd = Inst.getOperand(1); in processInstruction()
2001 if (!Opnd.isImm()) in processInstruction()
2003 Imm = Opnd.getImm(); in processInstruction()
2017 Opnd = Inst.getOperand(2); in processInstruction()
2018 if (!Opnd.isImm()) in processInstruction()
2020 Imm = Opnd.getImm(); in processInstruction()
2185 MCOperand Opnd; in processInstruction() local
2192 Opnd = Inst.getOperand(0); in processInstruction()
2193 if (!Opnd.isImm()) in processInstruction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceCfg.cpp543 auto *Opnd = Instr.getSrc(i); in localCSE() local
544 if (auto *Var = llvm::dyn_cast<Variable>(Opnd)) { in localCSE()
562 auto *Opnd = Instr.getSrc(i); in localCSE() local
563 if (auto *Var = llvm::dyn_cast<Variable>(Opnd)) { in localCSE()
DIceCfgNode.cpp366 const Operand *Opnd) { in sameVarOrReg() argument
367 if (Var1 == Opnd) in sameVarOrReg()
369 const auto *Var2 = llvm::dyn_cast<Variable>(Opnd); in sameVarOrReg()
DIceTargetLoweringX8664.cpp249 const Inst *BoolFolding::getProducerFor(const Operand *Opnd) const { in getProducerFor()
250 auto *Var = llvm::dyn_cast<const Variable>(Opnd); in getProducerFor()
655 inline uint64_t getConstantMemoryOrder(Operand *Opnd) { in getConstantMemoryOrder() argument
656 if (auto *Integer = llvm::dyn_cast<ConstantInteger32>(Opnd)) in getConstantMemoryOrder()
2951 inline bool isZero(const Operand *Opnd) { in isZero() argument
2952 if (auto *C64 = llvm::dyn_cast<ConstantInteger64>(Opnd)) in isZero()
2954 if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(Opnd)) in isZero()
4956 void TargetX8664::doMockBoundsCheck(Operand *Opnd) { in doMockBoundsCheck() argument
4959 if (auto *Mem = llvm::dyn_cast<X86OperandMem>(Opnd)) { in doMockBoundsCheck()
4963 Opnd = Mem->getBase(); in doMockBoundsCheck()
[all …]
DIceTargetLoweringX8632.cpp240 const Inst *BoolFolding::getProducerFor(const Operand *Opnd) const { in getProducerFor()
241 auto *Var = llvm::dyn_cast<const Variable>(Opnd); in getProducerFor()
646 inline uint64_t getConstantMemoryOrder(Operand *Opnd) { in getConstantMemoryOrder() argument
647 if (auto *Integer = llvm::dyn_cast<ConstantInteger32>(Opnd)) in getConstantMemoryOrder()
3248 inline bool isZero(const Operand *Opnd) { in isZero() argument
3249 if (auto *C64 = llvm::dyn_cast<ConstantInteger64>(Opnd)) in isZero()
3251 if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(Opnd)) in isZero()
5546 void TargetX8632::doMockBoundsCheck(Operand *Opnd) { in doMockBoundsCheck() argument
5549 if (auto *Mem = llvm::dyn_cast<X86OperandMem>(Opnd)) { in doMockBoundsCheck()
5553 Opnd = Mem->getBase(); in doMockBoundsCheck()
[all …]
DIceAssemblerARM32.cpp352 EncodedOperand encodeOperand(const Operand *Opnd, IValueT &Value, in encodeOperand() argument
355 if (const auto *Var = llvm::dyn_cast<Variable>(Opnd)) { in encodeOperand()
375 if (const auto *FlexImm = llvm::dyn_cast<OperandARM32FlexImm>(Opnd)) { in encodeOperand()
383 if (const auto *Const = llvm::dyn_cast<ConstantInteger32>(Opnd)) { in encodeOperand()
387 if (const auto *FlexReg = llvm::dyn_cast<OperandARM32FlexReg>(Opnd)) { in encodeOperand()
413 if (const auto *ShImm = llvm::dyn_cast<OperandARM32ShAmtImm>(Opnd)) { in encodeOperand()
480 EncodedOperand encodeAddress(const Operand *Opnd, IValueT &Value, in encodeAddress() argument
484 if (const auto *Var = llvm::dyn_cast<Variable>(Opnd)) { in encodeAddress()
497 if (const auto *Mem = llvm::dyn_cast<OperandARM32Mem>(Opnd)) { in encodeAddress()
DIceTargetLoweringMIPS32.h838 const Inst *getProducerOf(const Operand *Opnd) const { in getProducerOf() argument
839 auto *Var = llvm::dyn_cast<Variable>(Opnd); in getProducerOf()
DIceTargetLoweringX8632.h92 const Inst *getProducerFor(const Operand *Opnd) const;
310 void doMockBoundsCheck(Operand *Opnd) override;
DIceTargetLoweringX8664.h93 const Inst *getProducerFor(const Operand *Opnd) const;
306 void doMockBoundsCheck(Operand *Opnd) override;
DIceTargetLoweringARM32.h1142 const Inst *getProducerOf(const Operand *Opnd) const { in getProducerOf() argument
1143 auto *Var = llvm::dyn_cast<Variable>(Opnd); in getProducerOf()
DIceAssemblerMIPS32.cpp143 bool encodeOperand(const Operand *Opnd, IValueT &Value, in encodeOperand() argument
146 if (const auto *Var = llvm::dyn_cast<Variable>(Opnd)) { in encodeOperand()
DIceInstX8664.h299 static void validateVectorAddrModeOpnd(const Operand *Opnd) { in validateVectorAddrModeOpnd() argument
300 if (llvm::isa<X86OperandMem>(Opnd) && isVectorType(Opnd->getType())) { in validateVectorAddrModeOpnd()
DIceInstX8632.h360 static void validateVectorAddrModeOpnd(const Operand *Opnd) { in validateVectorAddrModeOpnd() argument
361 if (llvm::isa<X86OperandMem>(Opnd) && isVectorType(Opnd->getType())) { in validateVectorAddrModeOpnd()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Disassembler/
DAMDGPUDisassembler.cpp72 addOperand(MCInst &Inst, const MCOperand& Opnd) { in addOperand() argument
73 Inst.addOperand(Opnd); in addOperand()
74 return Opnd.isValid() ? in addOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FastISel.cpp2368 const Value *Opnd = nullptr; in X86SelectSelect() local
2371 case CmpInst::FCMP_FALSE: Opnd = I->getOperand(2); break; in X86SelectSelect()
2372 case CmpInst::FCMP_TRUE: Opnd = I->getOperand(1); break; in X86SelectSelect()
2375 if (Opnd) { in X86SelectSelect()
2376 unsigned OpReg = getRegForValue(Opnd); in X86SelectSelect()
2379 bool OpIsKill = hasTrivialKill(Opnd); in X86SelectSelect()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInsertWaitcnts.cpp512 const MachineOperand &Opnd = MI->getOperand(OpNo); in setExpScore()
513 assert(TRI->isVGPR(*MRI, Opnd.getReg())); in setExpScore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp1327 SDValue Opnd = Op->getOperand(++OpNo), In64; in lowerDSPIntr() local
1329 if (Opnd.getValueType() == MVT::i64) in lowerDSPIntr()
1330 In64 = initAccumulator(Opnd, DL, DAG); in lowerDSPIntr()
1332 Ops.push_back(Opnd); in lowerDSPIntr()
DMicroMips32r6InstrInfo.td1784 class JumpLinkMMR6<Instruction JumpInst, DAGOperand Opnd> :
1786 PseudoInstExpansion<(JumpInst Opnd:$target)>;

12