/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_value.cpp | 23 CHECK(getType().isSignedIntegerTy()); 28 sizeof(SIntMax) * 8 - getType().getIntegerBitWidth(); 31 if (getType().getIntegerBitWidth() == 64) 34 if (getType().getIntegerBitWidth() == 128) 37 if (getType().getIntegerBitWidth() == 128) 44 CHECK(getType().isUnsignedIntegerTy()); 47 if (getType().getIntegerBitWidth() == 64) 50 if (getType().getIntegerBitWidth() == 128) 53 if (getType().getIntegerBitWidth() == 128) 60 if (getType() [all...] |
H A D | ubsan_value.h | 152 CHECK(getType().isIntegerTy()); 154 const unsigned Bits = getType().getIntegerBitWidth(); 160 CHECK(getType().isFloatTy()); 162 const unsigned Bits = getType().getFloatBitWidth(); 169 const TypeDescriptor &getType() const { return Type; } function in class:__ubsan::Value 182 return getType().isSignedIntegerTy() && getSIntValue() == -1; 187 return getType().isSignedIntegerTy() && getSIntValue() < 0;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Flang.cpp | 39 if (JA.getType() == types::TY_Nothing) { 41 } else if (JA.getType() == types::TY_AST) { 43 } else if (JA.getType() == types::TY_LLVM_IR || 44 JA.getType() == types::TY_LTO_IR) { 46 } else if (JA.getType() == types::TY_LLVM_BC || 47 JA.getType() == types::TY_LTO_BC) { 49 } else if (JA.getType() == types::TY_PP_Asm) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 40 ParamTys.push_back((*I)->getType()); 55 assert(V->getType()->isIntOrIntVectorTy() && "Can't bswap a non-integer type!"); 57 unsigned BitSize = V->getType()->getScalarSizeInBits(); 64 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), 66 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), 72 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), 74 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), 76 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), 78 Value *Tmp1 = Builder.CreateLShr(V,ConstantInt::get(V->getType(), 24), 81 ConstantInt::get(V->getType(), [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | StripGCRelocates.cpp | 62 if (GCRel->getType() != OrigPtr->getType()) 63 ReplaceGCRel = new BitCastInst(OrigPtr, GCRel->getType(), "cast", GCRel);
|
H A D | VNCoercion.cpp | 17 Type *StoredTy = StoredVal->getType(); 38 if (DL.isNonIntegralPointerType(StoredVal->getType()->getScalarType()) != 62 Type *StoredValTy = StoredVal->getType(); 121 StoredVal, ConstantInt::get(StoredVal->getType(), ShiftAmt)); 223 if (StoredVal->getType()->isStructTy() || 224 StoredVal->getType()->isArrayTy()) 228 if (DL.isNonIntegralPointerType(StoredVal->getType()->getScalarType()) != 238 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()); 249 if (DepLI->getType()->isStructTy() || DepLI->getType() [all...] |
H A D | CtorUtils.cpp | 37 ArrayType::get(OldCA->getType()->getElementType(), CAList.size()); 41 if (CA->getType() == OldCA->getType()) { 48 new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(), 56 if (V->getType() != GCL->getType()) 57 V = ConstantExpr::getBitCast(V, GCL->getType());
|
H A D | DemoteRegToStack.cpp | 36 Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr, 39 Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr, 75 V = new LoadInst(I.getType(), Slot, I.getName() + ".reload", 84 Value *V = new LoadInst(I.getType(), Slot, I.getName() + ".reload", 121 Slot = new AllocaInst(P->getType(), DL.getAllocaAddrSpace(), nullptr, 125 Slot = new AllocaInst(P->getType(), DL.getAllocaAddrSpace(), nullptr, 147 new LoadInst(P->getType(), Slot, P->getName() + ".reload", &*InsertPt);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
H A D | OpDescriptor.h | 97 return V->getType() == Only; 107 return !V->getType()->isVoidTy(); 115 return V->getType()->isIntegerTy(); 123 return V->getType()->isFloatingPointTy(); 131 return V->getType()->isPointerTy() && !V->isSwiftError(); 148 if (const auto *PtrT = dyn_cast<PointerType>(V->getType())) 167 if (isa<ArrayType>(V->getType())) 168 return V->getType()->getArrayNumElements() > 0; 171 if (isa<StructType>(V->getType())) 172 return V->getType() [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 128 if (GEPPtr->getType()->isVectorTy()) { 148 if (OffsType != Offsets->getType()) { 150 Offsets->getType()->getScalarSizeInBits()) { 166 Type *BCTy = BitCast->getType(); 167 Type *BCSrcTy = BitCast->getOperand(0)->getType(); 182 Type *Ty = I->getType(); 192 assert(Ptr->getType()->isVectorTy() && "Unexpected pointer type"); 219 Type *Ty = I->getType(); 226 {Ty, Ptr->getType()}, 231 {Ty, Ptr->getType(), Mas [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/ |
H A D | PDBSymbolTypeFriend.h | 27 FORWARD_SYMBOL_ID_METHOD(getType)
|
H A D | PDBSymbolTypeFunctionArg.h | 27 FORWARD_SYMBOL_ID_METHOD(getType)
|
H A D | PDBSymbolTypeVTable.h | 29 FORWARD_SYMBOL_ID_METHOD(getType)
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 36 return ConstantInt::get(Val->getType(), 0); 86 PointerType *PTy = cast<PointerType>(CI.getType()); 132 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); 138 Value *Off = ConstantInt::get(AI.getArraySize()->getType(), 154 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); 199 if (I->getOperand(0)->getType() == Ty) 269 auto *Ty = CI.getType(); 284 if (!Cmp || Cmp->getOperand(0)->getType() != Sel->getType()) 295 if (!Src->getType() [all...] |
H A D | InstCombineAtomicRMW.cpp | 127 SI->setAlignment(MaybeAlign(DL.getABITypeAlignment(RMWI.getType()))); 138 if (RMWI.getType()->isIntegerTy() && 141 RMWI.setOperand(1, ConstantInt::get(RMWI.getType(), 0)); 143 } else if (RMWI.getType()->isFloatingPointTy() && 146 RMWI.setOperand(1, ConstantFP::getNegativeZero(RMWI.getType())); 155 LoadInst *Load = new LoadInst(RMWI.getType(), RMWI.getPointerOperand()); 157 Load->setAlignment(MaybeAlign(DL.getABITypeAlignment(RMWI.getType())));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | BDCE.cpp | 41 assert(I->getType()->isIntOrIntVectorTy() && 51 if (J && J->getType()->isIntOrIntVectorTy() && 82 if (K && Visited.insert(K).second && K->getType()->isIntOrIntVectorTy() && 102 (I.getType()->isIntOrIntVectorTy() && 114 if (!U->getType()->isIntOrIntVectorTy()) 130 U.set(ConstantInt::get(U->getType(), 0));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCAsmInfoDarwin.cpp | 29 if (SMO.getType() == MachO::S_CSTRING_LITERALS) 39 switch (SMO.getType()) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeCollection.h | 28 virtual CVType getType(TypeIndex Index) = 0; 39 Func(N, getType(N));
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ConversionChecker.cpp | 81 LossOfPrecision = isLossOfPrecision(Cast, Cast->getType(), C); 84 LossOfPrecision = isLossOfPrecision(Cast, B->getLHS()->getType(), C); 87 LossOfPrecision = isLossOfPrecision(Cast, B->getLHS()->getType(), C); 96 LossOfPrecision = isLossOfPrecision(Cast, B->getLHS()->getType(), C); 102 LossOfPrecision = isLossOfPrecision(Cast, Cast->getType(), C); 135 QualType SubType = Cast->IgnoreParenImpCasts()->getType(); 186 QualType CastType = Cast->getType(); 187 QualType SubType = Cast->IgnoreParenImpCasts()->getType();
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | Address.h | 43 llvm::PointerType *getType() const { function in class:clang::CodeGen::Address 44 return llvm::cast<llvm::PointerType>(getPointer()->getType()); 52 return getType()->getElementType(); 57 return getType()->getAddressSpace();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 57 if (getType()->isFPOrFPVectorTy()) 163 if (this->getType()->isVectorTy()) { 164 unsigned NumElts = this->getType()->getVectorNumElements(); 213 if (this->getType()->isVectorTy()) { 214 unsigned NumElts = this->getType()->getVectorNumElements(); 230 if (!getType()->isVectorTy()) 232 for (unsigned i = 0, e = getType()->getVectorNumElements(); i != e; ++i) { 243 if (!getType()->isVectorTy()) 245 for (unsigned i = 0, e = getType()->getVectorNumElements(); i != e; ++i) { 256 if (!getType() [all...] |
H A D | TypeFinder.cpp | 36 incorporateType(G.getType()); 43 incorporateType(A.getType()); 51 incorporateType(FI.getType()); 63 incorporateType(I.getType()); 136 incorporateType(V->getType());
|
H A D | ConstantFold.cpp | 54 if (NumElts != CV->getType()->getVectorNumElements()) 86 Type *SrcTy = Op->getOperand(0)->getType(); 87 Type *MidTy = Op->getType(); 102 Type *SrcTy = V->getType(); 108 if (PointerType *PTy = dyn_cast<PointerType>(V->getType())) 140 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) { 189 if (FP->getType()->isPPC_FP128Ty()) 214 assert(C->getType()->isIntegerTy() && 215 (cast<IntegerType>(C->getType())->getBitWidth() & 7) == 0 && 217 unsigned CSize = cast<IntegerType>(C->getType()) [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolutionExpander.cpp | 55 if (U->getType() == Ty) 115 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) && 120 if (V->getType() == Ty) 123 if (CI->getOperand(0)->getType() == Ty) 129 SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(V->getType())) { 133 SE.getTypeSizeInBits(CI->getType()) == 134 SE.getTypeSizeInBits(CI->getOperand(0)->getType())) 139 SE.getTypeSizeInBits(CE->getType()) == 140 SE.getTypeSizeInBits(CE->getOperand(0)->getType())) 252 S = SE.getConstant(S->getType(), [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerArgs.cpp | 157 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); 179 if (Ptr->getType()->getPointerAddressSpace() == ADDRESS_SPACE_GLOBAL) 195 Ptr, PointerType::get(Ptr->getType()->getPointerElementType(), 198 Value *PtrInGeneric = new AddrSpaceCastInst(PtrInGlobal, Ptr->getType(), 214 if (LI->getType()->isPointerTy()) { 230 if (Arg.getType()->isPointerTy()) { 243 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr())
|