| /freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineShifts.cpp | 49 I.setOperand(1, Rem); in commonShiftTransforms() 207 I->setOperand(0, GetShiftedValue(I->getOperand(0), NumBits,isLeftShift,IC)); in GetShiftedValue() 208 I->setOperand(1, GetShiftedValue(I->getOperand(1), NumBits,isLeftShift,IC)); in GetShiftedValue() 225 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue() 247 BO->setOperand(1, ConstantInt::get(BO->getType(), in GetShiftedValue() 266 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue() 287 BO->setOperand(1, ConstantInt::get(BO->getType(), in GetShiftedValue() 294 I->setOperand(1, GetShiftedValue(I->getOperand(1), NumBits,isLeftShift,IC)); in GetShiftedValue() 295 I->setOperand(2, GetShiftedValue(I->getOperand(2), NumBits,isLeftShift,IC)); in GetShiftedValue() 340 I.setOperand(1, ConstantInt::get(I.getType(), TypeBits-1)); in FoldShiftByConstant()
|
| D | InstCombineSimplifyDemanded.cpp | 44 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); in ShrinkDemandedConstant() 1007 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1025 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1053 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1058 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1091 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts() 1109 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1113 if (TmpV) { I->setOperand(2, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1161 I->setOperand(0, TmpV); in SimplifyDemandedVectorElts() 1195 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() [all …]
|
| D | InstCombineSelect.cpp | 507 ICI->setOperand(0, CmpLHS); in visitSelectInstWithICmp() 508 ICI->setOperand(1, CmpRHS); in visitSelectInstWithICmp() 509 SI.setOperand(1, TrueVal); in visitSelectInstWithICmp() 510 SI.setOperand(2, FalseVal); in visitSelectInstWithICmp() 577 SI.setOperand(1, CmpRHS); in visitSelectInstWithICmp() 581 SI.setOperand(2, CmpRHS); in visitSelectInstWithICmp() 962 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 970 SI.setOperand(2, FalseSI->getFalseValue()); in visitSelectInst() 976 SI.setOperand(0, BinaryOperator::getNotArgument(CondVal)); in visitSelectInst() 977 SI.setOperand(1, FalseVal); in visitSelectInst() [all …]
|
| D | InstCombineLoadStoreAlloca.cpp | 161 AI.setOperand(0, V); in visitAllocaInst() 213 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst() 435 LI.setOperand(0, SI->getOperand(2)); in visitLoadInst() 442 LI.setOperand(0, SI->getOperand(1)); in visitLoadInst() 532 SI.setOperand(0, NewCast); in InstCombineStoreToCast() 533 SI.setOperand(1, CastOp); in InstCombineStoreToCast() 650 SI.setOperand(0, UndefValue::get(Val->getType())); in visitStoreInst()
|
| D | InstructionCombining.cpp | 226 I.setOperand(0, A); in SimplifyAssociativeOrCommutative() 227 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 255 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 256 I.setOperand(1, C); in SimplifyAssociativeOrCommutative() 277 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 278 I.setOperand(1, B); in SimplifyAssociativeOrCommutative() 297 I.setOperand(0, B); in SimplifyAssociativeOrCommutative() 298 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 324 I.setOperand(0, New); in SimplifyAssociativeOrCommutative() 325 I.setOperand(1, Folded); in SimplifyAssociativeOrCommutative() [all …]
|
| D | InstCombineCompares.cpp | 831 ICI.setOperand(0, DivI->getOperand(0)); // X/1 == X. in FoldICmpDivCst() 1002 ICI.setOperand(0, Tmp); in FoldICmpShrCst() 1092 ICI.setOperand(0, CompareVal); in visitICmpInstWithInstAndIntCst() 1244 ICI.setOperand(1, NewCst); in visitICmpInstWithInstAndIntCst() 1250 LHSI->setOperand(1, NewAndCST); in visitICmpInstWithInstAndIntCst() 1251 LHSI->setOperand(0, Shift->getOperand(0)); in visitICmpInstWithInstAndIntCst() 1277 ICI.setOperand(0, NewAnd); in visitICmpInstWithInstAndIntCst() 1753 ICI.setOperand(0, II->getArgOperand(0)); in visitICmpInstWithInstAndIntCst() 1754 ICI.setOperand(1, Builder->getInt(RHSV.byteSwap())); in visitICmpInstWithInstAndIntCst() 1761 ICI.setOperand(0, II->getArgOperand(0)); in visitICmpInstWithInstAndIntCst() [all …]
|
| D | InstCombineVectorOps.cpp | 204 EI.setOperand(0, V); in visitExtractElementInst() 253 EI.setOperand(0, IE->getOperand(0)); in visitExtractElementInst() 833 SVI.setOperand(0, SVI.getOperand(1)); in visitShuffleVectorInst() 834 SVI.setOperand(1, UndefValue::get(RHS->getType())); in visitShuffleVectorInst() 835 SVI.setOperand(2, ConstantVector::get(Elts)); in visitShuffleVectorInst()
|
| D | InstCombineMulDivRem.cpp | 52 I->setOperand(0, V2); in simplifyValueKnownNonZero() 619 I.setOperand(1, SI->getOperand(NonNullOperand)); in SimplifyDivRemOfSelect() 678 I.setOperand(1, V); in commonIDivTransforms() 1118 I.setOperand(1, V); in commonIRemTransforms() 1193 I.setOperand(1, RHSNeg); in visitSRem() 1239 I.setOperand(1, NewRHSV); in visitSRem()
|
| /freebsd-9-stable/contrib/llvm/include/llvm/IR/ |
| D | OperandTraits.h | 111 inline void setOperand(unsigned, VALUECLASS*); \ 142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
| D | User.h | 92 void setOperand(unsigned i, Value *Val) { in setOperand() function
|
| D | Instructions.h | 1246 void setArgOperand(unsigned i, Value *v) { setOperand(i, v); } 2063 setOperand(i, V); 2586 SI->setOperand(2 + Index*2, reinterpret_cast<Value*>(V)); 2611 void setCondition(Value *V) { setOperand(0, V); } 2618 setOperand(1, reinterpret_cast<Value*>(DefaultCase)); 2713 setOperand(idx*2+1, (Value*)NewSucc); 2787 void setAddress(Value *V) { setOperand(0, V); } 2811 setOperand(i+1, (Value*)NewSucc); 2890 void setArgOperand(unsigned i, Value *v) { setOperand(i, v); }
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/ |
| D | Reassociate.cpp | 324 Neg->setOperand(1, Constant::getNullValue(Neg->getType())); // Drop use of op. in LowerNegateToMultiply() 586 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree() 741 Op->setOperand(0, NewLHS); in RewriteExprTree() 747 Op->setOperand(1, NewRHS); in RewriteExprTree() 772 Op->setOperand(1, NewRHS); in RewriteExprTree() 806 Op->setOperand(0, NewOp); in RewriteExprTree() 851 I->setOperand(0, NegateValue(I->getOperand(0), BI)); in NegateValue() 852 I->setOperand(1, NegateValue(I->getOperand(1), BI)); in NegateValue() 937 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() 938 Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() [all …]
|
| D | SimplifyCFGPass.cpp | 131 RetBlock->getTerminator()->setOperand(0, RetBlockPHI); in mergeEmptyReturnBlocks()
|
| D | TailRecursionElimination.cpp | 596 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in EliminateRecursiveTailCall() 608 RI->setOperand(0, AccPN); in EliminateRecursiveTailCall()
|
| D | LoopIdiomRecognize.cpp | 247 DeadInst->setOperand(op, 0); in deleteDeadInstruction() 590 LbCond->setOperand(0, TcDec); in transform() 591 LbCond->setOperand(1, cast<Value>(ConstantInt::get(Ty, 0))); in transform()
|
| /freebsd-9-stable/contrib/llvm/lib/IR/ |
| D | Globals.cpp | 163 this->setOperand(0, cast<Constant>(To)); in replaceUsesOfWithOnConstant() 229 setOperand(0, Aliasee); in setAliasee()
|
| D | User.cpp | 37 setOperand(i, To); // Fix it now... in replaceUsesOfWith()
|
| D | Constants.cpp | 1371 setOperand(0, F); in BlockAddress() 1372 setOperand(1, BB); in BlockAddress() 1409 setOperand(0, NewF); in replaceUsesOfWithOnConstant() 1410 setOperand(1, NewBB); in replaceUsesOfWithOnConstant() 2625 setOperand(OperandToUpdate, ToC); in replaceUsesOfWithOnConstant() 2629 setOperand(i, ToC); in replaceUsesOfWithOnConstant() 2706 setOperand(OperandToUpdate, ToC); in replaceUsesOfWithOnConstant()
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/ |
| D | SjLjEHPrepare.cpp | 261 EI->setOperand(0, AI); in lowerIncomingArguments() 262 NI->setOperand(0, AI); in lowerIncomingArguments() 277 NC->setOperand(0, AI); in lowerIncomingArguments()
|
| /freebsd-9-stable/contrib/llvm/lib/Transforms/Utils/ |
| D | LowerInvoke.cpp | 300 EI->setOperand(0, AI); in splitLiveRangesLiveAcrossInvokes() 301 NI->setOperand(0, AI); in splitLiveRangesLiveAcrossInvokes() 315 NC->setOperand(0, AI); in splitLiveRangesLiveAcrossInvokes()
|
| D | LowerExpectIntrinsic.cpp | 130 CmpI->setOperand(0, ArgValue); in HandleIfExpect()
|
| D | InlineFunction.cpp | 483 DVI->setOperand(2, createInlinedVariable(DVI->getVariable(), in fixupLineNumbers() 819 Br->setOperand(0, FirstNewBlock); in InlineFunction()
|
| D | SimplifyIndVar.cpp | 137 UseInst->setOperand(OperIdx, IVSrc); in foldIVUser()
|
| /freebsd-9-stable/contrib/llvm/include/llvm/Support/ |
| D | CallSite.h | 119 getInstruction()->setOperand(ArgNo, newVal); in setArgument()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/XCore/ |
| D | XCoreLowerThreadLocal.cpp | 146 PN->setOperand(I, NewInst); in replaceConstantExprOp()
|