/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 434 ICI->setOperand(0, CmpLHS); in visitSelectInstWithICmp() 435 ICI->setOperand(1, CmpRHS); in visitSelectInstWithICmp() 436 SI.setOperand(1, TrueVal); in visitSelectInstWithICmp() 437 SI.setOperand(2, FalseVal); in visitSelectInstWithICmp() 504 SI.setOperand(1, CmpRHS); in visitSelectInstWithICmp() 508 SI.setOperand(2, CmpRHS); in visitSelectInstWithICmp() 878 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 884 SI.setOperand(2, FalseSI->getFalseValue()); in visitSelectInst() 890 SI.setOperand(0, BinaryOperator::getNotArgument(CondVal)); in visitSelectInst() 891 SI.setOperand(1, FalseVal); in visitSelectInst() [all …]
|
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 | InstCombineLoadStoreAlloca.cpp | 99 AI.setOperand(0, V); in visitAllocaInst() 307 LI.setOperand(0, SI->getOperand(2)); in visitLoadInst() 314 LI.setOperand(0, SI->getOperand(1)); in visitLoadInst() 404 SI.setOperand(0, NewCast); in InstCombineStoreToCast() 405 SI.setOperand(1, CastOp); in InstCombineStoreToCast() 522 SI.setOperand(0, UndefValue::get(Val->getType())); in visitStoreInst()
|
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() 1034 I->setOperand(0, TmpV); in SimplifyDemandedVectorElts() 1068 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1071 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts()
|
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() 586 I.setOperand(1, V); in commonIRemTransforms() 672 I.setOperand(1, RHSNeg); in visitSRem() 718 I.setOperand(1, NewRHSV); in visitSRem()
|
D | InstructionCombining.cpp | 201 I.setOperand(0, A); in SimplifyAssociativeOrCommutative() 202 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 230 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 231 I.setOperand(1, C); in SimplifyAssociativeOrCommutative() 252 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 253 I.setOperand(1, B); in SimplifyAssociativeOrCommutative() 272 I.setOperand(0, B); in SimplifyAssociativeOrCommutative() 273 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 299 I.setOperand(0, New); in SimplifyAssociativeOrCommutative() 300 I.setOperand(1, Folded); in SimplifyAssociativeOrCommutative() [all …]
|
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 | 794 ICI.setOperand(0, DivI->getOperand(0)); // X/1 == X. in FoldICmpDivCst() 965 ICI.setOperand(0, Tmp); in FoldICmpShrCst() 1056 ICI.setOperand(0, CompareVal); in visitICmpInstWithInstAndIntCst() 1192 ICI.setOperand(1, NewCst); in visitICmpInstWithInstAndIntCst() 1198 LHSI->setOperand(1, NewAndCST); in visitICmpInstWithInstAndIntCst() 1199 LHSI->setOperand(0, Shift->getOperand(0)); in visitICmpInstWithInstAndIntCst() 1225 ICI.setOperand(0, NewAnd); in visitICmpInstWithInstAndIntCst() 1511 ICI.setOperand(0, II->getArgOperand(0)); in visitICmpInstWithInstAndIntCst() 1512 ICI.setOperand(1, ConstantInt::get(II->getContext(), RHSV.byteSwap())); in visitICmpInstWithInstAndIntCst() 1519 ICI.setOperand(0, II->getArgOperand(0)); in visitICmpInstWithInstAndIntCst() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 243 I->setOperand(1, RHS->getOperand(0)); in LinearizeExpr() 244 RHS->setOperand(0, LHS); in LinearizeExpr() 245 I->setOperand(0, RHS); in LinearizeExpr() 302 I->setOperand(0, UndefValue::get(I->getType())); in LinearizeExprTree() 303 I->setOperand(1, UndefValue::get(I->getType())); in LinearizeExprTree() 338 I->setOperand(1, UndefValue::get(I->getType())); in LinearizeExprTree() 352 I->setOperand(0, Ops[i].Op); in RewriteExprTree() 353 I->setOperand(1, Ops[i+1].Op); in RewriteExprTree() 374 I->setOperand(1, Ops[i].Op); in RewriteExprTree() 418 I->setOperand(0, NegateValue(I->getOperand(0), BI)); in NegateValue() [all …]
|
D | TailRecursionElimination.cpp | 559 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in EliminateRecursiveTailCall() 571 RI->setOperand(0, AccPN); in EliminateRecursiveTailCall()
|
D | SimplifyCFGPass.cpp | 270 RetBlock->getTerminator()->setOperand(0, RetBlockPHI); in MergeEmptyReturnBlocks()
|
D | JumpThreading.cpp | 1281 BO->setOperand(!isLHS, SplitVal); in ProcessBranchOnXOR() 1390 New->setOperand(i, I->second); in ThreadEdge() 1532 New->setOperand(i, I->second); in DuplicateCondBranchOnPHIIntoPred()
|
/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 | 1242 void setArgOperand(unsigned i, Value *v) { setOperand(i, v); } 2050 setOperand(i, V); 2577 SI->setOperand(2 + Index*2, reinterpret_cast<Value*>(V)); 2602 void setCondition(Value *V) { setOperand(0, V); } 2609 setOperand(1, reinterpret_cast<Value*>(DefaultCase)); 2704 setOperand(idx*2+1, (Value*)NewSucc); 2779 void setAddress(Value *V) { setOperand(0, V); } 2803 setOperand(i+1, (Value*)NewSucc); 2883 void setArgOperand(unsigned i, Value *v) { setOperand(i, v); }
|
/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() 2438 setOperand(OperandToUpdate, ToC); in replaceUsesOfWithOnConstant() 2442 setOperand(i, ToC); in replaceUsesOfWithOnConstant() 2519 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 | 274 EI->setOperand(0, AI); in lowerIncomingArguments() 275 NI->setOperand(0, AI); in lowerIncomingArguments() 291 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 | 138 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 | 139 UseInst->setOperand(OperIdx, IVSrc); in foldIVUser()
|
/external/llvm/include/llvm/Support/ |
D | CallSite.h | 120 getInstruction()->setOperand(ArgNo, newVal); in setArgument()
|