| /minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/ |
| H A 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()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | OperandTraits.h | 111 inline void setOperand(unsigned, VALUECLASS*); \ 142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
| H A D | User.h | 93 void setOperand(unsigned i, Value *Val) { in setOperand() function
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 51 I.setOperand(1, Rem); in commonShiftTransforms() 213 I->setOperand(0, GetShiftedValue(I->getOperand(0), NumBits,isLeftShift,IC)); in GetShiftedValue() 214 I->setOperand(1, GetShiftedValue(I->getOperand(1), NumBits,isLeftShift,IC)); in GetShiftedValue() 231 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue() 253 BO->setOperand(1, ConstantInt::get(BO->getType(), in GetShiftedValue() 272 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue() 293 BO->setOperand(1, ConstantInt::get(BO->getType(), in GetShiftedValue() 300 I->setOperand(1, GetShiftedValue(I->getOperand(1), NumBits,isLeftShift,IC)); in GetShiftedValue() 301 I->setOperand(2, GetShiftedValue(I->getOperand(2), NumBits,isLeftShift,IC)); in GetShiftedValue()
|
| H A D | InstCombineSimplifyDemanded.cpp | 45 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); in ShrinkDemandedConstant() 1055 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1073 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1101 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1106 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1139 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts() 1157 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1161 if (TmpV) { I->setOperand(2, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1209 I->setOperand(0, TmpV); in SimplifyDemandedVectorElts() 1243 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() [all …]
|
| H A D | InstCombineSelect.cpp | 532 ICI->setOperand(0, CmpLHS); in visitSelectInstWithICmp() 533 ICI->setOperand(1, CmpRHS); in visitSelectInstWithICmp() 534 SI.setOperand(1, TrueVal); in visitSelectInstWithICmp() 535 SI.setOperand(2, FalseVal); in visitSelectInstWithICmp() 610 SI.setOperand(1, CmpRHS); in visitSelectInstWithICmp() 614 SI.setOperand(2, CmpRHS); in visitSelectInstWithICmp() 1121 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 1129 SI.setOperand(2, FalseSI->getFalseValue()); in visitSelectInst() 1135 SI.setOperand(0, BinaryOperator::getNotArgument(CondVal)); in visitSelectInst() 1136 SI.setOperand(1, FalseVal); in visitSelectInst() [all …]
|
| H A D | InstCombineLoadStoreAlloca.cpp | 174 AI.setOperand(0, V); in visitAllocaInst() 226 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst() 483 LI.setOperand(0, SI->getOperand(2)); in visitLoadInst() 490 LI.setOperand(0, SI->getOperand(1)); in visitLoadInst() 692 SI.setOperand(0, UndefValue::get(Val->getType())); in visitStoreInst()
|
| H A D | InstructionCombining.cpp | 232 I.setOperand(0, A); in SimplifyAssociativeOrCommutative() 233 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 261 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 262 I.setOperand(1, C); in SimplifyAssociativeOrCommutative() 283 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 284 I.setOperand(1, B); in SimplifyAssociativeOrCommutative() 303 I.setOperand(0, B); in SimplifyAssociativeOrCommutative() 304 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 336 I.setOperand(0, New); in SimplifyAssociativeOrCommutative() 337 I.setOperand(1, Folded); in SimplifyAssociativeOrCommutative() [all …]
|
| H A D | InstCombineCompares.cpp | 821 ICI.setOperand(0, DivI->getOperand(0)); // X/1 == X. in FoldICmpDivCst() 992 ICI.setOperand(0, Tmp); in FoldICmpShrCst() 1187 ICI.setOperand(0, CompareVal); in visitICmpInstWithInstAndIntCst() 1348 ICI.setOperand(1, NewCst); in visitICmpInstWithInstAndIntCst() 1354 LHSI->setOperand(1, NewAndCst); in visitICmpInstWithInstAndIntCst() 1355 LHSI->setOperand(0, Shift->getOperand(0)); in visitICmpInstWithInstAndIntCst() 1381 ICI.setOperand(0, NewAnd); in visitICmpInstWithInstAndIntCst() 1419 ICI.setOperand(0, NewAnd); in visitICmpInstWithInstAndIntCst() 1889 ICI.setOperand(0, II->getArgOperand(0)); in visitICmpInstWithInstAndIntCst() 1890 ICI.setOperand(1, Builder->getInt(RHSV.byteSwap())); in visitICmpInstWithInstAndIntCst() [all …]
|
| H A D | InstCombineVectorOps.cpp | 206 EI.setOperand(0, V); in visitExtractElementInst() 255 EI.setOperand(0, IE->getOperand(0)); in visitExtractElementInst() 909 SVI.setOperand(0, SVI.getOperand(1)); in visitShuffleVectorInst() 910 SVI.setOperand(1, UndefValue::get(RHS->getType())); in visitShuffleVectorInst() 911 SVI.setOperand(2, ConstantVector::get(Elts)); in visitShuffleVectorInst()
|
| H A D | InstCombineMulDivRem.cpp | 56 I->setOperand(0, V2); in simplifyValueKnownNonZero() 725 I.setOperand(1, SI->getOperand(NonNullOperand)); in SimplifyDivRemOfSelect() 784 I.setOperand(1, V); in commonIDivTransforms() 1341 I.setOperand(1, V); in commonIRemTransforms() 1421 I.setOperand(1, ConstantInt::get(I.getType(), -*Y)); in visitSRem() 1469 I.setOperand(1, NewRHSV); in visitSRem()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | User.cpp | 34 setOperand(i, To); // Fix it now... in replaceUsesOfWith()
|
| H A D | Metadata.cpp | 402 setOperand(I, MDs[I]); in MDNode() 498 setOperand(I, nullptr); in dropAllReferences() 531 setOperand(Op, New); in handleChangedOperand() 539 setOperand(Op, New); in handleChangedOperand() 564 setOperand(O, nullptr); in handleChangedOperand() 755 setOperand(I, New); in replaceOperandWith() 762 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode 1000 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
|
| H A D | Globals.cpp | 215 this->setOperand(0, cast<Constant>(To)); in replaceUsesOfWithOnConstant() 303 setOperand(0, Aliasee); in setAliasee()
|
| /minix3/external/bsd/llvm/dist/llvm/unittests/IR/ |
| H A D | VerifierTest.cpp | 42 BI->setOperand(0, Zero32); in TEST()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 453 Inst->setOperand(Idx, IncomingVal); in updateOperand() 459 Inst->setOperand(Idx, Mat); in updateOperand() 498 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants() 515 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
|
| H A D | Reassociate.cpp | 395 Neg->setOperand(1, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply() 657 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree() 815 Op->setOperand(0, NewLHS); in RewriteExprTree() 821 Op->setOperand(1, NewRHS); in RewriteExprTree() 846 Op->setOperand(1, NewRHS); in RewriteExprTree() 882 Op->setOperand(0, NewOp); in RewriteExprTree() 937 I->setOperand(0, NegateValue(I->getOperand(0), BI)); in NegateValue() 938 I->setOperand(1, NegateValue(I->getOperand(1), BI)); in NegateValue() 1029 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() 1030 Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() [all …]
|
| H A D | SimplifyCFGPass.cpp | 142 RetBlock->getTerminator()->setOperand(0, RetBlockPHI); in mergeEmptyReturnBlocks()
|
| H A D | SeparateConstOffsetFromGEP.cpp | 536 Ext->setOperand(0, Current); in applyExts() 641 BO->setOperand(OpNo, NextInChain); in removeConstOffset() 883 GEP->setOperand(I, NewIdx); in splitGEP()
|
| H A D | TailRecursionElimination.cpp | 783 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in EliminateRecursiveTailCall() 795 RI->setOperand(0, AccPN); in EliminateRecursiveTailCall()
|
| H A D | LoopIdiomRecognize.cpp | 251 DeadInst->setOperand(op, nullptr); in deleteDeadInstruction() 588 LbCond->setOperand(0, TcDec); in transform() 589 LbCond->setOperand(1, cast<Value>(ConstantInt::get(Ty, 0))); in transform()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXFavorNonGenericAddrSpaces.cpp | 166 MI->setOperand(Idx, Cast->getOperand(0)); in optimizeMemoryInstruction()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | LowerExpectIntrinsic.cpp | 142 CmpI->setOperand(0, ArgValue); in HandleIfExpect()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 1472 Inst->setOperand(Idx, NewVal); in OperandSetter() 1480 Inst->setOperand(Idx, Origin); in undo() 1503 Inst->setOperand(It, UndefValue::get(Val->getType())); in OperandsHider() 1511 Inst->setOperand(It, OriginalValues[It]); in undo() 1647 UseIt->Inst->setOperand(UseIt->Idx, Inst); in undo() 1706 void setOperand(Instruction *Inst, unsigned Idx, Value *NewVal); 1729 void TypePromotionTransaction::setOperand(Instruction *Inst, unsigned Idx, in setOperand() function in __anon2960da4b0211::TypePromotionTransaction 2195 TPT.setOperand(SExt, 0, SExtOpnd->getOperand(0)); in promoteOperandForTruncAndAnyExt() 2244 TPT.setOperand(Ext, 0, ExtOpnd); in promoteOperandForOther() 2279 TPT.setOperand(ExtOpnd, OpIdx, ConstantInt::get(Ext->getType(), CstVal)); in promoteOperandForOther() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/XCore/ |
| H A D | XCoreLowerThreadLocal.cpp | 143 PN->setOperand(I, NewInst); in replaceConstantExprOp()
|