/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/PowerPC/ |
D | PPCGenFastISel.inc | 91 unsigned fastEmit_ISD_BITCAST_MVT_i64_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 95 return fastEmitInst_r(PPC::MTVSRD, &PPC::VSFRCRegClass, Op0, Op0IsKill); 100 unsigned fastEmit_ISD_BITCAST_MVT_f64_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 104 return fastEmitInst_r(PPC::MFVSRD, &PPC::G8RCRegClass, Op0, Op0IsKill); 109 unsigned fastEmit_ISD_BITCAST_r(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill) { 111 case MVT::i64: return fastEmit_ISD_BITCAST_MVT_i64_r(RetVT, Op0, Op0IsKill); 112 case MVT::f64: return fastEmit_ISD_BITCAST_MVT_f64_r(RetVT, Op0, Op0IsKill); 119 unsigned fastEmit_ISD_CTLZ_MVT_i32_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 122 return fastEmitInst_r(PPC::CNTLZW, &PPC::GPRCRegClass, Op0, Op0IsKill); 125 unsigned fastEmit_ISD_CTLZ_MVT_i64_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { [all …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/ |
D | AArch64GenFastISel.inc | 121 unsigned fastEmit_AArch64ISD_CALL_MVT_i64_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 124 return fastEmitInst_r(AArch64::BLR, &AArch64::GPR64RegClass, Op0, Op0IsKill); 127 unsigned fastEmit_AArch64ISD_CALL_r(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill) { 129 case MVT::i64: return fastEmit_AArch64ISD_CALL_MVT_i64_r(RetVT, Op0, Op0IsKill); 136 unsigned fastEmit_AArch64ISD_CMEQz_MVT_v8i8_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 140 return fastEmitInst_r(AArch64::CMEQv8i8rz, &AArch64::FPR64RegClass, Op0, Op0IsKill); 145 unsigned fastEmit_AArch64ISD_CMEQz_MVT_v16i8_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 149 return fastEmitInst_r(AArch64::CMEQv16i8rz, &AArch64::FPR128RegClass, Op0, Op0IsKill); 154 unsigned fastEmit_AArch64ISD_CMEQz_MVT_v4i16_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 158 return fastEmitInst_r(AArch64::CMEQv4i16rz, &AArch64::FPR64RegClass, Op0, Op0IsKill); [all …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86/ |
D | X86GenFastISel.inc | 42 unsigned fastEmit_ISD_ABS_MVT_v16i8_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 46 return fastEmitInst_r(X86::VPABSBZ128rr, &X86::VR128XRegClass, Op0, Op0IsKill); 49 return fastEmitInst_r(X86::PABSBrr, &X86::VR128RegClass, Op0, Op0IsKill); 52 return fastEmitInst_r(X86::VPABSBrr, &X86::VR128RegClass, Op0, Op0IsKill); 57 unsigned fastEmit_ISD_ABS_MVT_v32i8_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 61 return fastEmitInst_r(X86::VPABSBZ256rr, &X86::VR256XRegClass, Op0, Op0IsKill); 64 return fastEmitInst_r(X86::VPABSBYrr, &X86::VR256RegClass, Op0, Op0IsKill); 69 unsigned fastEmit_ISD_ABS_MVT_v64i8_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 73 return fastEmitInst_r(X86::VPABSBZrr, &X86::VR512RegClass, Op0, Op0IsKill); 78 unsigned fastEmit_ISD_ABS_MVT_v8i16_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { [all …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/ |
D | ARMGenFastISel.inc | 75 unsigned fastEmit_ARMISD_CALL_MVT_i32_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 79 return fastEmitInst_r(ARM::BLX, &ARM::GPRRegClass, Op0, Op0IsKill); 84 unsigned fastEmit_ARMISD_CALL_r(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill) { 86 case MVT::i32: return fastEmit_ARMISD_CALL_MVT_i32_r(RetVT, Op0, Op0IsKill); 93 unsigned fastEmit_ARMISD_CALL_NOLINK_MVT_i32_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 97 return fastEmitInst_r(ARM::tBX_CALL, &ARM::tGPRRegClass, Op0, Op0IsKill); 100 return fastEmitInst_r(ARM::BMOVPCRX_CALL, &ARM::tGPRRegClass, Op0, Op0IsKill); 103 return fastEmitInst_r(ARM::BX_CALL, &ARM::tGPRRegClass, Op0, Op0IsKill); 108 unsigned fastEmit_ARMISD_CALL_NOLINK_r(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill) { 110 case MVT::i32: return fastEmit_ARMISD_CALL_NOLINK_MVT_i32_r(RetVT, Op0, Op0IsKill); [all …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/Mips/ |
D | MipsGenFastISel.inc | 67 unsigned fastEmit_ISD_BITCAST_MVT_i32_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 71 return fastEmitInst_r(Mips::MTC1_MMR6, &Mips::FGR32RegClass, Op0, Op0IsKill); 74 return fastEmitInst_r(Mips::MTC1_MM, &Mips::FGR32RegClass, Op0, Op0IsKill); 77 return fastEmitInst_r(Mips::MTC1, &Mips::FGR32RegClass, Op0, Op0IsKill); 82 unsigned fastEmit_ISD_BITCAST_MVT_i64_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 86 return fastEmitInst_r(Mips::DMTC1, &Mips::FGR64RegClass, Op0, Op0IsKill); 91 unsigned fastEmit_ISD_BITCAST_MVT_f32_r(MVT RetVT, unsigned Op0, bool Op0IsKill) { 95 return fastEmitInst_r(Mips::MFC1_MMR6, &Mips::GPR32RegClass, Op0, Op0IsKill); 98 return fastEmitInst_r(Mips::MFC1_MM, &Mips::GPR32RegClass, Op0, Op0IsKill); 101 return fastEmitInst_r(Mips::MFC1, &Mips::GPR32RegClass, Op0, Op0IsKill); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 175 if (BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS)) in ExpandBinOp() local 176 if (Op0->getOpcode() == OpcodeToExpand) { in ExpandBinOp() 178 Value *A = Op0->getOperand(0), *B = Op0->getOperand(1), *C = RHS; in ExpandBinOp() 235 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS); in SimplifyAssociativeBinOp() local 239 if (Op0 && Op0->getOpcode() == Opcode) { in SimplifyAssociativeBinOp() 240 Value *A = Op0->getOperand(0); in SimplifyAssociativeBinOp() 241 Value *B = Op0->getOperand(1); in SimplifyAssociativeBinOp() 281 if (Op0 && Op0->getOpcode() == Opcode) { in SimplifyAssociativeBinOp() 282 Value *A = Op0->getOperand(0); in SimplifyAssociativeBinOp() 283 Value *B = Op0->getOperand(1); in SimplifyAssociativeBinOp() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 143 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in visitMul() local 145 BinaryOperator *BO = BinaryOperator::CreateNeg(Op0, I.getName()); in visitMul() 199 if (Op0->hasOneUse()) { in visitMul() 202 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))) in visitMul() 204 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) in visitMul() 223 if (match(Op0, m_OneUse(m_Add(m_Value(X), m_Constant(C1))))) { in visitMul() 235 if (match(Op0, m_Neg(m_Value(X))) && match(Op1, m_Constant(Op1C))) in visitMul() 239 if (match(Op0, m_Neg(m_Value(X))) && match(Op1, m_Neg(m_Value(Y)))) { in visitMul() 242 cast<OverflowingBinaryOperator>(Op0)->hasNoSignedWrap() && in visitMul() 252 BinaryOperator *Div = dyn_cast<BinaryOperator>(Op0); in visitMul() [all …]
|
D | InstCombineShifts.cpp | 25 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in commonShiftTransforms() local 26 assert(Op0->getType() == Op1->getType()); in commonShiftTransforms() 33 if (isa<Constant>(Op0)) in commonShiftTransforms() 39 if (Instruction *Res = FoldShiftByConstant(Op0, CUI, I)) in commonShiftTransforms() 46 if (match(Op0, m_Constant()) && match(Op1, m_Add(m_Value(A), m_Constant(C)))) in commonShiftTransforms() 50 I.getOpcode(), Builder.CreateBinOp(I.getOpcode(), Op0, C), A); in commonShiftTransforms() 347 Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, Constant *Op1, in FoldShiftByConstant() argument 358 canEvaluateShifted(Op0, Op1C->getZExtValue(), isLeftShift, *this, &I)) { in FoldShiftByConstant() 362 << *Op0 << "\n SH: " << I << "\n"); in FoldShiftByConstant() 365 I, getShiftedValue(Op0, Op1C->getZExtValue(), isLeftShift, *this, DL)); in FoldShiftByConstant() [all …]
|
D | InstCombineAndOrXor.cpp | 918 Value *Op0 = LHS->getOperand(0), *Op1 = LHS->getOperand(1); in foldAndOfICmps() local 921 return getNewICmpValue(isSigned, Code, Op0, Op1, Builder); in foldAndOfICmps() 1219 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in foldCastedBitwiseLogic() local 1220 CastInst *Cast0 = dyn_cast<CastInst>(Op0); in foldCastedBitwiseLogic() 1284 Value *Op0 = I.getOperand(0); in foldAndToXor() local 1299 if (Op0->hasOneUse() || Op1->hasOneUse()) in foldAndToXor() 1310 Value *Op0 = I.getOperand(0); in foldOrToXor() local 1317 if (Op0->hasOneUse() || Op1->hasOneUse()) in foldOrToXor() 1318 if (match(Op0, m_And(m_Value(A), m_Value(B))) && in foldOrToXor() 1326 if (match(Op0, m_c_And(m_Value(A), m_Not(m_Value(B)))) && in foldOrToXor() [all …]
|
D | InstCombineAddSub.cpp | 921 Value *Op0 = Add.getOperand(0), *Op1 = Add.getOperand(1); in foldAddWithConstant() local 932 if (match(Op0, m_OneUse(m_Sub(m_Value(X), m_Value(Y)))) && in foldAddWithConstant() 937 if (match(Op0, m_ZExt(m_Value(X))) && in foldAddWithConstant() 942 if (match(Op0, m_Not(m_Value(X)))) in foldAddWithConstant() 953 return BinaryOperator::CreateOr(Op0, Op1); in foldAddWithConstant() 957 return BinaryOperator::CreateXor(Op0, Op1); in foldAddWithConstant() 964 if (match(Op0, m_ZExt(m_Xor(m_Value(X), m_APInt(C2)))) && in foldAddWithConstant() 969 if (match(Op0, m_OneUse(m_ZExt(m_NUWAdd(m_Value(X), m_APInt(C2))))) && in foldAddWithConstant() 976 if (C->isOneValue() && Op0->hasOneUse()) { in foldAddWithConstant() 982 if (match(Op0, m_SExt(m_Value(X))) && in foldAddWithConstant() [all …]
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 149 if (BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS)) in ExpandBinOp() local 150 if (Op0->getOpcode() == OpcodeToExpand) { in ExpandBinOp() 152 Value *A = Op0->getOperand(0), *B = Op0->getOperand(1), *C = RHS; in ExpandBinOp() 208 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS); in SimplifyAssociativeBinOp() local 212 if (Op0 && Op0->getOpcode() == Opcode) { in SimplifyAssociativeBinOp() 213 Value *A = Op0->getOperand(0); in SimplifyAssociativeBinOp() 214 Value *B = Op0->getOperand(1); in SimplifyAssociativeBinOp() 254 if (Op0 && Op0->getOpcode() == Opcode) { in SimplifyAssociativeBinOp() 255 Value *A = Op0->getOperand(0); in SimplifyAssociativeBinOp() 256 Value *B = Op0->getOperand(1); in SimplifyAssociativeBinOp() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 177 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in visitMul() local 182 if (Value *V = SimplifyMulInst(Op0, Op1, DL, TLI, DT, AC)) in visitMul() 190 BinaryOperator *BO = BinaryOperator::CreateNeg(Op0, I.getName()); in visitMul() 252 if (Op0->hasOneUse()) { in visitMul() 255 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))) in visitMul() 257 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) in visitMul() 271 if (SelectInst *SI = dyn_cast<SelectInst>(Op0)) in visitMul() 275 if (isa<PHINode>(Op0)) in visitMul() 283 if (match(Op0, m_OneUse(m_Add(m_Value(X), m_Constant(C1))))) { in visitMul() 293 if (Value *Op0v = dyn_castNegVal(Op0)) { // -X * -Y = X*Y in visitMul() [all …]
|
D | InstCombineAndOrXor.cpp | 878 Value *Op0 = LHS->getOperand(0), *Op1 = LHS->getOperand(1); in FoldAndOfICmps() local 881 return getNewICmpValue(isSigned, Code, Op0, Op1, Builder); in FoldAndOfICmps() 1162 Value *Op0 = I.getOperand(0); in matchDeMorgansLaws() local 1165 if (Value *Op0NotVal = dyn_castNotVal(Op0)) in matchDeMorgansLaws() 1167 if (Op0->hasOneUse() && Op1->hasOneUse()) { in matchDeMorgansLaws() 1179 if (match(Op0, m_OneUse(m_Xor(m_ZExt(m_Value(A)), m_ConstantInt(C1)))) && in matchDeMorgansLaws() 1202 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in foldCastedBitwiseLogic() local 1203 CastInst *Cast0 = dyn_cast<CastInst>(Op0); in foldCastedBitwiseLogic() 1221 if ((match(Op0, m_BitCast(m_Value(BC))) && match(Op1, m_Constant(C)))) { in foldCastedBitwiseLogic() 1283 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in foldBoolSextMaskToSelect() local [all …]
|
D | InstCombineShifts.cpp | 26 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in commonShiftTransforms() local 33 if (isa<Constant>(Op0)) in commonShiftTransforms() 39 if (Instruction *Res = FoldShiftByConstant(Op0, CUI, I)) in commonShiftTransforms() 322 Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, Constant *Op1, in FoldShiftByConstant() argument 340 CanEvaluateShifted(Op0, COp1->getZExtValue(), isLeftShift, *this, &I)) { in FoldShiftByConstant() 342 " to eliminate shift:\n IN: " << *Op0 << "\n SH: " << I <<"\n"); in FoldShiftByConstant() 345 I, GetShiftedValue(Op0, COp1->getZExtValue(), isLeftShift, *this, DL)); in FoldShiftByConstant() 350 uint32_t TypeBits = Op0->getType()->getScalarSizeInBits(); in FoldShiftByConstant() 356 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(Op0)) in FoldShiftByConstant() 363 if (SelectInst *SI = dyn_cast<SelectInst>(Op0)) in FoldShiftByConstant() [all …]
|
D | InstCombineCompares.cpp | 2950 static bool swapMayExposeCSEOpportunities(const Value * Op0, in swapMayExposeCSEOpportunities() argument 2954 if (Op0->getType()->isPointerTy()) in swapMayExposeCSEOpportunities() 2964 for (const User *U : Op0->users()) { in swapMayExposeCSEOpportunities() 2972 if (BinOp->getOperand(Op1Idx) == Op0) { in swapMayExposeCSEOpportunities() 3105 Value *Op0 = I.getOperand(0); in canonicalizeCmpWithConstant() local 3150 return new ICmpInst(NewPred, Op0, ConstantExpr::getAdd(Op1C, OneOrNegOne)); in canonicalizeCmpWithConstant() 3155 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in visitICmpInst() local 3156 unsigned Op0Cplxity = getComplexity(Op0); in visitICmpInst() 3163 (Op0Cplxity == Op1Cplxity && swapMayExposeCSEOpportunities(Op0, Op1))) { in visitICmpInst() 3165 std::swap(Op0, Op1); in visitICmpInst() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 98 Value *operator()(IRBuilder<> &Builder, Value *Op0, Value *Op1, in operator ()() 100 return Builder.CreateFCmp(FCI.getPredicate(), Op0, Op1, Name); in operator ()() 111 Value *operator()(IRBuilder<> &Builder, Value *Op0, Value *Op1, in operator ()() 113 return Builder.CreateICmp(ICI.getPredicate(), Op0, Op1, Name); in operator ()() 124 Value *operator()(IRBuilder<> &Builder, Value *Op0, Value *Op1, in operator ()() 126 return Builder.CreateBinOp(BO.getOpcode(), Op0, Op1, Name); in operator ()() 418 Scatterer Op0 = scatter(&I, I.getOperand(0)); in splitBinary() local 420 assert(Op0.size() == NumElems && "Mismatched binary operation"); in splitBinary() 425 Res[Elem] = Split(Builder, Op0[Elem], Op1[Elem], in splitBinary() 517 Scatterer Op0 = scatter(&SI, SI.getOperand(0)); in visitSelectInst() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 123 Value *Op0 = I.getOperand(0); in convertFCmp() local 130 auto &Sem = Op0->getType()->getFltSemantics(); in convertFCmp() 216 if (CallInst *CI = dyn_cast<CallInst>(Op0)) { in convertFCmp() 222 Op0 = CI->getArgOperand(0); in convertFCmp() 229 converted(&I, Op0, Mask, Worthy); in convertFCmp() 233 Value *Op0 = I.getOperand(0); in convertICmp() local 239 if (auto *Cast = dyn_cast<BitCastInst>(Op0)) { in convertICmp() 259 } else if (auto *CI = dyn_cast<CallInst>(Op0)) { in convertICmp() 288 Value *Op0, *Op1; in convertLogicOp() local 291 std::tie(Op0, Mask0, Worthy0) = ConvertedInsts[cast<Instruction>(I.getOperand(0))]; in convertLogicOp() [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 123 Value *Op0 = I.getOperand(0); in convertFCmp() local 130 auto &Sem = Op0->getType()->getFltSemantics(); in convertFCmp() 216 if (CallInst *CI = dyn_cast<CallInst>(Op0)) { in convertFCmp() 222 Op0 = CI->getArgOperand(0); in convertFCmp() 229 converted(&I, Op0, Mask, Worthy); in convertFCmp() 233 Value *Op0 = I.getOperand(0); in convertICmp() local 239 if (auto *Cast = dyn_cast<BitCastInst>(Op0)) { in convertICmp() 259 } else if (auto *CI = dyn_cast<CallInst>(Op0)) { in convertICmp() 288 Value *Op0, *Op1; in convertLogicOp() local 291 std::tie(Op0, Mask0, Worthy0) = ConvertedInsts[cast<Instruction>(I.getOperand(0))]; in convertLogicOp() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 172 void MachineIRBuilderBase::validateBinaryOp(unsigned Res, unsigned Op0, in validateBinaryOp() argument 177 assert(getMRI()->getType(Res) == getMRI()->getType(Op0) && in validateBinaryOp() 181 MachineInstrBuilder MachineIRBuilderBase::buildGEP(unsigned Res, unsigned Op0, in buildGEP() argument 184 getMRI()->getType(Res) == getMRI()->getType(Op0) && "type mismatch"); in buildGEP() 189 .addUse(Op0) in buildGEP() 194 MachineIRBuilderBase::materializeGEP(unsigned &Res, unsigned Op0, in materializeGEP() argument 200 Res = Op0; in materializeGEP() 204 Res = getMRI()->createGenericVirtualRegister(getMRI()->getType(Op0)); in materializeGEP() 208 return buildGEP(Res, Op0, TmpReg); in materializeGEP() 212 unsigned Op0, in buildPtrMask() argument [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 73 Value *operator()(IRBuilder<> &Builder, Value *Op0, Value *Op1, in operator ()() 75 return Builder.CreateFCmp(FCI.getPredicate(), Op0, Op1, Name); in operator ()() 84 Value *operator()(IRBuilder<> &Builder, Value *Op0, Value *Op1, in operator ()() 86 return Builder.CreateICmp(ICI.getPredicate(), Op0, Op1, Name); in operator ()() 95 Value *operator()(IRBuilder<> &Builder, Value *Op0, Value *Op1, in operator ()() 97 return Builder.CreateBinOp(BO.getOpcode(), Op0, Op1, Name); in operator ()() 384 Scatterer Op0 = scatter(&I, I.getOperand(0)); in splitBinary() local 386 assert(Op0.size() == NumElems && "Mismatched binary operation"); in splitBinary() 391 Res[Elem] = Split(Builder, Op0[Elem], Op1[Elem], in splitBinary() 412 Scatterer Op0 = scatter(&SI, SI.getOperand(0)); in visitSelectInst() local [all …]
|
/external/llvm/lib/CodeGen/GlobalISel/ |
D | MachineIRBuilder.cpp | 73 unsigned Op0, unsigned Op1) { in buildInstr() argument 74 return buildInstr(Opcode, nullptr, Res, Op0, Op1); in buildInstr() 78 unsigned Res, unsigned Op0, in buildInstr() argument 83 .addReg(Op0) in buildInstr() 89 unsigned Op0) { in buildInstr() argument 91 MachineInstrBuilder(getMF(), NewMI).addReg(Res, RegState::Define).addReg(Op0); in buildInstr()
|
/external/llvm/include/llvm/CodeGen/ |
D | FastISel.h | 345 virtual unsigned fastEmit_r(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, 350 virtual unsigned fastEmit_rr(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, 356 virtual unsigned fastEmit_ri(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, 362 virtual unsigned fastEmit_rf(MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0, 369 unsigned Op0, bool Op0IsKill, unsigned Op1, 377 unsigned fastEmit_ri_(MVT VT, unsigned Opcode, unsigned Op0, bool Op0IsKill, 398 const TargetRegisterClass *RC, unsigned Op0, 404 const TargetRegisterClass *RC, unsigned Op0, 410 const TargetRegisterClass *RC, unsigned Op0, 417 const TargetRegisterClass *RC, unsigned Op0, [all …]
|
/external/llvm/lib/Target/AArch64/Utils/ |
D | AArch64BaseInfo.cpp | 93 uint32_t Op0 = 0, Op1 = 0, CRn = 0, CRm = 0, Op2 = 0; in parseGenericRegister() local 95 Ops[1].getAsInteger(10, Op0); in parseGenericRegister() 100 Bits = (Op0 << 14) | (Op1 << 11) | (CRn << 7) | (CRm << 3) | Op2; in parseGenericRegister() 107 uint32_t Op0 = (Bits >> 14) & 0x3; in genericRegisterString() local 113 return "S" + utostr(Op0) + "_" + utostr(Op1) + "_C" + utostr(CRn) + "_C" + in genericRegisterString()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/Utils/ |
D | AArch64BaseInfo.cpp | 122 uint32_t Op0 = 0, Op1 = 0, CRn = 0, CRm = 0, Op2 = 0; in parseGenericRegister() local 124 Ops[1].getAsInteger(10, Op0); in parseGenericRegister() 129 Bits = (Op0 << 14) | (Op1 << 11) | (CRn << 7) | (CRm << 3) | Op2; in parseGenericRegister() 136 uint32_t Op0 = (Bits >> 14) & 0x3; in genericRegisterString() local 142 return "S" + utostr(Op0) + "_" + utostr(Op1) + "_C" + utostr(CRn) + "_C" + in genericRegisterString()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 425 unsigned Op0 = getRegForValue(I->getOperand(0)); in selectBinaryOp() local 426 if (!Op0) // Unhandled operand. Halt "fast" selection and bail. in selectBinaryOp() 448 unsigned ResultReg = fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, in selectBinaryOp() 461 ISDOpcode, Op0, Op0IsKill, CF); in selectBinaryOp() 476 ISDOpcode, Op0, Op0IsKill, Op1, Op1IsKill); in selectBinaryOp() 1298 unsigned Op0 = getRegForValue(I->getOperand(0)); in selectBitCast() local 1299 if (!Op0) // Unhandled operand. Halt "fast" selection and bail. in selectBitCast() 1312 TII.get(TargetOpcode::COPY), ResultReg).addReg(Op0); in selectBitCast() 1318 ResultReg = fastEmit_r(SrcVT, DstVT, ISD::BITCAST, Op0, Op0IsKill); in selectBitCast() 1534 const Value *Op0 = EVI->getOperand(0); in selectExtractValue() local [all …]
|