| /freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| HD | IntrinsicLowering.cpp | 40 ParamTys.push_back((*I)->getType()); in ReplaceCallWith() 55 assert(V->getType()->isIntOrIntVectorTy() && "Can't bswap a non-integer type!"); in LowerBSWAP() 57 unsigned BitSize = V->getType()->getScalarSizeInBits(); in LowerBSWAP() 64 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 66 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 72 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP() 74 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 76 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 78 Value *Tmp1 = Builder.CreateLShr(V,ConstantInt::get(V->getType(), 24), in LowerBSWAP() 81 ConstantInt::get(V->getType(), 0xFF0000), in LowerBSWAP() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| HD | ubsan_value.cpp | 23 CHECK(getType().isSignedIntegerTy()); in getSIntValue() 28 sizeof(SIntMax) * 8 - getType().getIntegerBitWidth(); in getSIntValue() 31 if (getType().getIntegerBitWidth() == 64) in getSIntValue() 34 if (getType().getIntegerBitWidth() == 128) in getSIntValue() 37 if (getType().getIntegerBitWidth() == 128) in getSIntValue() 44 CHECK(getType().isUnsignedIntegerTy()); in getUIntValue() 47 if (getType().getIntegerBitWidth() == 64) in getUIntValue() 50 if (getType().getIntegerBitWidth() == 128) in getUIntValue() 53 if (getType().getIntegerBitWidth() == 128) in getUIntValue() 60 if (getType().isUnsignedIntegerTy()) in getPositiveIntValue() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineCasts.cpp | 36 return ConstantInt::get(Val->getType(), 0); in decomposeSimpleLinearExpr() 86 PointerType *PTy = cast<PointerType>(CI.getType()); in PromoteCastOfAllocation() 132 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); in PromoteCastOfAllocation() 138 Value *Off = ConstantInt::get(AI.getArraySize()->getType(), in PromoteCastOfAllocation() 154 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation() 199 if (I->getOperand(0)->getType() == Ty) in EvaluateInDifferentType() 269 auto *Ty = CI.getType(); in commonCastTransforms() 284 if (!Cmp || Cmp->getOperand(0)->getType() != Sel->getType()) in commonCastTransforms() 295 if (!Src->getType()->isIntegerTy() || !CI.getType()->isIntegerTy() || in commonCastTransforms() 296 shouldChangeType(CI.getType(), Src->getType())) in commonCastTransforms() [all …]
|
| HD | InstCombinePHI.cpp | 97 if (!PN.getType()->isIntegerTy()) in FoldIntegerTypedPHI() 128 DL.getTypeSizeInBits(IntToPtr->getOperand(0)->getType())) in FoldIntegerTypedPHI() 144 if (isa<IntToPtrInst>(U) && U->getType() == IntToPtr->getType() && in FoldIntegerTypedPHI() 191 if (PtrPHI == &PN || PtrPHI->getType() != IntToPtr->getType()) in FoldIntegerTypedPHI() 207 assert(MatchingPtrPHI->getType() == IntToPtr->getType() && in FoldIntegerTypedPHI() 211 IntToPtr->getOperand(0)->getType()); in FoldIntegerTypedPHI() 216 return (V->getType() != IntToPtr->getType()) || isa<IntToPtrInst>(V); in FoldIntegerTypedPHI() 225 if (V->getType() == IntToPtr->getType()) in FoldIntegerTypedPHI() 240 IntToPtr->getType(), PN.getNumIncomingValues(), PN.getName() + ".ptr"); in FoldIntegerTypedPHI() 248 if (IncomingVal->getType() == IntToPtr->getType()) { in FoldIntegerTypedPHI() [all …]
|
| HD | InstCombineCalls.cpp | 136 MI->setLength(Constant::getNullValue(MI->getLength()->getType())); in SimplifyAnyMemTransfer() 165 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace(); in SimplifyAnyMemTransfer() 167 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace(); in SimplifyAnyMemTransfer() 229 MI->setLength(Constant::getNullValue(MemOpLength->getType())); in SimplifyAnyMemTransfer() 246 MI->setLength(Constant::getNullValue(MI->getLength()->getType())); in SimplifyAnyMemSet() 253 if (!LenC || !FillC || !FillC->getType()->isIntegerTy(8)) in SimplifyAnyMemSet() 272 unsigned DstAddrSp = cast<PointerType>(Dest->getType())->getAddressSpace(); in SimplifyAnyMemSet() 285 MI->setLength(Constant::getNullValue(LenC->getType())); in SimplifyAnyMemSet() 374 auto VT = cast<VectorType>(CDV->getType()); in simplifyX86immShift() 391 auto VT = cast<VectorType>(Vec->getType()); in simplifyX86immShift() [all …]
|
| HD | InstCombineLoadStoreAlloca.cpp | 186 if (AI.getArraySize()->getType()->isIntegerTy(32)) in simplifyAllocaArraySize() 212 Type *IdxTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize() 226 return IC.replaceInstUsesWith(AI, Constant::getNullValue(AI.getType())); in simplifyAllocaArraySize() 230 Type *IntPtrTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize() 231 if (AI.getArraySize()->getType() != IntPtrTy) { in simplifyAllocaArraySize() 301 auto *NewI = new LoadInst(I->getType(), V); in replace() 312 V->getType()->getPointerElementType(), V, Indices); in replace() 319 auto *NewT = PointerType::get(BC->getType()->getPointerElementType(), in replace() 320 V->getType()->getPointerAddressSpace()); in replace() 332 auto *PT = cast<PointerType>(I.getType()); in replacePointer() [all …]
|
| HD | InstCombineCompares.cpp | 153 uint64_t ArrayElementCount = Init->getType()->getArrayNumElements(); in foldCmpLoadFromIndexedGlobal() 173 Type *EltTy = Init->getType()->getArrayElementType(); in foldCmpLoadFromIndexedGlobal() 314 Type *IntPtrTy = DL.getIntPtrType(GEP->getType()); in foldCmpLoadFromIndexedGlobal() 316 if (Idx->getType()->getPrimitiveSizeInBits() > PtrSize) in foldCmpLoadFromIndexedGlobal() 327 Value *FirstTrueIdx = ConstantInt::get(Idx->getType(), FirstTrueElement); in foldCmpLoadFromIndexedGlobal() 335 Value *SecondTrueIdx = ConstantInt::get(Idx->getType(), SecondTrueElement); in foldCmpLoadFromIndexedGlobal() 347 Value *FirstFalseIdx = ConstantInt::get(Idx->getType(), FirstFalseElement); in foldCmpLoadFromIndexedGlobal() 355 Value *SecondFalseIdx = ConstantInt::get(Idx->getType(),SecondFalseElement); in foldCmpLoadFromIndexedGlobal() 367 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in foldCmpLoadFromIndexedGlobal() 371 Value *End = ConstantInt::get(Idx->getType(), in foldCmpLoadFromIndexedGlobal() [all …]
|
| HD | InstCombineVectorOps.cpp | 117 PHINode::Create(EI.getType(), PN->getNumIncomingValues(), ""), *PN)); in scalarizePHI() 168 !X->getType()->isVectorTy() || in foldBitcastExtElt() 175 Type *SrcTy = X->getType(); in foldBitcastExtElt() 176 Type *DestTy = Ext.getType(); in foldBitcastExtElt() 258 unsigned VWidth = V->getType()->getVectorNumElements(); in findDemandedEltsBySingleUser() 275 unsigned MaskNumElts = UserInstr->getType()->getVectorNumElements(); in findDemandedEltsBySingleUser() 301 unsigned VWidth = V->getType()->getVectorNumElements(); in findDemandedEltsByAllUsers() 414 SVI->getOperand(0)->getType()->getVectorNumElements(); in visitExtractElementInst() 417 return replaceInstUsesWith(EI, UndefValue::get(EI.getType())); in visitExtractElementInst() 436 return CastInst::Create(CI->getOpcode(), EE, EI.getType()); in visitExtractElementInst() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
| HD | OpDescriptor.h | 97 return V->getType() == Only; in onlyType() 107 return !V->getType()->isVoidTy(); in anyType() 115 return V->getType()->isIntegerTy(); in anyIntType() 123 return V->getType()->isFloatingPointTy(); in anyFloatType() 131 return V->getType()->isPointerTy() && !V->isSwiftError(); in anyPtrType() 148 if (const auto *PtrT = dyn_cast<PointerType>(V->getType())) in sizedPtrType() 167 if (isa<ArrayType>(V->getType())) in anyAggregateType() 168 return V->getType()->getArrayNumElements() > 0; in anyAggregateType() 171 if (isa<StructType>(V->getType())) in anyAggregateType() 172 return V->getType()->getStructNumElements() > 0; in anyAggregateType() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
| HD | Constants.cpp | 57 if (getType()->isFPOrFPVectorTy()) in isNegativeZeroValue() 163 if (this->getType()->isVectorTy()) { in isNotOneValue() 164 unsigned NumElts = this->getType()->getVectorNumElements(); in isNotOneValue() 213 if (this->getType()->isVectorTy()) { in isNotMinSignedValue() 214 unsigned NumElts = this->getType()->getVectorNumElements(); in isNotMinSignedValue() 230 if (!getType()->isVectorTy()) in isFiniteNonZeroFP() 232 for (unsigned i = 0, e = getType()->getVectorNumElements(); i != e; ++i) { in isFiniteNonZeroFP() 243 if (!getType()->isVectorTy()) in isNormalFP() 245 for (unsigned i = 0, e = getType()->getVectorNumElements(); i != e; ++i) { in isNormalFP() 256 if (!getType()->isVectorTy()) in hasExactInverseFP() [all …]
|
| HD | ConstantFold.cpp | 54 if (NumElts != CV->getType()->getVectorNumElements()) in BitCastConstantVector() 86 Type *SrcTy = Op->getOperand(0)->getType(); in foldConstantCastPair() 87 Type *MidTy = Op->getType(); in foldConstantCastPair() 102 Type *SrcTy = V->getType(); in FoldBitCast() 108 if (PointerType *PTy = dyn_cast<PointerType>(V->getType())) in FoldBitCast() 140 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) { in FoldBitCast() 189 if (FP->getType()->isPPC_FP128Ty()) in FoldBitCast() 214 assert(C->getType()->isIntegerTy() && in ExtractConstantBytes() 215 (cast<IntegerType>(C->getType())->getBitWidth() & 7) == 0 && in ExtractConstantBytes() 217 unsigned CSize = cast<IntegerType>(C->getType())->getBitWidth()/8; in ExtractConstantBytes() [all …]
|
| HD | Instructions.cpp | 80 if (Op1->getType() != Op2->getType()) in areInvalidOperands() 83 if (Op1->getType()->isTokenTy()) in areInvalidOperands() 86 if (VectorType *VT = dyn_cast<VectorType>(Op0->getType())) { in areInvalidOperands() 90 VectorType *ET = dyn_cast<VectorType>(Op1->getType()); in areInvalidOperands() 96 } else if (Op0->getType() != Type::getInt1Ty(Op0->getContext())) { in areInvalidOperands() 107 : Instruction(PN.getType(), Instruction::PHI, nullptr, PN.getNumOperands()), in PHINode() 135 replaceAllUsesWith(UndefValue::get(getType())); in removeIncomingValue() 167 return UndefValue::get(getType()); in hasConstantValue() 206 : Instruction(LP.getType(), Instruction::LandingPad, nullptr, in LandingPadInst() 303 getType()->getPointerAddressSpace())) in isReturnNonNull() [all …]
|
| HD | IRBuilder.cpp | 47 auto *GV = new GlobalVariable(M, StrConstant->getType(), true, in CreateGlobalString() 62 auto *PT = cast<PointerType>(Ptr->getType()); in getCastedInt8PtrValue() 105 Type *Tys[] = { Ptr->getType(), Size->getType() }; in CreateMemSet() 133 Type *Tys[] = {Ptr->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemSet() 174 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemCpy() 215 Type *Tys[] = {Dst->getType(), Src->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemCpy() 253 Type *Tys[] = { Dst->getType(), Src->getType(), Size->getType() }; in CreateMemMove() 290 Type *Tys[] = {Dst->getType(), Src->getType(), Size->getType()}; in CreateElementUnorderedAtomicMemMove() 324 Type *Tys[] = { Src->getType() }; in getReductionIntrinsic() 332 Type *Tys[] = {Acc->getType(), Src->getType()}; in CreateFAddReduce() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| HD | CGExprAgg.cpp | 193 return EmitFinalDestCopy(E->getType(), LV); in VisitPseudoObjectExpr() 196 CGF.EmitPseudoObjectRValue(E, EnsureSlot(E->getType())); in VisitPseudoObjectExpr() 207 EmitFinalDestCopy(E->getType(), Res); in VisitAtomicExpr() 223 if (LV.getType()->isAtomicType() || CGF.LValueIsSuitableForInlineAtomic(LV)) { in EmitAggLoadOfLValue() 228 EmitFinalDestCopy(E->getType(), LV); in EmitAggLoadOfLValue() 250 QualType RetTy = E->getType(); in withReturnValueSlot() 299 EmitFinalDestCopy(E->getType(), Src); in withReturnValueSlot() 392 Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr() 396 RecordDecl *Record = E->getType()->castAs<RecordType>()->getDecl(); in VisitCXXStdInitializerListExpr() 404 if (!Field->getType()->isPointerType() || in VisitCXXStdInitializerListExpr() [all …]
|
| HD | CGExpr.cpp | 52 cast<llvm::PointerType>(value->getType())->getAddressSpace(); in EmitCastToVoidPtr() 58 if (value->getType() == destType) return value; in EmitCastToVoidPtr() 166 if (const MemberPointerType *MPT = E->getType()->getAs<MemberPointerType>()) { in EvaluateExprAsBool() 173 if (!E->getType()->isAnyComplexType()) in EvaluateExprAsBool() 174 return EmitScalarConversion(EmitScalarExpr(E), E->getType(), BoolTy, Loc); in EvaluateExprAsBool() 176 return EmitComplexToScalarConversion(EmitComplexExpr(E), E->getType(), BoolTy, in EvaluateExprAsBool() 197 switch (getEvaluationKind(E->getType())) { in EmitAnyExpr() 204 aggSlot = CreateAggTemp(E->getType(), "agg-temp"); in EmitAnyExpr() 216 if (hasAggregateEvaluationKind(E->getType())) in EmitAnyExprToTemp() 217 AggSlot = CreateAggTemp(E->getType(), "agg.tmp"); in EmitAnyExprToTemp() [all …]
|
| HD | CGExprScalar.cpp | 140 QualType LHSType = BinOp->getLHS()->getType(); in isFixedPointBinOp() 141 QualType RHSType = BinOp->getRHS()->getType(); in isFixedPointBinOp() 152 return E->getType()->isNullPtrType(); in MustVisitNullValue() 162 QualType BaseTy = Base->getType(); in getUnwidenedIntegerType() 164 Ctx.getTypeSize(BaseTy) >= Ctx.getTypeSize(E->getType())) in getUnwidenedIntegerType() 211 unsigned PromotedSize = Ctx.getTypeSize(Op.E->getType()); in CanElideOverflowCheck() 273 if (VD->getType()->isReferenceType()) { in EmitLValueAlignmentAssumption() 275 dyn_cast<TypedefType>(VD->getType().getNonReferenceType())) in EmitLValueAlignmentAssumption() 292 dyn_cast<TypedefType>(E->getType())) in EmitLValueAlignmentAssumption() 390 llvm::Value *Zero = llvm::Constant::getNullValue(V->getType()); in EmitFloatToBoolConversion() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| HD | ScalarEvolutionExpander.cpp | 55 if (U->getType() == Ty) in ReuseOrCreateCast() 115 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) && in InsertNoopCastOfTo() 120 if (V->getType() == Ty) in InsertNoopCastOfTo() 123 if (CI->getOperand(0)->getType() == Ty) in InsertNoopCastOfTo() 129 SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(V->getType())) { in InsertNoopCastOfTo() 133 SE.getTypeSizeInBits(CI->getType()) == in InsertNoopCastOfTo() 134 SE.getTypeSizeInBits(CI->getOperand(0)->getType())) in InsertNoopCastOfTo() 139 SE.getTypeSizeInBits(CE->getType()) == in InsertNoopCastOfTo() 140 SE.getTypeSizeInBits(CE->getOperand(0)->getType())) in InsertNoopCastOfTo() 252 S = SE.getConstant(S->getType(), 1); in FactorOutConstant() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
| HD | MVEGatherScatterLowering.cpp | 128 if (GEPPtr->getType()->isVectorTy()) { in checkGEP() 148 if (OffsType != Offsets->getType()) { in checkGEP() 150 Offsets->getType()->getScalarSizeInBits()) { in checkGEP() 166 Type *BCTy = BitCast->getType(); in lookThroughBitcast() 167 Type *BCSrcTy = BitCast->getOperand(0)->getType(); in lookThroughBitcast() 182 Type *Ty = I->getType(); in lowerGather() 192 assert(Ptr->getType()->isVectorTy() && "Unexpected pointer type"); in lowerGather() 219 Type *Ty = I->getType(); in tryCreateMaskedGatherBase() 226 {Ty, Ptr->getType()}, in tryCreateMaskedGatherBase() 231 {Ty, Ptr->getType(), Mask->getType()}, in tryCreateMaskedGatherBase() [all …]
|
| HD | ARMRegisterBankInfo.cpp | 235 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() 270 LLT LargeTy = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() 280 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() 293 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() 300 LLT Ty = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() 314 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() 315 LLT FromTy = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() 323 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() 324 LLT FromTy = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() 333 LLT ToTy = MRI.getType(MI.getOperand(0).getReg()); in getInstrMapping() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| HD | VNCoercion.cpp | 17 Type *StoredTy = StoredVal->getType(); in canCoerceMustAliasedValueToLoad() 38 if (DL.isNonIntegralPointerType(StoredVal->getType()->getScalarType()) != in canCoerceMustAliasedValueToLoad() 62 Type *StoredValTy = StoredVal->getType(); in coerceAvailableValueToLoadTypeHelper() 121 StoredVal, ConstantInt::get(StoredVal->getType(), ShiftAmt)); in coerceAvailableValueToLoadTypeHelper() 223 if (StoredVal->getType()->isStructTy() || in analyzeLoadFromClobberingStore() 224 StoredVal->getType()->isArrayTy()) in analyzeLoadFromClobberingStore() 228 if (DL.isNonIntegralPointerType(StoredVal->getType()->getScalarType()) != in analyzeLoadFromClobberingStore() 238 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()); in analyzeLoadFromClobberingStore() 249 if (DepLI->getType()->isStructTy() || DepLI->getType()->isArrayTy()) in analyzeLoadFromClobberingLoad() 253 if (DL.isNonIntegralPointerType(DepLI->getType()->getScalarType()) != in analyzeLoadFromClobberingLoad() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | InferAddressSpaces.cpp | 227 assert(Op.getType()->isPointerTy()); in isAddressExpression() 234 return Op.getType()->isPointerTy(); in isAddressExpression() 270 Type *DestTy = II->getType(); in rewriteIntrinsicOperands() 271 Type *SrcTy = NewV->getType(); in rewriteIntrinsicOperands() 310 assert(V->getType()->isPointerTy()); in appendsFlatAddressExpressionToPostorderStack() 323 V->getType()->getPointerAddressSpace() == FlatAddrSpace) { in appendsFlatAddressExpressionToPostorderStack() 358 if (!GEP->getType()->isVectorTy()) in collectFlatAddressExpressions() 379 if (Cmp->getOperand(0)->getType()->isPointerTy()) { in collectFlatAddressExpressions() 384 if (!ASC->getType()->isVectorTy()) in collectFlatAddressExpressions() 395 if (TopVal->getType()->getPointerAddressSpace() == FlatAddrSpace) in collectFlatAddressExpressions() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/ |
| HD | RelocationResolver.cpp | 43 switch (R.getType()) { in resolveX86_64() 72 switch (R.getType()) { in resolveAArch64() 93 switch (R.getType()) { in resolveBPF() 116 switch (R.getType()) { in resolveMips64() 141 switch (R.getType()) { in resolvePPC64() 162 switch (R.getType()) { in resolveSystemZ() 185 switch (R.getType()) { in resolveSparc64() 207 switch (R.getType()) { in resolveAmdgpu() 228 switch (R.getType()) { in resolveX86() 245 if (R.getType() == ELF::R_PPC_ADDR32) in resolvePPC32() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
| HD | BodyFarm.cpp | 141 QualType Type = D->getType().getNonReferenceType(); in makeDeclRefExpr() 162 QualType Type = Arg->getType().getNonReferenceType(); in makeLvalueToRvalue() 178 if (Arg->getType() == Ty) in makeIntegralCast() 198 IVar->getType(), SourceLocation(), in makeObjCIvarRef() 222 /* TemplateArgumentListInfo=*/ nullptr, MemberDecl->getType(), ValueKind, in makeMemberExpression() 253 QualType Ty = Callback->getType(); in create_call_once_funcptr_call() 260 Call->getType()->isFunctionType()) { in create_call_once_funcptr_call() 264 && Call->getType()->isPointerType() in create_call_once_funcptr_call() 265 && Call->getType()->getPointeeType()->isFunctionType()){ in create_call_once_funcptr_call() 291 /* T =*/ callOperatorDecl->getType(), in create_call_once_lambda_call() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| HD | PoisonChecking.cpp | 86 assert(V->getType()->isIntegerTy(1)); in isConstantFalse() 159 ConstantInt::get(LHS->getType(), 0)); in generatePoisonChecksForBinOp() 168 ConstantInt::get(LHS->getType(), 0)); in generatePoisonChecksForBinOp() 178 ConstantInt::get(RHS->getType(), in generatePoisonChecksForBinOp() 179 LHS->getType()->getScalarSizeInBits())); in generatePoisonChecksForBinOp() 189 if (isa<BinaryOperator>(I) && !I.getType()->isVectorTy()) in generatePoisonChecks() 198 if (Vec->getType()->getVectorIsScalable()) in generatePoisonChecks() 201 unsigned NumElts = Vec->getType()->getVectorNumElements(); in generatePoisonChecks() 204 ConstantInt::get(Idx->getType(), NumElts)); in generatePoisonChecks() 210 if (Vec->getType()->getVectorIsScalable()) in generatePoisonChecks() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| HD | ExprEngineC.cpp | 31 QualType Ty = Expression->getType(); in conjureOffsetSymbolOnLocation() 100 SVal Result = evalBinOp(state, Op, LeftV, RightV, B->getType()); in VisitBinaryOperator() 152 QualType LTy = getContext().getCanonicalType(LHS->getType()); in VisitBinaryOperator() 159 B->getType(), CTy); in VisitBinaryOperator() 199 CanQualType T = getContext().getCanonicalType(BE->getType()); in VisitBlockExpr() 264 assert(!CastE->getType()->isLValueReferenceType()); in handleLValueBitCast() 267 assert(!CastE->getType()->isRValueReferenceType()); in handleLValueBitCast() 289 QualType resultType = CastE->getType(); in handleLVectorSplat() 319 QualType T = CastE->getType(); in VisitCast() 320 QualType ExTy = Ex->getType(); in VisitCast() [all …]
|