/freebsd-11.0-release/contrib/compiler-rt/lib/ubsan/ |
H A D | ubsan_value.cc | 24 CHECK(getType().isSignedIntegerTy()); 29 sizeof(SIntMax) * 8 - getType().getIntegerBitWidth(); 32 if (getType().getIntegerBitWidth() == 64) 35 if (getType().getIntegerBitWidth() == 128) 38 if (getType().getIntegerBitWidth() == 128) 45 CHECK(getType().isUnsignedIntegerTy()); 48 if (getType().getIntegerBitWidth() == 64) 51 if (getType().getIntegerBitWidth() == 128) 54 if (getType().getIntegerBitWidth() == 128) 61 if (getType() [all...] |
H A D | ubsan_value.h | 153 CHECK(getType().isIntegerTy()); 155 const unsigned Bits = getType().getIntegerBitWidth(); 161 CHECK(getType().isFloatTy()); 163 const unsigned Bits = getType().getFloatBitWidth(); 170 const TypeDescriptor &getType() const { return Type; } function in class:__ubsan::Value 183 return getType().isSignedIntegerTy() && getSIntValue() == -1; 188 return getType().isSignedIntegerTy() && getSIntValue() < 0;
|
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 34 ParamTys.push_back(I->getType()); 42 switch((int)Fn.arg_begin()->getType()->getTypeID()) { 55 Fn.arg_begin()->getType()); 74 ParamTys.push_back((*I)->getType()); 167 assert(V->getType()->isIntegerTy() && "Can't bswap a non-integer type!"); 169 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); 176 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), 178 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), 184 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), 186 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), [all...] |
/freebsd-11.0-release/contrib/llvm/lib/DebugInfo/PDB/ |
H A D | PDBSymbolData.cpp | 23 std::unique_ptr<PDBSymbol> PDBSymbolData::getType() const { function in class:PDBSymbolData
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 33 return ConstantInt::get(Val->getType(), 0); 83 PointerType *PTy = cast<PointerType>(CI.getType()); 129 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); 135 Value *Off = ConstantInt::get(AI.getArraySize()->getType(), 151 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); 196 if (I->getOperand(0)->getType() == Ty) 238 Type *SrcTy = CI->getOperand(0)->getType(); // A from above 239 Type *MidTy = CI->getType(); // B from above 270 if (V->getType() == Ty || isa<Constant>(V)) return false; 295 isEliminableCastPair(CSrc, CI.getOpcode(), CI.getType(), D [all...] |
H A D | InstCombineCalls.cpp | 91 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace(); 93 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace(); 108 Type *SrcETy = cast<PointerType>(StrippedDest->getType()) 153 MI->setArgOperand(2, Constant::getNullValue(MemOpLength->getType())); 168 if (!LenC || !FillC || !FillC->getType()->isIntegerTy(8)) 179 unsigned DstAddrSp = cast<PointerType>(Dest->getType())->getAddressSpace(); 193 MI->setLength(Constant::getNullValue(LenC->getType())); 261 auto VT = cast<VectorType>(CDV->getType()); 278 auto VT = cast<VectorType>(Vec->getType()); 313 VectorType *SrcTy = cast<VectorType>(II.getArgOperand(0)->getType()); [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerKernelArgs.cpp | 146 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); 166 if (Ptr->getType()->getPointerAddressSpace() == ADDRESS_SPACE_GLOBAL) 182 Ptr, PointerType::get(Ptr->getType()->getPointerElementType(), 185 Value *PtrInGeneric = new AddrSpaceCastInst(PtrInGlobal, Ptr->getType(), 205 if (LI->getType()->isPointerTy()) { 221 if (Arg.getType()->isPointerTy()) {
|
H A D | NVPTXLowerAggrCopies.cpp | 64 Type *TypeOfCopyLen = CopyLen->getType(); 76 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace(); 77 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); 135 Type *TypeOfCopyLen = CopyLen->getType(); 220 unsigned dstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace(); 222 PointerType::get(SetValue->getType(), dstAS)); 225 PHINode *LoopIndex = LoopBuilder.CreatePHI(CopyLen->getType(), 0); 226 LoopIndex->addIncoming(ConstantInt::get(CopyLen->getType(), 0), OrigBB); 230 LoopBuilder.CreateInBoundsGEP(SetValue->getType(), DstAddr, LoopIndex), 234 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(CopyLen->getType(), [all...] |
/freebsd-11.0-release/contrib/llvm/lib/MC/ |
H A D | MCAsmInfoDarwin.cpp | 29 if (SMO.getType() == MachO::S_CSTRING_LITERALS) 39 switch (SMO.getType()) {
|
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/ |
H A D | SITypeRewriter.cpp | 76 Type *PtrTy = Ptr->getType(); 88 Value *BitCastLoad = Builder.CreateBitCast(Load, I.getType()); 107 if (Arg->getType() == v16i8) { 112 } else if (Arg->getType()->isVectorTy() && 113 Arg->getType()->getVectorNumElements() == 1 && 114 Arg->getType()->getVectorElementType() == 116 Type *ElementTy = Arg->getType()->getVectorElementType(); 126 Types.push_back(Arg->getType());
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | Address.h | 44 llvm::PointerType *getType() const { function in class:clang::CodeGen::Address 45 return llvm::cast<llvm::PointerType>(getPointer()->getType()); 53 return getType()->getElementType(); 58 return getType()->getAddressSpace();
|
H A D | CGExprAgg.cpp | 127 if (E->getDecl()->getType()->isReferenceType()) { 130 EmitFinalDestCopy(E->getType(), result.getReferenceLValue(CGF, E)); 189 return EmitFinalDestCopy(E->getType(), LV); 192 CGF.EmitPseudoObjectRValue(E, EnsureSlot(E->getType())); 203 EmitFinalDestCopy(E->getType(), Res); 219 if (LV.getType()->isAtomicType() || CGF.LValueIsSuitableForInlineAtomic(LV)) { 224 EmitFinalDestCopy(E->getType(), LV); 264 EmitFinalDestCopy(E->getType(), src); 324 Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); 328 RecordDecl *Record = E->getType() [all...] |
H A D | CGExprConstant.cpp | 85 CGM.getDataLayout().getABITypeAlignment(C->getType())); 90 CGM.getDataLayout().getTypeAllocSize(C->getType())); 235 if (!isa<llvm::IntegerType>(LastElt->getType())) { 238 assert(isa<llvm::ArrayType>(LastElt->getType()) && 240 llvm::ArrayType *AT = cast<llvm::ArrayType>(LastElt->getType()); 253 Elements.back()->getType()->isIntegerTy(CharWidth) && 335 CGM.getDataLayout().getABITypeAlignment(C->getType())); 366 RecordDecl *RD = ILE->getType()->getAs<RecordType>()->getDecl(); 387 Field->getType(), CGF); 389 EltInit = CGM.EmitNullConstant(Field->getType()); [all...] |
H A D | CGExpr.cpp | 45 cast<llvm::PointerType>(value->getType())->getAddressSpace(); 51 if (value->getType() == destType) return value; 111 if (const MemberPointerType *MPT = E->getType()->getAs<MemberPointerType>()) { 118 if (!E->getType()->isAnyComplexType()) 119 return EmitScalarConversion(EmitScalarExpr(E), E->getType(), BoolTy, Loc); 121 return EmitComplexToScalarConversion(EmitComplexExpr(E), E->getType(), BoolTy, 142 switch (getEvaluationKind(E->getType())) { 149 aggSlot = CreateAggTemp(E->getType(), "agg-temp"); 161 if (hasAggregateEvaluationKind(E->getType())) 162 AggSlot = CreateAggTemp(E->getType(), "ag [all...] |
/freebsd-11.0-release/contrib/llvm/lib/IR/ |
H A D | Instructions.cpp | 63 if (Op1->getType() != Op2->getType()) 66 if (Op1->getType()->isTokenTy()) 69 if (VectorType *VT = dyn_cast<VectorType>(Op0->getType())) { 73 VectorType *ET = dyn_cast<VectorType>(Op1->getType()); 79 } else if (Op0->getType() != Type::getInt1Ty(Op0->getContext())) { 93 : Instruction(PN.getType(), Instruction::PHI, nullptr, PN.getNumOperands()), 121 replaceAllUsesWith(UndefValue::get(getType())); 153 return UndefValue::get(getType()); 174 : Instruction(LP.getType(), Instructio [all...] |
H A D | Constants.cpp | 62 if (getType()->isFPOrFPVectorTy()) 293 assert(isa<IntegerType>(Elt->getType()) && "Index must be an integer"); 341 assert(C->getType()->isFirstClassType() && "Cannot evaluate aggregate vals!"); 577 assert(Slot->getType() == IntegerType::get(Context, V.getBitWidth())); 606 assert(C->getType() == Ty->getScalarType() && 773 return Constant::getNullValue(getType()->getSequentialElementType()); 779 return Constant::getNullValue(getType()->getStructElementType(Elt)); 785 if (isa<SequentialType>(getType())) 793 if (isa<SequentialType>(getType())) 799 Type *Ty = getType(); [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | CtorUtils.cpp | 40 ArrayType::get(OldCA->getType()->getElementType(), CAList.size()); 44 if (CA->getType() == OldCA->getType()) { 51 new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(), 59 if (V->getType() != GCL->getType()) 60 V = ConstantExpr::getBitCast(V, GCL->getType());
|
/freebsd-11.0-release/contrib/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 93 !I.getArgOperand(0)->getType()->isFloatingPointTy() || 94 I.getType() != I.getArgOperand(0)->getType() || !I.onlyReadsMemory()) 112 !I.getArgOperand(0)->getType()->isFloatingPointTy() || 113 !I.getArgOperand(1)->getType()->isFloatingPointTy() || 114 I.getType() != I.getArgOperand(0)->getType() || 115 I.getType() != I.getArgOperand(1)->getType() || !I.onlyReadsMemory()) 235 cast<PointerType>(Gep->getType() [all...] |
H A D | ScalarEvolutionExpander.cpp | 56 if (U->getType() == Ty) 69 CI->setOperand(0, UndefValue::get(V->getType())); 120 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) && 125 if (V->getType() == Ty) 128 if (CI->getOperand(0)->getType() == Ty) 134 SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(V->getType())) { 138 SE.getTypeSizeInBits(CI->getType()) == 139 SE.getTypeSizeInBits(CI->getOperand(0)->getType())) 144 SE.getTypeSizeInBits(CE->getType()) == 145 SE.getTypeSizeInBits(CE->getOperand(0)->getType())) [all...] |
H A D | MemoryLocation.cpp | 27 DL.getTypeStoreSize(LI->getType()), AATags); 36 DL.getTypeStoreSize(SI->getValueOperand()->getType()), 54 DL.getTypeStoreSize(CXI->getCompareOperand()->getType()), AATags); 63 DL.getTypeStoreSize(RMWI->getValOperand()->getType()), 149 return MemoryLocation(Arg, DL.getTypeStoreSize(II->getType()), AATags); 154 Arg, DL.getTypeStoreSize(II->getArgOperand(1)->getType()), AATags);
|
H A D | CostModel.cpp | 147 SmallVector<int, 32> Mask(SI->getType()->getVectorNumElements(), -1); 169 assert(BinOp->getType()->isVectorTy() && "Expecting a vector type"); 256 Type *VecTy = ReduxRoot->getOperand(0)->getType(); 320 Type *VecTy = ReduxRoot->getOperand(0)->getType(); 413 return TTI->getArithmeticInstrCost(I->getOpcode(), I->getType(), Op1VK, 418 Type *CondTy = SI->getCondition()->getType(); 419 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy); 423 Type *ValTy = I->getOperand(0)->getType(); 428 Type *ValTy = SI->getValueOperand()->getType(); 435 return TTI->getMemoryOpCost(I->getOpcode(), I->getType(), [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/ |
H A D | AArch64AddressTypePromotion.cpp | 170 if (Inst->getType()->getIntegerBitWidth() >= 171 Opnd->getOperand(0)->getType()->getIntegerBitWidth() && 172 Inst->getOperand(0)->getType()->getIntegerBitWidth() <= 186 (Inst->getType() == ConsideredSExtType || Inst->hasOneUse())) 217 if (SExt->getType() != ConsideredSExtType) 307 Inst->mutateType(SExt->getType()); 317 if (Inst->getOperand(OpIdx)->getType() == SExt->getType() || 326 Inst->setOperand(OpIdx, ConstantInt::getSigned(SExt->getType(), 333 Inst->setOperand(OpIdx, UndefValue::get(SExt->getType())); [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | DynamicTypeInfo.h | 34 QualType getType() const { return T; } function in class:clang::ento::DynamicTypeInfo
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 117 /* T = */ D->getType(), 133 if (Arg->getType() == Ty) 153 IVar->getType(), SourceLocation(), 178 QualType PredicateQPtrTy = Predicate->getType(); 188 QualType Ty = Block->getType(); 254 QualType Ty = PV->getType(); 296 QualType OldValueTy = OldValue->getType(); 299 QualType NewValueTy = NewValue->getType(); 304 QualType TheValueTy = TheValue->getType(); 419 if (!Ctx.hasSameUnqualifiedType(IVar->getType(), [all...] |
/freebsd-11.0-release/contrib/llvm/include/llvm/MC/ |
H A D | MCSymbolELF.h | 34 unsigned getType() const;
|