/external/llvm/lib/Transforms/Instrumentation/ |
EfficiencySanitizer.cpp | 346 Type *Ty = StructTy->getElementType(i); 349 Ty->print(StrOS); 358 DL.getTypeAllocSize(Ty))); 756 Type *Ty = GetElementPtrInst::getIndexedType(SourceTy, IdxVec); 758 if (isa<ArrayType>(Ty)) { 759 ArrayType *ArrayTy = cast<ArrayType>(Ty); 765 } else if (isa<StructType>(Ty)) { 766 StructTy = cast<StructType>(Ty); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
LoopIdiomRecognize.cpp | [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
LoadStoreVectorizer.cpp | 508 Type *Ty = LI->getType(); 509 if (!VectorType::isValidElementType(Ty->getScalarType())) 514 unsigned TySize = DL.getTypeSizeInBits(Ty); 527 if (isa<VectorType>(Ty) && !all_of(LI->users(), [LI](const User *U) { 544 Type *Ty = SI->getValueOperand()->getType(); 545 if (!VectorType::isValidElementType(Ty->getScalarType())) 550 unsigned TySize = DL.getTypeSizeInBits(Ty); 560 if (isa<VectorType>(Ty) && !all_of(SI->users(), [SI](const User *U) { [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/ |
Record.h | 127 inline raw_ostream &operator<<(raw_ostream &OS, const RecTy &Ty) { 128 Ty.print(OS); 306 // ListRecTy - 'list<Ty>' - Represent a list of values, all of which must be of 308 /// ListRecTy - 'list<Ty>' - Represent a list of values, all of which must 312 RecTy *Ty; 313 explicit ListRecTy(RecTy *T) : Ty(T) {} 317 RecTy *getElementType() const { return Ty; } 347 return RHS->getElementType()->typeIsConvertibleTo(Ty); 522 virtual Init *convertInitializerTo(RecTy *Ty) const = 0; 577 RecTy *Ty; [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
ScalarEvolution.cpp | 300 ScalarEvolution::getConstant(Type *Ty, uint64_t V, bool isSigned) { 301 IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty)); 306 unsigned SCEVTy, const SCEV *op, Type *ty) 307 : SCEV(ID, SCEVTy), Op(op), Ty(ty) {} 310 const SCEV *op, Type *ty) 311 : SCEVCastExpr(ID, scTruncate, op, ty) { 313 (Ty->isIntegerTy() || Ty->isPointerTy()) && 318 const SCEV *op, Type *ty) [all...] |
ScalarEvolutionExpander.cpp | 26 /// ReuseOrCreateCast - Arrange for there to be a cast of V to Ty at IP, 30 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, 37 if (U->getType() == Ty) 45 Instruction *NewCI = CastInst::Create(Op, V, Ty, "", IP); 58 Instruction *I = CastInst::Create(Op, V, Ty, V->getName(), IP); 66 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { 67 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false); 72 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) && 76 if (Op == Instruction::BitCast && V->getType() == Ty) 81 SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(V->getType())) [all...] |
ValueTracking.cpp | 37 static unsigned getBitWidth(Type *Ty, const TargetData *TD) { 38 if (unsigned BitWidth = Ty->getScalarSizeInBits()) 40 assert(isa<PointerType>(Ty) && "Expected a pointer type!"); [all...] |
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 821 Type *Ty = CFP->getType(); 822 if (Ty->isFloatTy() || Ty->isDoubleTy()) { 824 } else if (Ty->isX86_FP80Ty()) { 831 } else if (Ty->isFP128Ty() || Ty->isPPC_FP128Ty()) { [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
DwarfCompileUnit.cpp | 166 void CompileUnit::addSourceLine(DIE *Die, DIType Ty) { 168 if (!Ty.Verify()) 171 unsigned Line = Ty.getLineNumber(); 172 if (Line == 0 || !Ty.getContext().Verify()) 174 unsigned FileID = DD->GetOrCreateSourceID(Ty.getFilename(), Ty.getDirectory()); 355 DIType Ty = DV->getType(); 356 DIType TmpTy = Ty; 357 unsigned Tag = Ty.getTag(); 363 DIDerivedType DTy = DIDerivedType(Ty); [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
FastISel.cpp | 430 Type *Ty = I->getOperand(0)->getType(); 435 if (StructType *StTy = dyn_cast<StructType>(Ty)) { 448 Ty = StTy->getElementType(Field); 450 Ty = cast<SequentialType>(Ty)->getElementType(); 456 TD.getTypeAllocSize(Ty)*cast<ConstantInt>(CI)->getSExtValue(); 466 uint64_t ElementSize = TD.getTypeAllocSize(Ty); [all...] |
LegalizeDAG.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
JITEmitter.cpp | 774 Type *Ty = CPE.getType(); 775 Size += TD->getTypeAllocSize(Ty); [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/ |
CPPBackend.cpp | 143 void printType(Type* Ty); 177 static std::string getTypePrefix(Type *Ty) { 178 switch (Ty->getTypeID()) { 181 return "int" + utostr(cast<IntegerType>(Ty)->getBitWidth()) + "_"; 332 std::string CppWriter::getCppName(Type* Ty) { 334 if (Ty->isPrimitiveType() || Ty->isIntegerTy()) { 335 switch (Ty->getTypeID()) { 338 unsigned BitWidth = cast<IntegerType>(Ty)->getBitWidth(); 355 TypeMap::iterator I = TypeNames.find(Ty); [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/ |
SparcISelLowering.cpp | 634 PointerType *Ty = cast<PointerType>(CalleeFn->arg_begin()->getType()); 635 Type *ElementTy = Ty->getElementType(); [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
ConstantFold.cpp | 330 /// on Ty, with any known factors factored out. If Folded is false, 334 static Constant *getFoldedSizeOf(Type *Ty, Type *DestTy, 336 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 342 if (StructType *STy = dyn_cast<StructType>(Ty)) 366 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) 379 Constant *C = ConstantExpr::getSizeOf(Ty); 387 /// on Ty, with any known factors factored out. If Folded is false, 391 static Constant *getFoldedAlignOf(Type *Ty, Type *DestTy, 395 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 404 if (StructType *STy = dyn_cast<StructType>(Ty)) { [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceAssemblerX86BaseImpl.h | 230 void AssemblerX86Base<TraitsType>::mov(Type Ty, GPRRegister dst, 232 assert(Ty != IceType_i64 && "i64 not supported yet."); 234 if (Ty == IceType_i16) 236 emitRexB(Ty, dst); 237 if (isByteSizedType(Ty)) { 244 emitImmediate(Ty, imm); 249 void AssemblerX86Base<TraitsType>::mov(Type Ty, GPRRegister dst, 252 if (Ty == IceType_i16) 254 emitRexRB(Ty, src, dst); 255 if (isByteSizedType(Ty)) { [all...] |
/external/valgrind/mpi/ |
libmpiwrap.c | 259 static void showTy ( FILE* f, MPI_Datatype ty ) 261 if (ty == MPI_DATATYPE_NULL) fprintf(f,"DATATYPE_NULL"); 262 else if (ty == MPI_BYTE) fprintf(f,"BYTE"); 263 else if (ty == MPI_PACKED) fprintf(f,"PACKED"); 264 else if (ty == MPI_CHAR) fprintf(f,"CHAR"); 265 else if (ty == MPI_SHORT) fprintf(f,"SHORT"); 266 else if (ty == MPI_INT) fprintf(f,"INT"); 267 else if (ty == MPI_LONG) fprintf(f,"LONG"); 268 else if (ty == MPI_FLOAT) fprintf(f,"FLOAT"); 269 else if (ty == MPI_DOUBLE) fprintf(f,"DOUBLE") [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
BitcodeWriter.cpp | 877 Type *Ty = CFP->getType(); 878 if (Ty->isFloatTy() || Ty->isDoubleTy()) { 880 } else if (Ty->isX86_FP80Ty()) { [all...] |
/frameworks/compile/slang/BitWriter_2_9_func/ |
BitcodeWriter.cpp | [all...] |
/frameworks/compile/slang/BitWriter_3_2/ |
BitcodeWriter.cpp | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/ |
TypeLoc.h | 42 // The correctness of this relies on the property that, for Type *Ty, 43 // QualType(Ty, 0).getAsOpaquePtr() == (void*) Ty 44 const void *Ty; 91 TypeLoc() : Ty(nullptr), Data(nullptr) { } 92 TypeLoc(QualType ty, void *opaqueData) 93 : Ty(ty.getAsOpaquePtr()), Data(opaqueData) { } 94 TypeLoc(const Type *ty, void *opaqueData) 95 : Ty(ty), Data(opaqueData) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/ |
DIE.h | 343 Type Ty = isNone; 381 switch (Ty) { 402 switch (Ty) { 420 DIEValue(const DIEValue &X) : Ty(X.Ty), Attribute(X.Attribute), Form(X.Form) { 426 Ty = X.Ty; 437 : Ty(is##T), Attribute(Attribute), Form(Form) { \ 442 : Ty(is##T), Attribute(Attribute), Form(Form) { \ 450 Type getType() const { return Ty; } [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/AST/ |
TypeLoc.h | 42 // The correctness of this relies on the property that, for Type *Ty, 43 // QualType(Ty, 0).getAsOpaquePtr() == (void*) Ty 44 const void *Ty; 91 TypeLoc() : Ty(nullptr), Data(nullptr) { } 92 TypeLoc(QualType ty, void *opaqueData) 93 : Ty(ty.getAsOpaquePtr()), Data(opaqueData) { } 94 TypeLoc(const Type *ty, void *opaqueData) 95 : Ty(ty), Data(opaqueData) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/CodeGen/ |
BasicTTIImpl.h | 47 unsigned getPermuteShuffleOverhead(Type *Ty) { 48 assert(Ty->isVectorTy() && "Can only shuffle vectors"); 57 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { 59 ->getVectorInstrCost(Instruction::InsertElement, Ty, i); 61 ->getVectorInstrCost(Instruction::ExtractElement, Ty, i); 111 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 119 return getTLI()->isLegalAddressingMode(DL, AM, Ty, AddrSpace); 126 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 133 return getTLI()->getScalingFactorCost(DL, AM, Ty, AddrSpace); 148 bool isTypeLegal(Type *Ty) { [all...] |
DIE.h | 343 Type Ty = isNone; 381 switch (Ty) { 402 switch (Ty) { 420 DIEValue(const DIEValue &X) : Ty(X.Ty), Attribute(X.Attribute), Form(X.Form) { 426 Ty = X.Ty; 437 : Ty(is##T), Attribute(Attribute), Form(Form) { \ 442 : Ty(is##T), Attribute(Attribute), Form(Form) { \ 450 Type getType() const { return Ty; } [all...] |