/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | control_flow_ops.h | 94 void setData(Value value) { setOperand(0, value); } in setData() 176 void setData(Value value) { setOperand(0, value); } in setData() 206 void setData(Value value) { setOperand(0, value); } in setData() 237 void setData(Value value) { setOperand(0, value); } in setData() 240 void setPredicate(Value value) { setOperand(1, value); } in setPredicate() 270 void setData(Value value) { setOperand(0, value); } in setData()
|
/external/swiftshader/third_party/llvm-7.0/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/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/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/lite/transforms/ |
D | dilated_conv.h | 173 expand_op.setOperand(0, stb_op.input()); in matchAndRewrite() 187 biasadd_op.setOperand(0, squeeze_op.output()); in matchAndRewrite() 190 if (biasadd_op) biasadd_op.setOperand(0, op.output()); in matchAndRewrite() 191 op.setOperand(0, stb_op.input()); in matchAndRewrite()
|
D | split_merged_operands.cc | 99 op->setOperand(index, duplicated_input_op->getResult(0)); in DuplicateValueIfNeeded()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 81 Sel.setOperand(IsEq ? 1 : 2, Z); in foldSelectBinOpIdentity() 774 Cmp.setOperand(0, CmpLHS); in adjustMinMax() 775 Cmp.setOperand(1, CmpRHS); in adjustMinMax() 776 Sel.setOperand(1, TrueVal); in adjustMinMax() 777 Sel.setOperand(2, FalseVal); in adjustMinMax() 874 Cmp.setOperand(1, ConstantInt::getNullValue(Cmp.getOperand(0)->getType())); in canonicalizeAbsNabs() 876 Cmp.setOperand(0, LHS); in canonicalizeAbsNabs() 934 SI.setOperand(1, CmpRHS); in foldSelectInstWithICmp() 938 SI.setOperand(2, CmpRHS); in foldSelectInstWithICmp() 1545 SI.setOperand(1, FalseVal); in visitSelectInst() [all …]
|
D | InstructionCombining.cpp | 269 Cast->setOperand(0, BinOp2->getOperand(0)); in simplifyAssocCastAssoc() 270 BinOp1->setOperand(1, FoldedC); in simplifyAssocCastAssoc() 319 I.setOperand(0, A); in SimplifyAssociativeOrCommutative() 320 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 348 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 349 I.setOperand(1, C); in SimplifyAssociativeOrCommutative() 376 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 377 I.setOperand(1, B); in SimplifyAssociativeOrCommutative() 396 I.setOperand(0, B); in SimplifyAssociativeOrCommutative() 397 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 56 I->setOperand(OpNo, ConstantInt::get(Op->getType(), *C & Demanded)); in ShrinkDemandedConstant() 1127 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1139 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1174 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1179 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1257 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts() 1281 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1285 if (TmpV) { I->setOperand(2, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1329 I->setOperand(0, TmpV); in SimplifyDemandedVectorElts() 1365 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() [all …]
|
D | InstCombineMulDivRem.cpp | 76 I->setOperand(0, V2); in simplifyValueKnownNonZero() 572 I.setOperand(1, SI->getOperand(NonNullOperand)); in simplifyDivRemOfSelectWithZeroOp() 664 I.setOperand(1, V); in commonIDivTransforms() 780 I.setOperand(0, ConstantInt::get(Ty, 1)); in commonIDivTransforms() 781 I.setOperand(1, Y); in commonIDivTransforms() 1240 I.setOperand(0, X); in visitFDiv() 1241 I.setOperand(1, Y); in visitFDiv() 1250 I.setOperand(0, ConstantFP::get(I.getType(), 1.0)); in visitFDiv() 1251 I.setOperand(1, Y); in visitFDiv() 1267 I.setOperand(1, V); in commonIRemTransforms() [all …]
|
/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 | 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 | 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 | 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 …]
|
D | InstCombineLoadStoreAlloca.cpp | 179 AI.setOperand(0, V); in simplifyAllocaArraySize() 219 AI.setOperand(0, V); in simplifyAllocaArraySize() 243 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst() 778 NewGEPI->setOperand(Idx, in replaceGEPIdxWithZero() 781 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI); in replaceGEPIdxWithZero() 905 LI.setOperand(0, SI->getOperand(2)); in visitLoadInst() 912 LI.setOperand(0, SI->getOperand(1)); in visitLoadInst() 1244 SI.setOperand(0, UndefValue::get(Val->getType())); in visitStoreInst()
|
/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/llvm/include/llvm/IR/ |
D | OperandTraits.h | 111 inline void setOperand(unsigned, VALUECLASS*); \ 142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
D | GlobalIndirectSymbol.h | 43 setOperand(0, Symbol); in setIndirectSymbol()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | OperandTraits.h | 114 inline void setOperand(unsigned, VALUECLASS*); \ 145 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
/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()
|
D | Reassociate.cpp | 259 Neg->setOperand(1, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply() 521 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree() 679 Op->setOperand(0, NewLHS); in RewriteExprTree() 685 Op->setOperand(1, NewRHS); in RewriteExprTree() 710 Op->setOperand(1, NewRHS); in RewriteExprTree() 746 Op->setOperand(0, NewOp); in RewriteExprTree() 808 I->setOperand(0, NegateValue(I->getOperand(0), BI, ToRedo)); in NegateValue() 809 I->setOperand(1, NegateValue(I->getOperand(1), BI, ToRedo)); in NegateValue() 915 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() 916 Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() [all …]
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Metadata.cpp | 510 setOperand(Op++, MD); in MDNode() 512 setOperand(Op++, MD); in MDNode() 692 setOperand(I, nullptr); in dropAllReferences() 705 setOperand(Op, New); in handleChangedOperand() 713 setOperand(Op, New); in handleChangedOperand() 738 setOperand(O, nullptr); in handleChangedOperand() 864 setOperand(I, New); in replaceOperandWith() 871 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode 1089 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | tpu_dynamic_layout_pass.cc | 138 execute.setOperand(index, copy_with_layout); in HandleInput() 164 replicate.setOperand(num_replicas * replicate_arg_index + entry.index(), in HandleReplicatedInputs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 274 Neg->setOperand(1, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply() 537 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree() 696 Op->setOperand(0, NewLHS); in RewriteExprTree() 702 Op->setOperand(1, NewRHS); in RewriteExprTree() 727 Op->setOperand(1, NewRHS); in RewriteExprTree() 763 Op->setOperand(0, NewOp); in RewriteExprTree() 795 DII->setOperand(0, MetadataAsValue::get(DII->getContext(), in RewriteExprTree() 833 I->setOperand(0, NegateValue(I->getOperand(0), BI, ToRedo)); in NegateValue() 834 I->setOperand(1, NegateValue(I->getOperand(1), BI, ToRedo)); in NegateValue() 939 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() [all …]
|