Home
last modified time | relevance | path

Searched refs:Op0 (Results 1 – 25 of 148) sorted by relevance

123456

/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86GenFastISel.inc18 unsigned FastEmit_ISD_ANY_EXTEND_MVT_i8_MVT_i32_r(unsigned Op0, bool Op0IsKill) {
19 return FastEmitInst_r(X86::MOVZX32rr8, X86::GR32RegisterClass, Op0, Op0IsKill);
22 unsigned FastEmit_ISD_ANY_EXTEND_MVT_i8_MVT_i64_r(unsigned Op0, bool Op0IsKill) {
23 return FastEmitInst_r(X86::MOVZX64rr8, X86::GR64RegisterClass, Op0, Op0IsKill);
26 unsigned FastEmit_ISD_ANY_EXTEND_MVT_i8_r(MVT RetVT, unsigned Op0, bool Op0IsKill) {
28 case MVT::i32: return FastEmit_ISD_ANY_EXTEND_MVT_i8_MVT_i32_r(Op0, Op0IsKill);
29 case MVT::i64: return FastEmit_ISD_ANY_EXTEND_MVT_i8_MVT_i64_r(Op0, Op0IsKill);
34 unsigned FastEmit_ISD_ANY_EXTEND_MVT_i16_r(MVT RetVT, unsigned Op0, bool Op0IsKill) {
37 return FastEmitInst_r(X86::MOVZX64rr16, X86::GR64RegisterClass, Op0, Op0IsKill);
40 unsigned FastEmit_ISD_ANY_EXTEND_r(MVT VT, MVT RetVT, unsigned Op0, bool Op0IsKill) {
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp105 if (BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS)) in ExpandBinOp() local
106 if (Op0->getOpcode() == OpcodeToExpand) { in ExpandBinOp()
108 Value *A = Op0->getOperand(0), *B = Op0->getOperand(1), *C = RHS; in ExpandBinOp()
167 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS); in FactorizeBinOp() local
170 if (!Op0 || Op0->getOpcode() != OpcodeToExtract || in FactorizeBinOp()
175 Value *A = Op0->getOperand(0), *B = Op0->getOperand(1); in FactorizeBinOp()
240 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS); in SimplifyAssociativeBinOp() local
244 if (Op0 && Op0->getOpcode() == Opcode) { in SimplifyAssociativeBinOp()
245 Value *A = Op0->getOperand(0); in SimplifyAssociativeBinOp()
246 Value *B = Op0->getOperand(1); in SimplifyAssociativeBinOp()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp101 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in visitMul() local
103 if (Value *V = SimplifyMulInst(Op0, Op1, TD)) in visitMul()
110 return BinaryOperator::CreateNeg(Op0, I.getName()); in visitMul()
115 if (BinaryOperator *SI = dyn_cast<BinaryOperator>(Op0)) in visitMul()
123 Constant *NewCst = ConstantInt::get(Op0->getType(), Val.logBase2()); in visitMul()
124 BinaryOperator *Shl = BinaryOperator::CreateShl(Op0, NewCst); in visitMul()
132 if (Op0->hasOneUse() && in visitMul()
133 match(Op0, m_Add(m_Value(X), m_ConstantInt(C1)))) { in visitMul()
147 if (Op0->hasOneUse()) { in visitMul()
150 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))) in visitMul()
[all …]
DInstCombineAndOrXor.cpp728 Value *Op0 = LHS->getOperand(0), *Op1 = LHS->getOperand(1); in FoldAndOfICmps() local
731 return getICmpValue(isSigned, Code, Op0, Op1, Builder); in FoldAndOfICmps()
1035 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in visitAnd() local
1037 if (Value *V = SimplifyAndInst(Op0, Op1, TD)) in visitAnd()
1053 if (BinaryOperator *Op0I = dyn_cast<BinaryOperator>(Op0)) { in visitAnd()
1132 if (match(Op0, m_Trunc(m_And(m_Value(X), m_ConstantInt(YC))))) { in visitAnd()
1145 if (SelectInst *SI = dyn_cast<SelectInst>(Op0)) in visitAnd()
1148 if (isa<PHINode>(Op0)) in visitAnd()
1155 if (Value *Op0NotVal = dyn_castNotVal(Op0)) in visitAnd()
1157 if (Op0->hasOneUse() && Op1->hasOneUse()) { in visitAnd()
[all …]
DInstCombineShifts.cpp24 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in commonShiftTransforms() local
31 if (isa<Constant>(Op0)) in commonShiftTransforms()
37 if (Instruction *Res = FoldShiftByConstant(Op0, CUI, I)) in commonShiftTransforms()
311 Instruction *InstCombiner::FoldShiftByConstant(Value *Op0, ConstantInt *Op1, in FoldShiftByConstant() argument
319 CanEvaluateShifted(Op0, Op1->getZExtValue(), isLeftShift, *this)) { in FoldShiftByConstant()
321 " to eliminate shift:\n IN: " << *Op0 << "\n SH: " << I <<"\n"); in FoldShiftByConstant()
324 GetShiftedValue(Op0, Op1->getZExtValue(), isLeftShift, *this)); in FoldShiftByConstant()
330 uint32_t TypeBits = Op0->getType()->getScalarSizeInBits(); in FoldShiftByConstant()
337 return ReplaceInstUsesWith(I, Constant::getNullValue(Op0->getType())); in FoldShiftByConstant()
344 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(Op0)) in FoldShiftByConstant()
[all …]
DInstCombineAddSub.cpp530 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in visitSub() local
532 if (Value *V = SimplifySubInst(Op0, Op1, I.hasNoSignedWrap(), in visitSub()
542 BinaryOperator *Res = BinaryOperator::CreateAdd(Op0, V); in visitSub()
549 return BinaryOperator::CreateXor(Op0, Op1); in visitSub()
552 if (match(Op0, m_AllOnes())) in visitSub()
555 if (ConstantInt *C = dyn_cast<ConstantInt>(Op0)) { in visitSub()
595 if (match(Op1, m_Add(m_Specific(Op0), m_Value(Y))) || in visitSub()
596 match(Op1, m_Add(m_Value(Y), m_Specific(Op0)))) in visitSub()
600 if (match(Op0, m_Sub(m_Specific(Op1), m_Value(Y)))) in visitSub()
611 return BinaryOperator::CreateAdd(Op0, in visitSub()
[all …]
DInstCombineCompares.cpp1776 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in visitICmpInst() local
1781 if (getComplexity(Op0) < getComplexity(Op1)) { in visitICmpInst()
1783 std::swap(Op0, Op1); in visitICmpInst()
1787 if (Value *V = SimplifyICmpInst(I.getPredicate(), Op0, Op1, TD)) in visitICmpInst()
1790 Type *Ty = Op0->getType(); in visitICmpInst()
1797 Value *Xor = Builder->CreateXor(Op0, Op1, I.getName()+"tmp"); in visitICmpInst()
1801 return BinaryOperator::CreateXor(Op0, Op1); in visitICmpInst()
1804 std::swap(Op0, Op1); // Change icmp ugt -> icmp ult in visitICmpInst()
1807 Value *Not = Builder->CreateNot(Op0, I.getName()+"tmp"); in visitICmpInst()
1811 std::swap(Op0, Op1); // Change icmp sgt -> icmp slt in visitICmpInst()
[all …]
DInstructionCombining.cpp183 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(I.getOperand(0)); in SimplifyAssociativeOrCommutative() local
188 if (Op0 && Op0->getOpcode() == Opcode) { in SimplifyAssociativeOrCommutative()
189 Value *A = Op0->getOperand(0); in SimplifyAssociativeOrCommutative()
190 Value *B = Op0->getOperand(1); in SimplifyAssociativeOrCommutative()
201 (!Op0 || (isa<BinaryOperator>(Op0) && Op0->hasNoSignedWrap()))) { in SimplifyAssociativeOrCommutative()
239 if (Op0 && Op0->getOpcode() == Opcode) { in SimplifyAssociativeOrCommutative()
240 Value *A = Op0->getOperand(0); in SimplifyAssociativeOrCommutative()
241 Value *B = Op0->getOperand(1); in SimplifyAssociativeOrCommutative()
280 if (Op0 && Op1 && in SimplifyAssociativeOrCommutative()
281 Op0->getOpcode() == Opcode && Op1->getOpcode() == Opcode && in SimplifyAssociativeOrCommutative()
[all …]
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp149 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/
DInstCombineMulDivRem.cpp177 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 …]
DInstCombineAndOrXor.cpp878 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 …]
DInstCombineShifts.cpp26 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 …]
DInstCombineCompares.cpp2950 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 …]
DInstCombineAddSub.cpp1473 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); in visitSub() local
1478 if (Value *V = SimplifySubInst(Op0, Op1, I.hasNoSignedWrap(), in visitSub()
1488 BinaryOperator *Res = BinaryOperator::CreateAdd(Op0, V); in visitSub()
1504 return BinaryOperator::CreateXor(Op0, Op1); in visitSub()
1507 if (match(Op0, m_AllOnes())) in visitSub()
1510 if (Constant *C = dyn_cast<Constant>(Op0)) { in visitSub()
1540 if (ConstantInt *C = dyn_cast<ConstantInt>(Op0)) { in visitSub()
1574 if (match(Op1, m_Add(m_Specific(Op0), m_Value(Y))) || in visitSub()
1575 match(Op1, m_Add(m_Value(Y), m_Specific(Op0)))) in visitSub()
1579 if (match(Op0, m_Sub(m_Specific(Op1), m_Value(Y)))) in visitSub()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DFastISel.h168 unsigned Op0, bool Op0IsKill);
177 unsigned Op0, bool Op0IsKill,
187 unsigned Op0, bool Op0IsKill,
197 unsigned Op0, bool Op0IsKill,
207 unsigned Op0, bool Op0IsKill,
217 unsigned Op0, bool Op0IsKill,
247 unsigned Op0, bool Op0IsKill);
254 unsigned Op0, bool Op0IsKill,
262 unsigned Op0, bool Op0IsKill,
271 unsigned Op0, bool Op0IsKill,
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUISelDAGToDAG.cpp270 SDValue Op0, Op1; in SelectInlineAsmMemoryOperand() local
274 if (!SelectDFormAddr(Op.getNode(), Op, Op0, Op1) in SelectInlineAsmMemoryOperand()
275 && !SelectAFormAddr(Op.getNode(), Op, Op0, Op1)) in SelectInlineAsmMemoryOperand()
276 SelectXFormAddr(Op.getNode(), Op, Op0, Op1); in SelectInlineAsmMemoryOperand()
279 if (!SelectDFormAddr(Op.getNode(), Op, Op0, Op1) in SelectInlineAsmMemoryOperand()
280 && !SelectAFormAddr(Op.getNode(), Op, Op0, Op1)) { in SelectInlineAsmMemoryOperand()
281 Op0 = Op; in SelectInlineAsmMemoryOperand()
289 SelectAddrIdxOnly(Op, Op, Op0, Op1); in SelectInlineAsmMemoryOperand()
294 OutOps.push_back(Op0); in SelectInlineAsmMemoryOperand()
347 SDValue Op0 = N.getOperand(0); in SelectAFormAddr() local
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp123 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/lib/CodeGen/SelectionDAG/
DFastISel.cpp362 unsigned Op0 = getRegForValue(I->getOperand(0)); in SelectBinaryOp() local
363 if (Op0 == 0) // Unhandled operand. Halt "fast" selection and bail. in SelectBinaryOp()
380 unsigned ResultReg = FastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, in SelectBinaryOp()
392 ISDOpcode, Op0, Op0IsKill, CF); in SelectBinaryOp()
410 Op0, Op0IsKill, in SelectBinaryOp()
719 unsigned Op0 = getRegForValue(I->getOperand(0)); in SelectBitCast() local
720 if (Op0 == 0) in SelectBitCast()
735 ResultReg).addReg(Op0); in SelectBitCast()
742 ISD::BITCAST, Op0, Op0IsKill); in SelectBitCast()
853 const Value *Op0 = EVI->getOperand(0); in SelectExtractValue() local
[all …]
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp73 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/
DMachineIRBuilder.cpp73 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/
DFastISel.h345 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/
DAArch64BaseInfo.cpp93 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/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp425 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 …]
/external/llvm/lib/IR/
DAutoUpgrade.cpp512 Value *Op0, Value *Op1) { in EmitX86Select() argument
516 return Op0; in EmitX86Select()
518 Mask = getX86MaskVec(Builder, Mask, Op0->getType()->getVectorNumElements()); in EmitX86Select()
519 return Builder.CreateSelect(Mask, Op0, Op1); in EmitX86Select()
523 Value *Op0, Value *Op1, Value *Shift, in UpgradeX86PALIGNRIntrinsics() argument
527 unsigned NumElts = Op0->getType()->getVectorNumElements(); in UpgradeX86PALIGNRIntrinsics()
533 return llvm::Constant::getNullValue(Op0->getType()); in UpgradeX86PALIGNRIntrinsics()
539 Op1 = Op0; in UpgradeX86PALIGNRIntrinsics()
540 Op0 = llvm::Constant::getNullValue(Op0->getType()); in UpgradeX86PALIGNRIntrinsics()
554 Value *Align = Builder.CreateShuffleVector(Op1, Op0, in UpgradeX86PALIGNRIntrinsics()
[all …]
/external/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h116 unsigned Op0, unsigned Op1);
125 MachineInstr *buildInstr(unsigned Opcode, unsigned Res, unsigned Op0,
134 MachineInstr *buildInstr(unsigned Opcode, unsigned Res, unsigned Op0);

123456