Home
last modified time | relevance | path

Searched refs:setOperand (Results 1 – 25 of 189) sorted by relevance

12345678

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dcontrol_flow_ops.h94 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/
DNVPTXLowerAlloca.cpp92 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/
DNVPTXLowerAlloca.cpp92 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/
DAArch64AddressTypePromotion.cpp290 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/
Ddilated_conv.h173 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()
Dsplit_merged_operands.cc99 op->setOperand(index, duplicated_input_op->getResult(0)); in DuplicateValueIfNeeded()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp81 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 …]
DInstructionCombining.cpp269 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 …]
DInstCombineSimplifyDemanded.cpp56 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 …]
DInstCombineMulDivRem.cpp76 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/
DInstCombineSelect.cpp496 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 …]
DInstCombineSimplifyDemanded.cpp44 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 …]
DInstCombineShifts.cpp51 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()
DInstructionCombining.cpp210 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 …]
DInstCombineLoadStoreAlloca.cpp179 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/
DOperandTraits.h111 inline void setOperand(unsigned, VALUECLASS*); \
142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
/external/llvm/include/llvm/IR/
DOperandTraits.h111 inline void setOperand(unsigned, VALUECLASS*); \
142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
DGlobalIndirectSymbol.h43 setOperand(0, Symbol); in setIndirectSymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DOperandTraits.h114 inline void setOperand(unsigned, VALUECLASS*); \
145 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp463 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()
DReassociate.cpp259 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/
DMetadata.cpp473 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/
DMetadata.cpp510 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/
Dtpu_dynamic_layout_pass.cc138 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/
DReassociate.cpp274 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 …]

12345678