HomeSort by: relevance | last modified time | path
    Searched refs:getType (Results 1 - 25 of 1134) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
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().isUnsignedIntegerTy()
    [all...]
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; }
183 return getType().isSignedIntegerTy() && getSIntValue() == -1;
188 return getType().isSignedIntegerTy() && getSIntValue() < 0;
  /src/external/gpl3/gcc/dist/libsanitizer/ubsan/
ubsan_value.cpp 69 CHECK(getType().isSignedIntegerTy());
74 sizeof(SIntMax) * 8 - getType().getIntegerBitWidth();
77 if (getType().getIntegerBitWidth() == 64)
80 if (getType().getIntegerBitWidth() == 128)
83 if (getType().getIntegerBitWidth() == 128)
90 CHECK(getType().isUnsignedIntegerTy());
93 if (getType().getIntegerBitWidth() == 64)
96 if (getType().getIntegerBitWidth() == 128)
99 if (getType().getIntegerBitWidth() == 128)
106 if (getType().isUnsignedIntegerTy()
    [all...]
ubsan_value.h 155 CHECK(getType().isIntegerTy());
157 const unsigned Bits = getType().getIntegerBitWidth();
163 CHECK(getType().isFloatTy());
165 const unsigned Bits = getType().getFloatBitWidth();
172 const TypeDescriptor &getType() const { return Type; }
185 return getType().isSignedIntegerTy() && getSIntValue() == -1;
190 return getType().isSignedIntegerTy() && getSIntValue() < 0;
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_value.cpp 71 CHECK(getType().isSignedIntegerTy());
76 sizeof(SIntMax) * 8 - getType().getIntegerBitWidth();
79 if (getType().getIntegerBitWidth() == 64)
82 if (getType().getIntegerBitWidth() == 128)
85 if (getType().getIntegerBitWidth() == 128)
92 CHECK(getType().isUnsignedIntegerTy());
95 if (getType().getIntegerBitWidth() == 64)
98 if (getType().getIntegerBitWidth() == 128)
101 if (getType().getIntegerBitWidth() == 128)
108 if (getType().isUnsignedIntegerTy()
    [all...]
ubsan_value.h 155 CHECK(getType().isIntegerTy());
157 const unsigned Bits = getType().getIntegerBitWidth();
163 CHECK(getType().isFloatTy());
165 const unsigned Bits = getType().getFloatBitWidth();
172 const TypeDescriptor &getType() const { return Type; }
185 return getType().isSignedIntegerTy() && getSIntValue() == -1;
190 return getType().isSignedIntegerTy() && getSIntValue() < 0;
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
MatrixBuilder.h 39 assert((LHS->getType()->isVectorTy() || RHS->getType()->isVectorTy()) &&
41 if (LHS->getType()->isVectorTy() && !RHS->getType()->isVectorTy()) {
42 assert(!isa<ScalableVectorType>(LHS->getType()) &&
45 cast<VectorType>(LHS->getType())->getElementCount(), RHS,
47 } else if (!LHS->getType()->isVectorTy() && RHS->getType()->isVectorTy()) {
48 assert(!isa<ScalableVectorType>(RHS->getType()) &&
51 cast<VectorType>(RHS->getType())->getElementCount(), LHS
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachineStableHash.cpp 63 switch (MO.getType()) {
71 return stable_hash_combine(MO.getType(), MO.getReg(), MO.getSubReg(),
74 return stable_hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm());
81 return hash_combine(MO.getType(), MO.getTargetFlags(), ValHash);
101 return stable_hash_combine(MO.getType(), MO.getTargetFlags(),
110 return stable_hash_combine(MO.getType(), MO.getTargetFlags(),
114 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(),
119 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getRegMask());
128 return hash_combine(MO.getType(), MO.getTargetFlags(),
134 return hash_combine(MO.getType(), MO.getTargetFlags()
    [all...]
IntrinsicLowering.cpp 39 ParamTys.push_back((*I)->getType());
54 assert(V->getType()->isIntOrIntVectorTy() && "Can't bswap a non-integer type!");
56 unsigned BitSize = V->getType()->getScalarSizeInBits();
63 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8),
65 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8),
71 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24),
73 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8),
75 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8),
77 Value *Tmp1 = Builder.CreateLShr(V,ConstantInt::get(V->getType(), 24),
80 ConstantInt::get(V->getType(), 0xFF0000)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/FuzzMutate/
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()->getStructNumElements() > 0
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/
PDBSymbolTypeFriend.h 27 FORWARD_SYMBOL_ID_METHOD(getType)
PDBSymbolTypeFunctionArg.h 27 FORWARD_SYMBOL_ID_METHOD(getType)
PDBSymbolTypeVTable.h 29 FORWARD_SYMBOL_ID_METHOD(getType)
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Constants.cpp 57 if (getType()->isFPOrFPVectorTy())
163 if (auto *VTy = dyn_cast<VectorType>(this->getType())) {
213 if (auto *VTy = dyn_cast<VectorType>(this->getType())) {
230 auto *VTy = dyn_cast<FixedVectorType>(getType());
244 auto *VTy = dyn_cast<FixedVectorType>(getType());
258 auto *VTy = dyn_cast<FixedVectorType>(getType());
272 auto *VTy = dyn_cast<FixedVectorType>(getType());
289 auto *VTy = dyn_cast<VectorType>(getType());
290 if (!isa<Constant>(Y) || !VTy || VTy != Y->getType())
310 if (auto *VTy = dyn_cast<VectorType>(C->getType())) {
    [all...]
TypeFinder.cpp 36 incorporateType(G.getType());
43 incorporateType(A.getType());
51 incorporateType(FI.getType());
63 incorporateType(I.getType());
136 incorporateType(V->getType());
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
MVEGatherScatterLowering.cpp 187 unsigned OffsetElemSize = cast<FixedVectorType>(Offsets->getType())
204 if (isa<FixedVectorType>(ConstOff->getType())) {
229 if (GEPPtr->getType()->isVectorTy() ||
230 !isa<FixedVectorType>(Offsets->getType()))
240 cast<FixedVectorType>(Offsets->getType())->getNumElements();
247 FixedVectorType *OffsetType = cast<FixedVectorType>(Offsets->getType());
259 if (Ty != Offsets->getType()) {
275 auto *BCTy = cast<FixedVectorType>(BitCast->getType());
276 auto *BCSrcTy = cast<FixedVectorType>(BitCast->getOperand(0)->getType());
358 auto *Ty = cast<FixedVectorType>(I->getType());
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ScalarEvolutionDivision.cpp 138 Type *Ty = Denominator->getType();
139 if (Ty != StartQ->getType() || Ty != StartR->getType() ||
140 Ty != StepQ->getType() || Ty != StepR->getType())
150 Type *Ty = Denominator->getType();
157 if (Ty != Q->getType() || Ty != R->getType())
176 Type *Ty = Denominator->getType();
181 if (Ty != Op->getType())
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
Flang.cpp 74 if (JA.getType() == types::TY_Nothing) {
76 } else if (JA.getType() == types::TY_AST) {
78 } else if (JA.getType() == types::TY_LLVM_IR ||
79 JA.getType() == types::TY_LTO_IR) {
81 } else if (JA.getType() == types::TY_LLVM_BC ||
82 JA.getType() == types::TY_LTO_BC) {
84 } else if (JA.getType() == types::TY_PP_Asm) {
96 types::ID InputType = Input.getType();
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
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();
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
TypeCollection.h 27 virtual CVType getType(TypeIndex Index) = 0;
39 Func(N, getType(N));
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCAsmInfoDarwin.cpp 29 if (SMO.getType() == MachO::S_CSTRING_LITERALS)
38 switch (SMO.getType()) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
InferAddressSpaces.cpp 262 I2P->getOperand(0)->getType(), I2P->getType(),
265 P2I->getOperand(0)->getType(), P2I->getType(),
268 P2I->getOperand(0)->getType()->getPointerAddressSpace(),
269 I2P->getType()->getPointerAddressSpace());
283 assert(Op->getType()->isPointerTy());
290 return Op->getType()->isPointerTy();
345 Type *DestTy = II->getType();
346 Type *SrcTy = NewV->getType();
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
Address.h 43 llvm::PointerType *getType() const {
44 return llvm::cast<llvm::PointerType>(getPointer()->getType());
52 return getType()->getElementType();
57 return getType()->getAddressSpace();
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
StripGCRelocates.cpp 48 if (GCRel->getType() != OrigPtr->getType())
49 ReplaceGCRel = new BitCastInst(OrigPtr, GCRel->getType(), "cast", GCRel);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombinePHI.cpp 106 if (!PN.getType()->isIntegerTy())
137 DL.getTypeSizeInBits(IntToPtr->getOperand(0)->getType()))
153 if (isa<IntToPtrInst>(U) && U->getType() == IntToPtr->getType() &&
200 if (PtrPHI == &PN || PtrPHI->getType() != IntToPtr->getType())
216 assert(MatchingPtrPHI->getType() == IntToPtr->getType() &&
220 IntToPtr->getOperand(0)->getType());
225 return (V->getType() != IntToPtr->getType()) || isa<IntToPtrInst>(V)
    [all...]

Completed in 62 milliseconds

1 2 3 4 5 6 7 8 91011>>