/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAlloca.cpp | 92 LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 97 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 102 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 107 BI->setOperand(0, NewASCToGeneric); in runOnBasicBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAlloca.cpp | 92 LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 97 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 102 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric); in runOnBasicBlock() 107 BI->setOperand(0, NewASCToGeneric); in runOnBasicBlock()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64AddressTypePromotion.cpp | 290 User->setOperand(U.getOperandNo(), SExt); in propagateSignExtension() 293 SExt->setOperand(0, Inst->getOperand(0)); in propagateSignExtension() 323 Inst->setOperand(OpIdx, ConstantInt::getSigned(SExt->getType(), in propagateSignExtension() 330 Inst->setOperand(OpIdx, UndefValue::get(SExt->getType())); in propagateSignExtension() 338 SExtForOpnd->setOperand(0, Opnd); in propagateSignExtension() 343 Inst->setOperand(OpIdx, SExtForOpnd); in propagateSignExtension()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 81 Sel.setOperand(IsEq ? 1 : 2, Z); in foldSelectBinOpIdentity() 774 Cmp.setOperand(0, CmpLHS); in adjustMinMax() 775 Cmp.setOperand(1, CmpRHS); in adjustMinMax() 776 Sel.setOperand(1, TrueVal); in adjustMinMax() 777 Sel.setOperand(2, FalseVal); in adjustMinMax() 874 Cmp.setOperand(1, ConstantInt::getNullValue(Cmp.getOperand(0)->getType())); in canonicalizeAbsNabs() 876 Cmp.setOperand(0, LHS); in canonicalizeAbsNabs() 934 SI.setOperand(1, CmpRHS); in foldSelectInstWithICmp() 938 SI.setOperand(2, CmpRHS); in foldSelectInstWithICmp() 1545 SI.setOperand(1, FalseVal); in visitSelectInst() [all …]
|
D | InstructionCombining.cpp | 269 Cast->setOperand(0, BinOp2->getOperand(0)); in simplifyAssocCastAssoc() 270 BinOp1->setOperand(1, FoldedC); in simplifyAssocCastAssoc() 319 I.setOperand(0, A); in SimplifyAssociativeOrCommutative() 320 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 348 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 349 I.setOperand(1, C); in SimplifyAssociativeOrCommutative() 376 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 377 I.setOperand(1, B); in SimplifyAssociativeOrCommutative() 396 I.setOperand(0, B); in SimplifyAssociativeOrCommutative() 397 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 56 I->setOperand(OpNo, ConstantInt::get(Op->getType(), *C & Demanded)); in ShrinkDemandedConstant() 1127 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1139 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1174 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1179 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1257 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts() 1281 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1285 if (TmpV) { I->setOperand(2, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1329 I->setOperand(0, TmpV); in SimplifyDemandedVectorElts() 1365 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() [all …]
|
D | InstCombineMulDivRem.cpp | 76 I->setOperand(0, V2); in simplifyValueKnownNonZero() 572 I.setOperand(1, SI->getOperand(NonNullOperand)); in simplifyDivRemOfSelectWithZeroOp() 664 I.setOperand(1, V); in commonIDivTransforms() 780 I.setOperand(0, ConstantInt::get(Ty, 1)); in commonIDivTransforms() 781 I.setOperand(1, Y); in commonIDivTransforms() 1240 I.setOperand(0, X); in visitFDiv() 1241 I.setOperand(1, Y); in visitFDiv() 1250 I.setOperand(0, ConstantFP::get(I.getType(), 1.0)); in visitFDiv() 1251 I.setOperand(1, Y); in visitFDiv() 1267 I.setOperand(1, V); in commonIRemTransforms() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 496 ICI->setOperand(0, CmpLHS); in visitSelectInstWithICmp() 497 ICI->setOperand(1, CmpRHS); in visitSelectInstWithICmp() 498 SI.setOperand(1, TrueVal); in visitSelectInstWithICmp() 499 SI.setOperand(2, FalseVal); in visitSelectInstWithICmp() 547 SI.setOperand(1, CmpRHS); in visitSelectInstWithICmp() 551 SI.setOperand(2, CmpRHS); in visitSelectInstWithICmp() 1193 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 1201 SI.setOperand(0, And); in visitSelectInst() 1202 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 1213 SI.setOperand(2, FalseSI->getFalseValue()); in visitSelectInst() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 44 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); in ShrinkDemandedConstant() 997 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1015 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1043 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1048 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1081 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts() 1105 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1109 if (TmpV) { I->setOperand(2, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1154 I->setOperand(0, TmpV); in SimplifyDemandedVectorElts() 1190 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() [all …]
|
D | InstCombineShifts.cpp | 51 I.setOperand(1, Rem); in commonShiftTransforms() 211 I->setOperand( in GetShiftedValue() 213 I->setOperand( in GetShiftedValue() 231 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue() 253 BO->setOperand(1, ConstantInt::get(BO->getType(), in GetShiftedValue() 274 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue() 295 BO->setOperand(1, ConstantInt::get(BO->getType(), in GetShiftedValue() 302 I->setOperand( in GetShiftedValue() 304 I->setOperand( in GetShiftedValue()
|
D | InstructionCombining.cpp | 210 I.setOperand(0, A); in SimplifyAssociativeOrCommutative() 211 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 239 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 240 I.setOperand(1, C); in SimplifyAssociativeOrCommutative() 261 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 262 I.setOperand(1, B); in SimplifyAssociativeOrCommutative() 281 I.setOperand(0, B); in SimplifyAssociativeOrCommutative() 282 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 314 I.setOperand(0, New); in SimplifyAssociativeOrCommutative() 315 I.setOperand(1, Folded); in SimplifyAssociativeOrCommutative() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 432 ICI->setOperand(0, CmpLHS); in visitSelectInstWithICmp() 433 ICI->setOperand(1, CmpRHS); in visitSelectInstWithICmp() 434 SI.setOperand(1, TrueVal); in visitSelectInstWithICmp() 435 SI.setOperand(2, FalseVal); in visitSelectInstWithICmp() 502 SI.setOperand(1, CmpRHS); in visitSelectInstWithICmp() 506 SI.setOperand(2, CmpRHS); in visitSelectInstWithICmp() 869 SI.setOperand(1, TrueSI->getTrueValue()); in visitSelectInst() 875 SI.setOperand(2, FalseSI->getFalseValue()); in visitSelectInst() 881 SI.setOperand(0, BinaryOperator::getNotArgument(CondVal)); in visitSelectInst() 882 SI.setOperand(1, FalseVal); in visitSelectInst() [all …]
|
D | InstCombineShifts.cpp | 49 I.setOperand(1, Rem); in commonShiftTransforms() 206 I->setOperand(0, GetShiftedValue(I->getOperand(0), NumBits,isLeftShift,IC)); in GetShiftedValue() 207 I->setOperand(1, GetShiftedValue(I->getOperand(1), NumBits,isLeftShift,IC)); in GetShiftedValue() 224 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue() 246 BO->setOperand(1, ConstantInt::get(BO->getType(), in GetShiftedValue() 265 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue() 286 BO->setOperand(1, ConstantInt::get(BO->getType(), in GetShiftedValue() 293 I->setOperand(1, GetShiftedValue(I->getOperand(1), NumBits,isLeftShift,IC)); in GetShiftedValue() 294 I->setOperand(2, GetShiftedValue(I->getOperand(2), NumBits,isLeftShift,IC)); in GetShiftedValue() 339 I.setOperand(1, ConstantInt::get(I.getType(), TypeBits-1)); in FoldShiftByConstant()
|
D | InstCombineLoadStoreAlloca.cpp | 33 AI.setOperand(0, V); in visitAllocaInst() 238 LI.setOperand(0, SI->getOperand(2)); in visitLoadInst() 245 LI.setOperand(0, SI->getOperand(1)); in visitLoadInst() 335 SI.setOperand(0, NewCast); in InstCombineStoreToCast() 336 SI.setOperand(1, CastOp); in InstCombineStoreToCast() 453 SI.setOperand(0, UndefValue::get(Val->getType())); in visitStoreInst()
|
D | InstCombineSimplifyDemanded.cpp | 43 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded)); in ShrinkDemandedConstant() 904 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 922 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 950 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 955 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 988 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts() 1035 I->setOperand(0, TmpV); in SimplifyDemandedVectorElts() 1069 if (TmpV) { I->setOperand(0, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts() 1072 if (TmpV) { I->setOperand(1, TmpV); MadeChange = true; } in SimplifyDemandedVectorElts()
|
D | InstCombineMulDivRem.cpp | 53 I->setOperand(0, V2); in simplifyValueKnownNonZero() 315 I.setOperand(1, SI->getOperand(NonNullOperand)); in SimplifyDivRemOfSelect() 375 I.setOperand(1, V); in commonIDivTransforms() 586 I.setOperand(1, V); in commonIRemTransforms() 672 I.setOperand(1, RHSNeg); in visitSRem() 710 I.setOperand(1, NewRHSV); in visitSRem()
|
D | InstCombineVectorOps.cpp | 166 EI.setOperand(0, V); in visitExtractElementInst() 208 EI.setOperand(0, IE->getOperand(0)); in visitExtractElementInst() 498 SVI.setOperand(0, SVI.getOperand(1)); in visitShuffleVectorInst() 499 SVI.setOperand(1, UndefValue::get(RHS->getType())); in visitShuffleVectorInst() 500 SVI.setOperand(2, ConstantVector::get(Elts)); in visitShuffleVectorInst()
|
D | InstructionCombining.cpp | 196 I.setOperand(0, A); in SimplifyAssociativeOrCommutative() 197 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 225 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 226 I.setOperand(1, C); in SimplifyAssociativeOrCommutative() 247 I.setOperand(0, V); in SimplifyAssociativeOrCommutative() 248 I.setOperand(1, B); in SimplifyAssociativeOrCommutative() 267 I.setOperand(0, B); in SimplifyAssociativeOrCommutative() 268 I.setOperand(1, V); in SimplifyAssociativeOrCommutative() 294 I.setOperand(0, New); in SimplifyAssociativeOrCommutative() 295 I.setOperand(1, Folded); in SimplifyAssociativeOrCommutative() [all …]
|
/external/swiftshader/third_party/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 …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | OperandTraits.h | 111 inline void setOperand(unsigned, VALUECLASS*); \ 142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | OperandTraits.h | 111 inline void setOperand(unsigned, VALUECLASS*); \ 142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
/external/llvm/include/llvm/IR/ |
D | OperandTraits.h | 111 inline void setOperand(unsigned, VALUECLASS*); \ 142 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | OperandTraits.h | 114 inline void setOperand(unsigned, VALUECLASS*); \ 145 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Globals.cpp | 157 this->setOperand(0, cast<Constant>(To)); in replaceUsesOfWithOnConstant() 223 setOperand(0, Aliasee); in setAliasee()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 463 Inst->setOperand(Idx, IncomingVal); in updateOperand() 469 Inst->setOperand(Idx, Mat); in updateOperand() 509 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants() 526 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
|