| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 354 if (isa<PoisonValue>(V)) in ConstantFoldCastInstruction() 355 return PoisonValue::get(DestTy); in ConstantFoldCastInstruction() 547 if (isa<PoisonValue>(Cond)) { in ConstantFoldSelectInstruction() 565 if (isa<PoisonValue>(Cond)) in ConstantFoldSelectInstruction() 575 if (isa<PoisonValue>(V1)) in ConstantFoldSelectInstruction() 577 if (isa<PoisonValue>(V2)) in ConstantFoldSelectInstruction() 583 if (isa<PoisonValue>(C)) in ConstantFoldSelectInstruction() 886 if (isa<PoisonValue>(C1) || isa<PoisonValue>(C2)) in ConstantFoldBinaryInstruction() 1717 if (isa<PoisonValue>(C1) || isa<PoisonValue>(C2)) in ConstantFoldCompareInstruction() 2206 if (isa<PoisonValue>(C)) in ConstantFoldGetElementPtr() [all …]
|
| H A D | Constants.cpp | 1155 PoisonValue *PoisonValue::getSequentialElement() const { in getSequentialElement() 1161 PoisonValue *PoisonValue::getStructElement(unsigned Elt) const { in getStructElement() 1165 PoisonValue *PoisonValue::getElementValue(Constant *C) const { in getElementValue() 1171 PoisonValue *PoisonValue::getElementValue(unsigned Idx) const { in getElementValue() 1285 return PoisonValue::get(Ty); in getImpl() 1339 isPoison = isa<PoisonValue>(V[0]); in get() 1346 if (!isa<PoisonValue>(V[i])) in get() 1356 return PoisonValue::get(ST); in get() 1399 return PoisonValue::get(T); in getImpl() 1805 PoisonValue *PoisonValue::get(Type *Ty) { in get() [all …]
|
| H A D | IRBuilder.cpp | 1110 Value *Poison = PoisonValue::get(VectorType::get(V->getType(), EC)); in CreateVectorSplat()
|
| H A D | LLVMContextImpl.h | 1410 DenseMap<Type *, std::unique_ptr<PoisonValue>> PVConstants;
|
| H A D | Core.cpp | 1074 return wrap(PoisonValue::get(unwrap(Ty))); in LLVMGetPoison() 1092 return isa<PoisonValue>(unwrap(Val)); in LLVMIsPoison()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 1400 class PoisonValue final : public UndefValue { 1403 explicit PoisonValue(Type *T) : UndefValue(T, PoisonValueVal) {} 1408 PoisonValue(const PoisonValue &) = delete; 1411 static PoisonValue *get(Type *T); 1415 PoisonValue *getSequentialElement() const; 1419 PoisonValue *getStructElement(unsigned Elt) const; 1423 PoisonValue *getElementValue(Constant *C) const; 1426 PoisonValue *getElementValue(unsigned Idx) const;
|
| H A D | Value.def | 91 HANDLE_CONSTANT(PoisonValue)
|
| H A D | PatternMatch.h | 139 inline class_match<PoisonValue> m_Poison() { return class_match<PoisonValue>(); } in m_Poison()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InstructionSimplify.cpp | 744 if (isa<PoisonValue>(Op0) || isa<PoisonValue>(Op1)) in SimplifySubInst() 883 if (isa<PoisonValue>(Op1)) in SimplifyMulInst() 951 return PoisonValue::get(Ty); in simplifyDivRem() 957 return PoisonValue::get(Ty); in simplifyDivRem() 974 if (isa<PoisonValue>(Op0)) in simplifyDivRem() 1264 if (isa<PoisonValue>(Op0)) in SimplifyShift() 2011 if (isa<PoisonValue>(Op1)) in SimplifyAndInst() 2183 if (isa<PoisonValue>(Op1)) in SimplifyOrInst() 3388 if (isa<PoisonValue>(RHS)) in SimplifyICmpInst() 3725 if (isa<PoisonValue>(LHS) || isa<PoisonValue>(RHS)) in SimplifyFCmpInst() [all …]
|
| H A D | ConstantFolding.cpp | 1763 if (isa<PoisonValue>(Op) || Op->containsPoisonElement()) in constantFoldVectorReduce() 1764 return PoisonValue::get(VT->getElementType()); in constantFoldVectorReduce() 2916 if (isa<PoisonValue>(Operands[0]) || isa<PoisonValue>(Operands[1])) in ConstantFoldScalarCall3() 2917 return PoisonValue::get(Ty); in ConstantFoldScalarCall3()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | InterleavedAccessPass.cpp | 406 new ShuffleVectorInst(BI->getOperand(0), PoisonValue::get(BIOp0Ty), in replaceBinOpShuffles() 409 BI->getOperand(1), PoisonValue::get(BI->getOperand(1)->getType()), Mask, in replaceBinOpShuffles()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | PromoteMemoryToRegister.cpp | 402 ReplVal = PoisonValue::get(LI->getType()); in rewriteSingleStoreAlloca() 511 ReplVal = PoisonValue::get(LI->getType()); in promoteSingleBlockAlloca() 675 A->replaceAllUsesWith(PoisonValue::get(A->getType())); in run()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 996 StoreInst *SI = new StoreInst(PoisonValue::get(LI.getType()), in visitLoadInst() 999 return replaceInstUsesWith(LI, PoisonValue::get(LI.getType())); in visitLoadInst() 1347 IC.replaceInstUsesWith(*LI, PoisonValue::get(LI->getType())); in removeBitcastsFromLoadStoreOnMinMax() 1454 if (!isa<PoisonValue>(Val)) in visitStoreInst() 1455 return replaceOperand(SI, 0, PoisonValue::get(Val->getType())); in visitStoreInst()
|
| H A D | InstCombinePHI.cpp | 1122 return replaceInstUsesWith(FirstPhi, PoisonValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI() 1222 Value *Poison = PoisonValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI() 1350 return replaceInstUsesWith(PN, PoisonValue::get(PN.getType())); in visitPHINode() 1362 return replaceInstUsesWith(PN, PoisonValue::get(PN.getType())); in visitPHINode()
|
| H A D | InstCombineSimplifyDemanded.cpp | 1102 return PoisonValue::get(V->getType()); in SimplifyDemandedVectorElts() 1114 Constant *Poison = PoisonValue::get(EltTy); in SimplifyDemandedVectorElts() 1265 I->setOperand(1, PoisonValue::get(I->getOperand(1)->getType())); in SimplifyDemandedVectorElts()
|
| H A D | InstCombineVectorOps.cpp | 655 new ShuffleVectorInst(ExtVecOp, PoisonValue::get(ExtVecType), ExtendMask); in replaceExtractElements() 1171 PoisonValue *PoisonVec = PoisonValue::get(VecTy); in foldInsSequenceIntoSplat() 1703 return ConstantExpr::getShuffleVector(C, PoisonValue::get(C->getType()), in evaluateInDifferentElementOrder()
|
| H A D | InstructionCombining.cpp | 2724 replaceInstUsesWith(*I, PoisonValue::get(I->getType())); in visitAllocSite() 2933 replaceInstUsesWith(*Prev, PoisonValue::get(Prev->getType())); in visitUnreachableInst() 3128 replaceInstUsesWith(*WO, PoisonValue::get(WO->getType())); in visitExtractValueInst()
|
| H A D | InstCombineCasts.cpp | 2562 replaceInstUsesWith(*LI, PoisonValue::get(LI->getType())); in optimizeBitCastFromPhi() 2697 return InsertElementInst::Create(PoisonValue::get(DestTy), Elem, in visitBitCast()
|
| H A D | InstCombineCalls.cpp | 2360 replaceInstUsesWith(*OldCall, PoisonValue::get(OldCall->getType())); in visitCallBase() 2381 replaceInstUsesWith(Call, PoisonValue::get(Call.getType())); in visitCallBase()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 741 Value *V = PoisonValue::get(MidTy); in visitBitCastInst() 940 Value *Res = PoisonValue::get(Op->getType()); in finish()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 245 if (isa<PoisonValue>(V)) in getWithType() 246 return PoisonValue::get(&Ty); in getWithType()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.cpp | 1268 PoisonValue::get(VecTy), VectorInit, LastIdx, "vector.recur.init"); in execute()
|
| H A D | LoopVectorize.cpp | 2764 Value *PoisonVec = PoisonValue::get(VecTy); in vectorizeInterleaveGroup() 3014 PoisonValue::get(DataTy), "wide.masked.load"); in vectorizeMemoryInstruction() 9708 Value *Poison = PoisonValue::get( in execute() 9789 Phi->addIncoming(PoisonValue::get(ScalarPredInst->getType()), in execute() 9916 Value *Undef = PoisonValue::get(VectorType::get(LastInst->getType(), VF)); in get()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 1588 macro(PoisonValue) \
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 3871 Value *PoisonValue = IRB.getInt8(PoisonStack ? ClPoisonStackPattern : 0); in poisonAllocaUserspace() local 3872 IRB.CreateMemSet(ShadowBase, PoisonValue, Len, in poisonAllocaUserspace()
|