/external/llvm/lib/Target/AArch64/ |
D | AArch64AddressTypePromotion.cpp | 291 User->setOperand(U.getOperandNo(), SExt); in propagateSignExtension() 294 SExt->setOperand(0, Inst->getOperand(0)); in propagateSignExtension() 324 Inst->setOperand(OpIdx, ConstantInt::getSigned(SExt->getType(), in propagateSignExtension() 331 Inst->setOperand(OpIdx, UndefValue::get(SExt->getType())); in propagateSignExtension() 339 SExtForOpnd->setOperand(0, Opnd); in propagateSignExtension() 344 Inst->setOperand(OpIdx, SExtForOpnd); in propagateSignExtension()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 588 ICI->setOperand(0, CmpLHS); in visitSelectInstWithICmp() 589 ICI->setOperand(1, CmpRHS); in visitSelectInstWithICmp() 590 SI.setOperand(1, TrueVal); in visitSelectInstWithICmp() 591 SI.setOperand(2, FalseVal); in visitSelectInstWithICmp() 666 SI.setOperand(1, CmpRHS); in visitSelectInstWithICmp() 670 SI.setOperand(2, CmpRHS); in visitSelectInstWithICmp() 1211 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 1219 SI.setOperand(0, And); in visitSelectInst() 1220 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 1231 SI.setOperand(2, FalseSI->getFalseValue()); in visitSelectInst() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 44 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); in ShrinkDemandedConstant() 1051 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1069 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1097 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1102 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1135 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts() 1153 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1157 if (TmpV) { I->setOperand(2, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1205 I->setOperand(0, TmpV); in SimplifyDemandedVectorElts() 1239 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() [all …]
|
D | InstCombineShifts.cpp | 51 I.setOperand(1, Rem); in commonShiftTransforms() 212 I->setOperand( in GetShiftedValue() 214 I->setOperand( in GetShiftedValue() 232 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue() 254 BO->setOperand(1, ConstantInt::get(BO->getType(), in GetShiftedValue() 273 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue() 294 BO->setOperand(1, ConstantInt::get(BO->getType(), in GetShiftedValue() 301 I->setOperand( in GetShiftedValue() 303 I->setOperand( in GetShiftedValue()
|
D | InstCombineLoadStoreAlloca.cpp | 176 AI.setOperand(0, V); in simplifyAllocaArraySize() 216 AI.setOperand(0, V); in simplifyAllocaArraySize() 240 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst() 664 NewGEPI->setOperand(Idx, in replaceGEPIdxWithZero() 667 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI); in replaceGEPIdxWithZero() 768 LI.setOperand(0, SI->getOperand(2)); in visitLoadInst() 775 LI.setOperand(0, SI->getOperand(1)); in visitLoadInst() 971 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() 309 I.setOperand(0, New); in SimplifyAssociativeOrCommutative() 310 I.setOperand(1, Folded); in SimplifyAssociativeOrCommutative() [all …]
|
D | InstCombineCompares.cpp | 812 ICI.setOperand(0, DivI->getOperand(0)); // X/1 == X. in FoldICmpDivCst() 983 ICI.setOperand(0, Tmp); in FoldICmpShrCst() 1178 ICI.setOperand(0, CompareVal); in visitICmpInstWithInstAndIntCst() 1339 ICI.setOperand(1, NewCst); in visitICmpInstWithInstAndIntCst() 1345 LHSI->setOperand(1, NewAndCst); in visitICmpInstWithInstAndIntCst() 1346 LHSI->setOperand(0, Shift->getOperand(0)); in visitICmpInstWithInstAndIntCst() 1372 ICI.setOperand(0, NewAnd); in visitICmpInstWithInstAndIntCst() 1410 ICI.setOperand(0, NewAnd); in visitICmpInstWithInstAndIntCst() 1880 ICI.setOperand(0, II->getArgOperand(0)); in visitICmpInstWithInstAndIntCst() 1881 ICI.setOperand(1, Builder->getInt(RHSV.byteSwap())); in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineVectorOps.cpp | 207 EI.setOperand(0, V); in visitExtractElementInst() 256 EI.setOperand(0, IE->getOperand(0)); in visitExtractElementInst() 932 SVI.setOperand(0, SVI.getOperand(1)); in visitShuffleVectorInst() 933 SVI.setOperand(1, UndefValue::get(RHS->getType())); in visitShuffleVectorInst() 934 SVI.setOperand(2, ConstantVector::get(Elts)); in visitShuffleVectorInst()
|
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() 1342 I.setOperand(1, V); in commonIRemTransforms() 1422 I.setOperand(1, ConstantInt::get(I.getType(), -*Y)); in visitSRem() 1470 I.setOperand(1, NewRHSV); in visitSRem()
|
/external/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 | 91 void setOperand(unsigned i, Value *Val) { in setOperand() function
|
D | Instructions.h | 1374 void setArgOperand(unsigned i, Value *v) { setOperand(i, v); } 2229 setOperand(i, V); 2757 SI->setOperand(2 + Index*2, reinterpret_cast<Value*>(V)); 2783 void setCondition(Value *V) { setOperand(0, V); } 2790 setOperand(1, reinterpret_cast<Value*>(DefaultCase)); 2896 setOperand(idx*2+1, (Value*)NewSucc); 2970 void setAddress(Value *V) { setOperand(0, V); } 2994 setOperand(i+1, (Value*)NewSucc); 3073 void setArgOperand(unsigned i, Value *v) { setOperand(i, v); }
|
/external/llvm/lib/IR/ |
D | Metadata.cpp | 406 setOperand(Op++, MD); in MDNode() 408 setOperand(Op++, MD); in MDNode() 564 setOperand(I, nullptr); in dropAllReferences() 577 setOperand(Op, New); in handleChangedOperand() 585 setOperand(Op, New); in handleChangedOperand() 610 setOperand(O, nullptr); in handleChangedOperand() 733 setOperand(I, New); in replaceOperandWith() 740 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode 958 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
|
D | User.cpp | 34 setOperand(i, To); // Fix it now... in replaceUsesOfWith()
|
D | Globals.cpp | 211 this->setOperand(0, cast<Constant>(To)); in replaceUsesOfWithOnConstant() 299 setOperand(0, Aliasee); in setAliasee()
|
D | ConstantsContext.h | 619 CP->setOperand(OperandNo, To); 623 CP->setOperand(I, To);
|
/external/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 457 Inst->setOperand(Idx, IncomingVal); in updateOperand() 463 Inst->setOperand(Idx, Mat); in updateOperand() 502 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants() 519 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
|
D | Reassociate.cpp | 393 Neg->setOperand(1, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply() 655 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree() 813 Op->setOperand(0, NewLHS); in RewriteExprTree() 819 Op->setOperand(1, NewRHS); in RewriteExprTree() 844 Op->setOperand(1, NewRHS); in RewriteExprTree() 880 Op->setOperand(0, NewOp); in RewriteExprTree() 938 I->setOperand(0, NegateValue(I->getOperand(0), BI)); in NegateValue() 939 I->setOperand(1, NegateValue(I->getOperand(1), BI)); in NegateValue() 1030 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() 1031 Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() [all …]
|
D | SeparateConstOffsetFromGEP.cpp | 521 Ext->setOperand(0, Current); in applyExts() 626 BO->setOperand(OpNo, NextInChain); in removeConstOffset() 874 GEP->setOperand(I, NewIdx); in splitGEP()
|
D | LowerExpectIntrinsic.cpp | 123 CmpI->setOperand(0, ArgValue); in handleBranchExpect()
|
D | SimplifyCFGPass.cpp | 113 RetBlock->getTerminator()->setOperand(0, RetBlockPHI); in mergeEmptyReturnBlocks()
|
D | TailRecursionElimination.cpp | 766 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in EliminateRecursiveTailCall() 778 RI->setOperand(0, AccPN); in EliminateRecursiveTailCall()
|
/external/llvm/unittests/IR/ |
D | VerifierTest.cpp | 42 BI->setOperand(0, Zero32); in TEST()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 164 MI->setOperand(Idx, Cast->getOperand(0)); in optimizeMemoryInstruction()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1714 Inst->setOperand(Idx, NewVal); in OperandSetter() 1722 Inst->setOperand(Idx, Origin); in undo() 1745 Inst->setOperand(It, UndefValue::get(Val->getType())); in OperandsHider() 1753 Inst->setOperand(It, OriginalValues[It]); in undo() 1889 UseIt->Inst->setOperand(UseIt->Idx, Inst); in undo() 1948 void setOperand(Instruction *Inst, unsigned Idx, Value *NewVal); 1971 void TypePromotionTransaction::setOperand(Instruction *Inst, unsigned Idx, in setOperand() function in __anonebd7bfba0211::TypePromotionTransaction 2444 TPT.setOperand(SExt, 0, SExtOpnd->getOperand(0)); in promoteOperandForTruncAndAnyExt() 2497 TPT.setOperand(Ext, 0, ExtOpnd); in promoteOperandForOther() 2532 TPT.setOperand(ExtOpnd, OpIdx, ConstantInt::get(Ext->getType(), CstVal)); in promoteOperandForOther() [all …]
|