/external/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 | InstCombineSelect.cpp | 440 ICI->setOperand(0, CmpLHS); in visitSelectInstWithICmp() 441 ICI->setOperand(1, CmpRHS); in visitSelectInstWithICmp() 442 SI.setOperand(1, TrueVal); in visitSelectInstWithICmp() 443 SI.setOperand(2, FalseVal); in visitSelectInstWithICmp() 510 SI.setOperand(1, CmpRHS); in visitSelectInstWithICmp() 514 SI.setOperand(2, CmpRHS); in visitSelectInstWithICmp() 886 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 894 SI.setOperand(2, FalseSI->getFalseValue()); in visitSelectInst() 900 SI.setOperand(0, BinaryOperator::getNotArgument(CondVal)); in visitSelectInst() 901 SI.setOperand(1, FalseVal); in visitSelectInst() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 43 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); in ShrinkDemandedConstant() 903 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 921 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 949 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 954 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 987 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts() 1005 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1009 if (TmpV) { I->setOperand(2, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1057 I->setOperand(0, TmpV); in SimplifyDemandedVectorElts() 1091 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() [all …]
|
D | InstCombineLoadStoreAlloca.cpp | 180 AI.setOperand(0, V); in visitAllocaInst() 231 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst() 442 LI.setOperand(0, SI->getOperand(2)); in visitLoadInst() 449 LI.setOperand(0, SI->getOperand(1)); in visitLoadInst() 539 SI.setOperand(0, NewCast); in InstCombineStoreToCast() 540 SI.setOperand(1, CastOp); in InstCombineStoreToCast() 657 SI.setOperand(0, UndefValue::get(Val->getType())); in visitStoreInst()
|
D | InstructionCombining.cpp | 205 I.setOperand(0, A); in SimplifyAssociativeOrCommutative() 206 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 234 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 235 I.setOperand(1, C); in SimplifyAssociativeOrCommutative() 256 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 257 I.setOperand(1, B); in SimplifyAssociativeOrCommutative() 276 I.setOperand(0, B); in SimplifyAssociativeOrCommutative() 277 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 303 I.setOperand(0, New); in SimplifyAssociativeOrCommutative() 304 I.setOperand(1, Folded); in SimplifyAssociativeOrCommutative() [all …]
|
D | InstCombineMulDivRem.cpp | 53 I->setOperand(0, V2); in simplifyValueKnownNonZero() 311 I.setOperand(1, SI->getOperand(NonNullOperand)); in SimplifyDivRemOfSelect() 371 I.setOperand(1, V); in commonIDivTransforms() 599 I.setOperand(1, V); in commonIRemTransforms() 685 I.setOperand(1, RHSNeg); in visitSRem() 731 I.setOperand(1, NewRHSV); in visitSRem()
|
D | InstCombineVectorOps.cpp | 126 EI.setOperand(0, V); in visitExtractElementInst() 167 EI.setOperand(0, IE->getOperand(0)); in visitExtractElementInst() 463 SVI.setOperand(0, SVI.getOperand(1)); in visitShuffleVectorInst() 464 SVI.setOperand(1, UndefValue::get(RHS->getType())); in visitShuffleVectorInst() 465 SVI.setOperand(2, ConstantVector::get(Elts)); in visitShuffleVectorInst()
|
D | InstCombineCompares.cpp | 795 ICI.setOperand(0, DivI->getOperand(0)); // X/1 == X. in FoldICmpDivCst() 966 ICI.setOperand(0, Tmp); in FoldICmpShrCst() 1057 ICI.setOperand(0, CompareVal); in visitICmpInstWithInstAndIntCst() 1193 ICI.setOperand(1, NewCst); in visitICmpInstWithInstAndIntCst() 1199 LHSI->setOperand(1, NewAndCST); in visitICmpInstWithInstAndIntCst() 1200 LHSI->setOperand(0, Shift->getOperand(0)); in visitICmpInstWithInstAndIntCst() 1226 ICI.setOperand(0, NewAnd); in visitICmpInstWithInstAndIntCst() 1512 ICI.setOperand(0, II->getArgOperand(0)); in visitICmpInstWithInstAndIntCst() 1513 ICI.setOperand(1, ConstantInt::get(II->getContext(), RHSV.byteSwap())); in visitICmpInstWithInstAndIntCst() 1520 ICI.setOperand(0, II->getArgOperand(0)); in visitICmpInstWithInstAndIntCst() [all …]
|
/external/llvm/include/llvm/ |
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 | 1244 void setArgOperand(unsigned i, Value *v) { setOperand(i, v); } 2057 setOperand(i, V); 2534 void setCondition(Value *V) { setOperand(0, V); } 2541 setOperand(1, reinterpret_cast<Value*>(DefaultCase)); 2643 setOperand(idx*2+1, (Value*)NewSucc); 2796 SI->setOperand(2 + Index*2, reinterpret_cast<Value*>((Constant*)V)); 2903 void setAddress(Value *V) { setOperand(0, V); } 2927 setOperand(i+1, (Value*)NewSucc); 3007 void setArgOperand(unsigned i, Value *v) { setOperand(i, v); }
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 245 Neg->setOperand(1, Constant::getNullValue(Neg->getType())); // Drop use of op. in LowerNegateToMultiply() 550 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree() 708 Op->setOperand(0, NewLHS); in RewriteExprTree() 713 Op->setOperand(1, NewRHS); in RewriteExprTree() 737 Op->setOperand(1, NewRHS); in RewriteExprTree() 770 Op->setOperand(0, NewOp); in RewriteExprTree() 815 I->setOperand(0, NegateValue(I->getOperand(0), BI)); in NegateValue() 816 I->setOperand(1, NegateValue(I->getOperand(1), BI)); in NegateValue() 901 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() 902 Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() [all …]
|
D | TailRecursionElimination.cpp | 559 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in EliminateRecursiveTailCall() 571 RI->setOperand(0, AccPN); in EliminateRecursiveTailCall()
|
D | SimplifyCFGPass.cpp | 280 RetBlock->getTerminator()->setOperand(0, RetBlockPHI); in mergeEmptyReturnBlocks()
|
D | JumpThreading.cpp | 1283 BO->setOperand(!isLHS, SplitVal); in ProcessBranchOnXOR() 1392 New->setOperand(i, I->second); in ThreadEdge() 1534 New->setOperand(i, I->second); in DuplicateCondBranchOnPHIIntoPred()
|
/external/llvm/lib/VMCore/ |
D | Globals.cpp | 157 this->setOperand(0, cast<Constant>(To)); in replaceUsesOfWithOnConstant() 223 setOperand(0, Aliasee); in setAliasee()
|
D | User.cpp | 36 setOperand(i, To); // Fix it now... in replaceUsesOfWith()
|
D | Constants.cpp | 1288 setOperand(0, F); in BlockAddress() 1289 setOperand(1, BB); in BlockAddress() 1326 setOperand(0, NewF); in replaceUsesOfWithOnConstant() 1327 setOperand(1, NewBB); in replaceUsesOfWithOnConstant() 2507 setOperand(OperandToUpdate, ToC); in replaceUsesOfWithOnConstant() 2511 setOperand(i, ToC); in replaceUsesOfWithOnConstant() 2588 setOperand(OperandToUpdate, ToC); in replaceUsesOfWithOnConstant()
|
/external/llvm/unittests/VMCore/ |
D | VerifierTest.cpp | 42 BI->setOperand(0, Zero32); in TEST()
|
/external/llvm/lib/CodeGen/ |
D | SjLjEHPrepare.cpp | 259 EI->setOperand(0, AI); in lowerIncomingArguments() 260 NI->setOperand(0, AI); in lowerIncomingArguments() 276 NC->setOperand(0, AI); in lowerIncomingArguments()
|
/external/llvm/lib/Transforms/Utils/ |
D | LowerInvoke.cpp | 303 EI->setOperand(0, AI); in splitLiveRangesLiveAcrossInvokes() 304 NI->setOperand(0, AI); in splitLiveRangesLiveAcrossInvokes() 318 NC->setOperand(0, AI); in splitLiveRangesLiveAcrossInvokes()
|
D | LowerExpectIntrinsic.cpp | 130 CmpI->setOperand(0, ArgValue); in HandleIfExpect()
|
D | InlineFunction.cpp | 472 DVI->setOperand(2, createInlinedVariable(DVI->getVariable(), in fixupLineNumbers() 786 Br->setOperand(0, FirstNewBlock); in InlineFunction()
|
D | SimplifyIndVar.cpp | 137 UseInst->setOperand(OperIdx, IVSrc); in foldIVUser()
|
/external/llvm/include/llvm/Support/ |
D | CallSite.h | 120 getInstruction()->setOperand(ArgNo, newVal); in setArgument()
|