/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAlloca.cpp | 89 LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 94 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 99 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 104 BI->setOperand(0, NewASCToGeneric); in runOnBasicBlock()
|
D | NVPTXLowerKernelArgs.cpp | 189 PtrInGlobal->setOperand(0, Ptr); in markPointerAsGlobal()
|
D | NVPTXFavorNonGenericAddrSpaces.cpp | 261 MI->setOperand(Idx, ASC->getOperand(0)); in optimizeMemoryInstruction()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64AddressTypePromotion.cpp | 293 User->setOperand(U.getOperandNo(), SExt); in propagateSignExtension() 296 SExt->setOperand(0, Inst->getOperand(0)); in propagateSignExtension() 326 Inst->setOperand(OpIdx, ConstantInt::getSigned(SExt->getType(), in propagateSignExtension() 333 Inst->setOperand(OpIdx, UndefValue::get(SExt->getType())); in propagateSignExtension() 341 SExtForOpnd->setOperand(0, Opnd); in propagateSignExtension() 346 Inst->setOperand(OpIdx, SExtForOpnd); in propagateSignExtension()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 485 ICI->setOperand(0, CmpLHS); in visitSelectInstWithICmp() 486 ICI->setOperand(1, CmpRHS); in visitSelectInstWithICmp() 487 SI.setOperand(1, TrueVal); in visitSelectInstWithICmp() 488 SI.setOperand(2, FalseVal); in visitSelectInstWithICmp() 536 SI.setOperand(1, CmpRHS); in visitSelectInstWithICmp() 540 SI.setOperand(2, CmpRHS); in visitSelectInstWithICmp() 1158 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 1166 SI.setOperand(0, And); in visitSelectInst() 1167 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 1178 SI.setOperand(2, FalseSI->getFalseValue()); in visitSelectInst() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 45 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); in ShrinkDemandedConstant() 967 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 985 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1013 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1018 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1051 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts() 1075 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1079 if (TmpV) { I->setOperand(2, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1124 I->setOperand(0, TmpV); in SimplifyDemandedVectorElts() 1160 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 | 177 AI.setOperand(0, V); in simplifyAllocaArraySize() 217 AI.setOperand(0, V); in simplifyAllocaArraySize() 241 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst() 745 NewGEPI->setOperand(Idx, in replaceGEPIdxWithZero() 748 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI); in replaceGEPIdxWithZero() 867 LI.setOperand(0, SI->getOperand(2)); in visitLoadInst() 874 LI.setOperand(0, SI->getOperand(1)); in visitLoadInst() 1107 SI.setOperand(0, UndefValue::get(Val->getType())); in visitStoreInst()
|
D | InstructionCombining.cpp | 214 I.setOperand(0, A); in SimplifyAssociativeOrCommutative() 215 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 243 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 244 I.setOperand(1, C); in SimplifyAssociativeOrCommutative() 265 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 266 I.setOperand(1, B); in SimplifyAssociativeOrCommutative() 285 I.setOperand(0, B); in SimplifyAssociativeOrCommutative() 286 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 318 I.setOperand(0, New); in SimplifyAssociativeOrCommutative() 319 I.setOperand(1, Folded); in SimplifyAssociativeOrCommutative() [all …]
|
D | InstCombineCompares.cpp | 882 ICI.setOperand(0, DivI->getOperand(0)); // X/1 == X. in FoldICmpDivCst() 1052 ICI.setOperand(0, Tmp); in FoldICmpShrCst() 1258 ICI.setOperand(0, CompareVal); in visitICmpInstWithInstAndIntCst() 1419 ICI.setOperand(1, NewCst); in visitICmpInstWithInstAndIntCst() 1425 LHSI->setOperand(1, NewAndCst); in visitICmpInstWithInstAndIntCst() 1426 LHSI->setOperand(0, Shift->getOperand(0)); in visitICmpInstWithInstAndIntCst() 1452 ICI.setOperand(0, NewAnd); in visitICmpInstWithInstAndIntCst() 1490 ICI.setOperand(0, NewAnd); in visitICmpInstWithInstAndIntCst() 1986 ICI.setOperand(0, II->getArgOperand(0)); in visitICmpInstWithInstAndIntCst() 1987 ICI.setOperand(1, Builder->getInt(RHSV.byteSwap())); in visitICmpInstWithInstAndIntCst() [all …]
|
D | InstCombineVectorOps.cpp | 160 EI.setOperand(0, V); in visitExtractElementInst() 206 EI.setOperand(0, IE->getOperand(0)); in visitExtractElementInst() 883 SVI.setOperand(0, SVI.getOperand(1)); in visitShuffleVectorInst() 884 SVI.setOperand(1, UndefValue::get(RHS->getType())); in visitShuffleVectorInst() 885 SVI.setOperand(2, ConstantVector::get(Elts)); in visitShuffleVectorInst()
|
D | InstCombineMulDivRem.cpp | 56 I->setOperand(0, V2); in simplifyValueKnownNonZero() 735 I.setOperand(1, SI->getOperand(NonNullOperand)); in SimplifyDivRemOfSelect() 794 I.setOperand(1, V); in commonIDivTransforms() 1352 I.setOperand(1, V); in commonIRemTransforms() 1432 I.setOperand(1, ConstantInt::get(I.getType(), -*Y)); in visitSRem() 1480 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 | 136 void setOperand(unsigned i, Value *Val) { in setOperand() function
|
/external/llvm/lib/IR/ |
D | Metadata.cpp | 421 setOperand(Op++, MD); in MDNode() 423 setOperand(Op++, MD); in MDNode() 593 setOperand(I, nullptr); in dropAllReferences() 606 setOperand(Op, New); in handleChangedOperand() 614 setOperand(Op, New); in handleChangedOperand() 639 setOperand(O, nullptr); in handleChangedOperand() 762 setOperand(I, New); in replaceOperandWith() 769 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode 998 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
|
D | User.cpp | 35 setOperand(i, To); // Fix it now... in replaceUsesOfWith()
|
/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 | 360 Neg->setOperand(1, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply() 622 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree() 780 Op->setOperand(0, NewLHS); in RewriteExprTree() 786 Op->setOperand(1, NewRHS); in RewriteExprTree() 811 Op->setOperand(1, NewRHS); in RewriteExprTree() 847 Op->setOperand(0, NewOp); in RewriteExprTree() 909 I->setOperand(0, NegateValue(I->getOperand(0), BI, ToRedo)); in NegateValue() 910 I->setOperand(1, NegateValue(I->getOperand(1), BI, ToRedo)); in NegateValue() 1016 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() 1017 Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() [all …]
|
D | DCE.cpp | 104 I->setOperand(i, nullptr); in DCEInstruction()
|
D | LowerExpectIntrinsic.cpp | 123 CmpI->setOperand(0, ArgValue); in handleBranchExpect()
|
D | SeparateConstOffsetFromGEP.cpp | 581 Ext->setOperand(0, Current); in applyExts() 940 GEP->setOperand(I, NewIdx); in splitGEP() 1248 First->setOperand(1, Offset2); in swapGEPOperand() 1249 Second->setOperand(1, Offset1); in swapGEPOperand()
|
D | SimplifyCFGPass.cpp | 113 RetBlock->getTerminator()->setOperand(0, RetBlockPHI); in mergeEmptyReturnBlocks()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 141 UseInst->setOperand(OperIdx, IVSrc); in foldIVUser() 224 ICmp->setOperand(0, NewLHS); in eliminateIVComparison() 225 ICmp->setOperand(1, NewRHS); in eliminateIVComparison()
|
/external/llvm/unittests/IR/ |
D | VerifierTest.cpp | 42 BI->setOperand(0, Zero32); in TEST()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 2194 Inst->setOperand(Idx, NewVal); in OperandSetter() 2202 Inst->setOperand(Idx, Origin); in undo() 2225 Inst->setOperand(It, UndefValue::get(Val->getType())); in OperandsHider() 2233 Inst->setOperand(It, OriginalValues[It]); in undo() 2369 UseIt->Inst->setOperand(UseIt->Idx, Inst); in undo() 2428 void setOperand(Instruction *Inst, unsigned Idx, Value *NewVal); 2451 void TypePromotionTransaction::setOperand(Instruction *Inst, unsigned Idx, in setOperand() function in __anonc96f24bb0211::TypePromotionTransaction 2922 TPT.setOperand(SExt, 0, SExtOpnd->getOperand(0)); in promoteOperandForTruncAndAnyExt() 2975 TPT.setOperand(Ext, 0, ExtOpnd); in promoteOperandForOther() 3010 TPT.setOperand(ExtOpnd, OpIdx, ConstantInt::get(Ext->getType(), CstVal)); in promoteOperandForOther() [all …]
|