| /NextBSD/contrib/llvm/lib/Target/NVPTX/ |
| HD | 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()
|
| HD | NVPTXLowerKernelArgs.cpp | 148 ArgInGlobal->setOperand(0, Arg); in handlePointerParam()
|
| HD | NVPTXFavorNonGenericAddrSpaces.cpp | 261 MI->setOperand(Idx, ASC->getOperand(0)); in optimizeMemoryInstruction()
|
| /NextBSD/contrib/llvm/lib/Target/AArch64/ |
| HD | 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()
|
| /NextBSD/contrib/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineSelect.cpp | 481 ICI->setOperand(0, CmpLHS); in visitSelectInstWithICmp() 482 ICI->setOperand(1, CmpRHS); in visitSelectInstWithICmp() 483 SI.setOperand(1, TrueVal); in visitSelectInstWithICmp() 484 SI.setOperand(2, FalseVal); in visitSelectInstWithICmp() 532 SI.setOperand(1, CmpRHS); in visitSelectInstWithICmp() 536 SI.setOperand(2, CmpRHS); in visitSelectInstWithICmp() 1136 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 1144 SI.setOperand(0, And); in visitSelectInst() 1145 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 1156 SI.setOperand(2, FalseSI->getFalseValue()); in visitSelectInst() [all …]
|
| HD | 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() 1069 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1073 if (TmpV) { I->setOperand(2, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1121 I->setOperand(0, TmpV); in SimplifyDemandedVectorElts() 1155 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() [all …]
|
| HD | 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()
|
| HD | 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() 705 NewGEPI->setOperand(Idx, in replaceGEPIdxWithZero() 708 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI); in replaceGEPIdxWithZero() 827 LI.setOperand(0, SI->getOperand(2)); in visitLoadInst() 834 LI.setOperand(0, SI->getOperand(1)); in visitLoadInst() 1039 SI.setOperand(0, UndefValue::get(Val->getType())); in visitStoreInst()
|
| HD | 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 …]
|
| HD | 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 …]
|
| HD | InstCombineVectorOps.cpp | 161 EI.setOperand(0, V); in visitExtractElementInst() 207 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()
|
| HD | InstCombineMulDivRem.cpp | 56 I->setOperand(0, V2); in simplifyValueKnownNonZero() 729 I.setOperand(1, SI->getOperand(NonNullOperand)); in SimplifyDivRemOfSelect() 788 I.setOperand(1, V); in commonIDivTransforms() 1346 I.setOperand(1, V); in commonIRemTransforms() 1426 I.setOperand(1, ConstantInt::get(I.getType(), -*Y)); in visitSRem() 1474 I.setOperand(1, NewRHSV); in visitSRem()
|
| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | OperandTraits.h | 111 inline void setOperand(unsigned, VALUECLASS*); \ 142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
| HD | User.h | 122 void setOperand(unsigned i, Value *Val) { in setOperand() function
|
| HD | Instructions.h | 1477 void setArgOperand(unsigned i, Value *v) { setOperand(i, v); } 2390 setOperand(i, V); 2922 SI->setOperand(2 + Index*2, reinterpret_cast<Value*>(V)); 2946 void setCondition(Value *V) { setOperand(0, V); } 2953 setOperand(1, reinterpret_cast<Value*>(DefaultCase)); 3059 setOperand(idx*2+1, (Value*)NewSucc); 3135 void setAddress(Value *V) { setOperand(0, V); } 3159 setOperand(i+1, (Value*)NewSucc); 3272 void setArgOperand(unsigned i, Value *v) { setOperand(i, v); }
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Metadata.cpp | 421 setOperand(Op++, MD); in MDNode() 423 setOperand(Op++, MD); in MDNode() 579 setOperand(I, nullptr); in dropAllReferences() 592 setOperand(Op, New); in handleChangedOperand() 600 setOperand(Op, New); in handleChangedOperand() 625 setOperand(O, nullptr); in handleChangedOperand() 748 setOperand(I, New); in replaceOperandWith() 755 void MDNode::setOperand(unsigned I, Metadata *New) { in setOperand() function in MDNode 973 void NamedMDNode::setOperand(unsigned I, MDNode *New) { in setOperand() function in NamedMDNode
|
| HD | User.cpp | 35 setOperand(i, To); // Fix it now... in replaceUsesOfWith()
|
| HD | Globals.cpp | 284 setOperand(0, Aliasee); in setAliasee()
|
| /NextBSD/contrib/llvm/lib/Transforms/Scalar/ |
| HD | 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()
|
| HD | Reassociate.cpp | 392 Neg->setOperand(1, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply() 654 I->setOperand(OpIdx, UndefValue::get(I->getType())); in LinearizeExprTree() 812 Op->setOperand(0, NewLHS); in RewriteExprTree() 818 Op->setOperand(1, NewRHS); in RewriteExprTree() 843 Op->setOperand(1, NewRHS); in RewriteExprTree() 879 Op->setOperand(0, NewOp); in RewriteExprTree() 937 I->setOperand(0, NegateValue(I->getOperand(0), BI)); in NegateValue() 938 I->setOperand(1, NegateValue(I->getOperand(1), BI)); in NegateValue() 1037 Sub->setOperand(0, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() 1038 Sub->setOperand(1, Constant::getNullValue(Sub->getType())); // Drop use of op. in BreakUpSubtract() [all …]
|
| HD | LowerExpectIntrinsic.cpp | 123 CmpI->setOperand(0, ArgValue); in handleBranchExpect()
|
| HD | SimplifyCFGPass.cpp | 113 RetBlock->getTerminator()->setOperand(0, RetBlockPHI); in mergeEmptyReturnBlocks()
|
| HD | TailRecursionElimination.cpp | 769 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN); in EliminateRecursiveTailCall() 781 RI->setOperand(0, AccPN); in EliminateRecursiveTailCall()
|
| HD | SeparateConstOffsetFromGEP.cpp | 542 Ext->setOperand(0, Current); in applyExts() 882 GEP->setOperand(I, NewIdx); in splitGEP()
|
| /NextBSD/contrib/llvm/lib/CodeGen/ |
| HD | CodeGenPrepare.cpp | 1771 Inst->setOperand(Idx, NewVal); in OperandSetter() 1779 Inst->setOperand(Idx, Origin); in undo() 1802 Inst->setOperand(It, UndefValue::get(Val->getType())); in OperandsHider() 1810 Inst->setOperand(It, OriginalValues[It]); in undo() 1946 UseIt->Inst->setOperand(UseIt->Idx, Inst); in undo() 2005 void setOperand(Instruction *Inst, unsigned Idx, Value *NewVal); 2028 void TypePromotionTransaction::setOperand(Instruction *Inst, unsigned Idx, in setOperand() function in __anon08e94ae70211::TypePromotionTransaction 2505 TPT.setOperand(SExt, 0, SExtOpnd->getOperand(0)); in promoteOperandForTruncAndAnyExt() 2558 TPT.setOperand(Ext, 0, ExtOpnd); in promoteOperandForOther() 2593 TPT.setOperand(ExtOpnd, OpIdx, ConstantInt::get(Ext->getType(), CstVal)); in promoteOperandForOther() [all …]
|