| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 1221 unsigned IntPredicate, Constant *Ops0, Constant *Ops1, const DataLayout &DL, in ConstantFoldCompareInstOperands() argument 1235 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1258 if (auto *CE1 = dyn_cast<ConstantExpr>(Ops1)) { in ConstantFoldCompareInstOperands() 1288 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1290 Predicate, CE0->getOperand(0), Ops1, DL, TLI); in ConstantFoldCompareInstOperands() 1292 Predicate, CE0->getOperand(1), Ops1, DL, TLI); in ConstantFoldCompareInstOperands() 1310 Ops1->stripAndAccumulateInBoundsConstantOffsets(DL, Offset1); in ConstantFoldCompareInstOperands() 1317 } else if (isa<ConstantExpr>(Ops1)) { in ConstantFoldCompareInstOperands() 1321 return ConstantFoldCompareInstOperands(Predicate, Ops1, Ops0, DL, TLI); in ConstantFoldCompareInstOperands() 1327 Ops1 = FlushFPConstant(Ops1, I, /* IsOutput */ false); in ConstantFoldCompareInstOperands() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | ValueMapperTest.cpp | 80 Metadata *Ops1[] = {T0.get(), ConstantAsMetadata::get(G0.get())}; in TEST() local 81 N1 = MDTuple::get(Context, Ops1); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | NaryReassociate.cpp | 618 SmallVector<const SCEV *, 2> Ops1{BExpr, AExpr}; in tryReassociateMinOrMax() local 620 const SCEV *R1Expr = SE->getMinMaxExpr(SCEVType, Ops1); in tryReassociateMinOrMax()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 135 ArrayRef<Metadata *> Ops1, ArrayRef<Metadata *> Ops2 = None) 136 : MDNode(C, ID, Storage, Ops1, Ops2) { in MDNode() argument 232 unsigned Tag, ArrayRef<Metadata *> Ops1, in GenericDINode() argument 234 : DINode(C, GenericDINodeKind, Storage, Tag, Ops1, Ops2) { in GenericDINode() 3411 ArrayRef<Metadata *> Ops1, ArrayRef<Metadata *> Ops2 = None) 3412 : MDNode(C, ID, Storage, Ops1, Ops2) {
|
| H A D | Metadata.h | 1059 ArrayRef<Metadata *> Ops1, ArrayRef<Metadata *> Ops2 = None);
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | MetadataTest.cpp | 640 Metadata *Ops1[] = {Temp3.get(), nullptr}; in TEST_F() local 641 MDNode *N1 = MDNode::get(Context, Ops1); in TEST_F() 1158 Metadata *Ops1[] = {Empty}; in TEST_F() local 1159 auto *N = GenericDINode::get(Context, 15, Header, Ops1); in TEST_F() 1169 EXPECT_EQ(N, GenericDINode::get(Context, 15, Header, Ops1)); in TEST_F() 1185 EXPECT_EQ(N, GenericDINode::get(Context, 15, Header, Ops1)); in TEST_F() 3243 Metadata *Ops1[] = {CI, CI, Temp.get()}; in TEST_F() local 3246 auto *N1 = MDTuple::get(Context, Ops1); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Metadata.cpp | 542 ArrayRef<Metadata *> Ops1, ArrayRef<Metadata *> Ops2) in MDNode() argument 545 for (Metadata *MD : Ops1) in MDNode()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ScalarEvolutionTest.cpp | 258 SmallVector<const SCEV *, 3> Ops1 = {A, C, B}; in TEST_F() local 265 auto *Mul1 = SE.getMulExpr(Ops1); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 5405 SDValue Ops1[] = { SDValue(Lo, 0), getI16Imm(ImmHi, dl)}; in Select() local 5406 CurDAG->SelectNodeTo(N, PPC::ORIS8, MVT::i64, Ops1); in Select() 5428 SDValue Ops1[] = { SDValue(Lo, 0), getI16Imm(ImmHi, dl)}; in Select() local 5429 CurDAG->SelectNodeTo(N, PPC::XORIS8, MVT::i64, Ops1); in Select()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 40350 SmallVector<SDValue, 2> Ops1; in combineTargetShuffle() local 40364 Op1 = Ops1[M < 4 ? 0 : 1]; in combineTargetShuffle() 46781 SmallVector<SDValue> Ops0, Ops1; in combineHorizOpWithShuffle() local 46797 Ops1.assign({BC1}); in combineHorizOpWithShuffle() 46821 FindShuffleOpAndIdx(ScaledMask1[0], PostShuffle[2], Ops1) && in combineHorizOpWithShuffle() 46822 FindShuffleOpAndIdx(ScaledMask1[1], PostShuffle[3], Ops1)) { in combineHorizOpWithShuffle() 46837 SmallVector<SDValue> Ops0, Ops1; in combineHorizOpWithShuffle() local 46841 !Ops0.empty() && !Ops1.empty() && in combineHorizOpWithShuffle() 46844 all_of(Ops1, in combineHorizOpWithShuffle() 46849 SDValue Op10 = peekThroughBitcasts(Ops1.front()); in combineHorizOpWithShuffle() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIISelLowering.cpp | 12036 const SDValue Ops1[] = { in wrapAddr64Rsrc() local 12044 return DAG.getMachineNode(AMDGPU::REG_SEQUENCE, DL, MVT::v4i32, Ops1); in wrapAddr64Rsrc()
|