/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAlloca.cpp | 92 LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 97 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 102 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 107 BI->setOperand(0, NewASCToGeneric); in runOnBasicBlock()
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAlloca.cpp | 93 LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction() 99 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction() 104 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction() 109 BI->setOperand(0, NewASCToGeneric); in runOnFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAlloca.cpp | 93 LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction() 99 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction() 104 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction() 109 BI->setOperand(0, NewASCToGeneric); in runOnFunction()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64AddressTypePromotion.cpp | 290 User->setOperand(U.getOperandNo(), SExt); in propagateSignExtension() 293 SExt->setOperand(0, Inst->getOperand(0)); in propagateSignExtension() 323 Inst->setOperand(OpIdx, ConstantInt::getSigned(SExt->getType(), in propagateSignExtension() 330 Inst->setOperand(OpIdx, UndefValue::get(SExt->getType())); in propagateSignExtension() 338 SExtForOpnd->setOperand(0, Opnd); in propagateSignExtension() 343 Inst->setOperand(OpIdx, SExtForOpnd); in propagateSignExtension()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | layout_optimization.cc | 56 transpose.setOperand(0, operand->get()); in ReuseExistingTranspose() 57 transpose.setOperand(1, permutation_op); in ReuseExistingTranspose() 174 op->setOperand( in runOnFunction() 187 transposed_res.setOperand(0, result); in runOnFunction() 407 transpose.setOperand(0, result); in MoveTransposeAfter() 408 transpose.setOperand(1, permutation_op); in MoveTransposeAfter() 416 transpose.setOperand(0, result); in MoveTransposeAfter()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 496 ICI->setOperand(0, CmpLHS); in visitSelectInstWithICmp() 497 ICI->setOperand(1, CmpRHS); in visitSelectInstWithICmp() 498 SI.setOperand(1, TrueVal); in visitSelectInstWithICmp() 499 SI.setOperand(2, FalseVal); in visitSelectInstWithICmp() 547 SI.setOperand(1, CmpRHS); in visitSelectInstWithICmp() 551 SI.setOperand(2, CmpRHS); in visitSelectInstWithICmp() 1193 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 1201 SI.setOperand(0, And); in visitSelectInst() 1202 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 1213 SI.setOperand(2, FalseSI->getFalseValue()); in visitSelectInst() [all …]
|
D | InstCombineShifts.cpp | 51 I.setOperand(1, Rem); in commonShiftTransforms() 211 I->setOperand( in GetShiftedValue() 213 I->setOperand( in GetShiftedValue() 231 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue() 253 BO->setOperand(1, ConstantInt::get(BO->getType(), in GetShiftedValue() 274 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue() 295 BO->setOperand(1, ConstantInt::get(BO->getType(), in GetShiftedValue() 302 I->setOperand( in GetShiftedValue() 304 I->setOperand( in GetShiftedValue()
|
D | InstCombineSimplifyDemanded.cpp | 44 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); in ShrinkDemandedConstant() 997 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1015 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1043 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1048 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1081 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts() 1105 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1109 if (TmpV) { I->setOperand(2, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1154 I->setOperand(0, TmpV); in SimplifyDemandedVectorElts() 1190 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() [all …]
|
D | InstructionCombining.cpp | 210 I.setOperand(0, A); in SimplifyAssociativeOrCommutative() 211 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 239 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 240 I.setOperand(1, C); in SimplifyAssociativeOrCommutative() 261 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 262 I.setOperand(1, B); in SimplifyAssociativeOrCommutative() 281 I.setOperand(0, B); in SimplifyAssociativeOrCommutative() 282 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 314 I.setOperand(0, New); in SimplifyAssociativeOrCommutative() 315 I.setOperand(1, Folded); in SimplifyAssociativeOrCommutative() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | DivRemPairs.cpp | 320 DivInst->setOperand(0, FrX); in optimizeDivRem() 321 Sub->setOperand(0, FrX); in optimizeDivRem() 327 DivInst->setOperand(1, FrY); in optimizeDivRem() 328 Mul->setOperand(1, FrY); in optimizeDivRem()
|
D | TailRecursionElimination.cpp | 641 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in eliminateCall() 713 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize() 716 RI->setOperand(0, AccRecInstrNew); in cleanupAndFinalize() 730 RI->setOperand(0, SI); in cleanupAndFinalize() 740 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN, in cleanupAndFinalize()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | dilated_conv.h | 265 expand_op.setOperand(0, stb_op.input()); in matchAndRewrite() 290 biasadd_op.setOperand(0, squeeze_op.output()); in matchAndRewrite() 294 if (biasadd_op) biasadd_op.setOperand(0, op.output()); in matchAndRewrite() 295 op.setOperand(0, stb_op.input()); in matchAndRewrite()
|
/external/llvm/include/llvm/IR/ |
D | OperandTraits.h | 111 inline void setOperand(unsigned, VALUECLASS*); \ 142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | OperandTraits.h | 111 inline void setOperand(unsigned, VALUECLASS*); \ 142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | OperandTraits.h | 113 inline void setOperand(unsigned, VALUECLASS*); \ 144 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | OperandTraits.h | 113 inline void setOperand(unsigned, VALUECLASS*); \ 144 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAtomicRMW.cpp | 141 RMWI.setOperand(1, ConstantInt::get(RMWI.getType(), 0)); in visitAtomicRMWInst() 146 RMWI.setOperand(1, ConstantFP::getNegativeZero(RMWI.getType())); in visitAtomicRMWInst()
|
D | InstCombineSelect.cpp | 110 Sel.setOperand(IsEq ? 1 : 2, Y); in foldSelectBinOpIdentity() 979 Cmp.setOperand(0, CmpLHS); in adjustMinMax() 980 Cmp.setOperand(1, CmpRHS); in adjustMinMax() 981 Sel.setOperand(1, TrueVal); in adjustMinMax() 982 Sel.setOperand(2, FalseVal); in adjustMinMax() 1084 Cmp.setOperand(1, ConstantInt::getNullValue(Cmp.getOperand(0)->getType())); in canonicalizeAbsNabs() 1086 Cmp.setOperand(0, LHS); in canonicalizeAbsNabs() 1429 SI.setOperand(1, CmpRHS); in foldSelectInstWithICmp() 1433 SI.setOperand(2, CmpRHS); in foldSelectInstWithICmp() 2368 SI.setOperand(1, FalseVal); in visitSelectInst() [all …]
|
D | InstructionCombining.cpp | 303 Cast->setOperand(0, BinOp2->getOperand(0)); in simplifyAssocCastAssoc() 304 BinOp1->setOperand(1, FoldedC); in simplifyAssocCastAssoc() 353 I.setOperand(0, A); in SimplifyAssociativeOrCommutative() 354 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 386 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 387 I.setOperand(1, C); in SimplifyAssociativeOrCommutative() 414 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 415 I.setOperand(1, B); in SimplifyAssociativeOrCommutative() 434 I.setOperand(0, B); in SimplifyAssociativeOrCommutative() 435 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() [all …]
|
D | InstCombineMulDivRem.cpp | 75 I->setOperand(0, V2); in simplifyValueKnownNonZero() 595 I.setOperand(1, SI->getOperand(NonNullOperand)); in simplifyDivRemOfSelectWithZeroOp() 687 I.setOperand(1, V); in commonIDivTransforms() 803 I.setOperand(0, ConstantInt::get(Ty, 1)); in commonIDivTransforms() 804 I.setOperand(1, Y); in commonIDivTransforms() 1280 I.setOperand(0, X); in visitFDiv() 1281 I.setOperand(1, Y); in visitFDiv() 1290 I.setOperand(0, ConstantFP::get(I.getType(), 1.0)); in visitFDiv() 1291 I.setOperand(1, Y); in visitFDiv() 1318 I.setOperand(1, V); in commonIRemTransforms() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 463 Inst->setOperand(Idx, IncomingVal); in updateOperand() 469 Inst->setOperand(Idx, Mat); in updateOperand() 509 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants() 526 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
|
/external/llvm-project/llvm/unittests/Transforms/Vectorize/ |
D | VPlanTest.cpp | 90 TEST(VPInstructionTest, setOperand) { in TEST() argument 101 I1->setOperand(0, VPV3); in TEST() 109 I1->setOperand(1, VPV3); in TEST() 118 I1->setOperand(0, VPV4); in TEST() 124 I1->setOperand(1, VPV4); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Metadata.cpp | 511 setOperand(Op++, MD); in MDNode() 513 setOperand(Op++, MD); in MDNode() 693 setOperand(I, nullptr); in dropAllReferences() 706 setOperand(Op, New); in handleChangedOperand() 714 setOperand(Op, New); in handleChangedOperand() 739 setOperand(O, nullptr); in handleChangedOperand() 865 setOperand(I, New); in replaceOperandWith() 872 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode 1090 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
|
/external/llvm/lib/IR/ |
D | Metadata.cpp | 473 setOperand(Op++, MD); in MDNode() 475 setOperand(Op++, MD); in MDNode() 655 setOperand(I, nullptr); in dropAllReferences() 668 setOperand(Op, New); in handleChangedOperand() 676 setOperand(Op, New); in handleChangedOperand() 701 setOperand(O, nullptr); in handleChangedOperand() 827 setOperand(I, New); in replaceOperandWith() 834 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode 1063 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
|
/external/llvm-project/llvm/lib/IR/ |
D | Metadata.cpp | 512 setOperand(Op++, MD); in MDNode() 514 setOperand(Op++, MD); in MDNode() 691 setOperand(I, nullptr); in dropAllReferences() 704 setOperand(Op, New); in handleChangedOperand() 712 setOperand(Op, New); in handleChangedOperand() 737 setOperand(O, nullptr); in handleChangedOperand() 863 setOperand(I, New); in replaceOperandWith() 870 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode 1113 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
|