/external/clang/lib/Analysis/ |
CocoaConventions.cpp | 59 bool cocoa::isCocoaObjectRef(QualType Ty) { 60 if (!Ty->isObjCObjectPointerType()) 63 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>();
|
/external/llvm/bindings/ocaml/executionengine/ |
executionengine_ocaml.c | 90 CAMLprim value llvm_genericvalue_of_float(LLVMTypeRef Ty, value N) { 93 LLVMCreateGenericValueOfFloat(Ty, Double_val(N)))); 103 CAMLprim value llvm_genericvalue_of_int(LLVMTypeRef Ty, value Int) { 104 return alloc_generic_value(LLVMCreateGenericValueOfInt(Ty, Int_val(Int), 1)); 108 CAMLprim value llvm_genericvalue_of_int32(LLVMTypeRef Ty, value Int32) { 111 LLVMCreateGenericValueOfInt(Ty, Int32_val(Int32), 1))); 115 CAMLprim value llvm_genericvalue_of_nativeint(LLVMTypeRef Ty, value NatInt) { 118 LLVMCreateGenericValueOfInt(Ty, Nativeint_val(NatInt), 1))); 122 CAMLprim value llvm_genericvalue_of_int64(LLVMTypeRef Ty, value Int64) { 125 LLVMCreateGenericValueOfInt(Ty, Int64_val(Int64), 1))) [all...] |
/external/llvm/include/llvm/Analysis/ |
FindUsedTypes.h | 48 void IncorporateType(Type *Ty);
|
/external/llvm/lib/IR/ |
Mangler.cpp | 68 Type *Ty = AI->getType(); 71 Ty = cast<PointerType>(Ty)->getElementType(); 73 ArgWords += ((TD.getTypeAllocSize(Ty) + 3)/4)*4;
|
DIBuilder.cpp | 362 DIDerivedType DIBuilder::createTypedef(DIType Ty, StringRef Name, DIFile File, 375 Ty.getRef() 381 DIDerivedType DIBuilder::createFriend(DIType Ty, DIType FriendTy) { 383 assert(Ty.isType() && "Invalid type!"); 388 Ty.getRef(), 402 DIDerivedType DIBuilder::createInheritance(DIType Ty, DIType BaseTy, 405 assert(Ty.isType() && "Unable to create inheritance"); 410 Ty.getRef(), 428 DIType Ty) { 440 Ty.getRef( [all...] |
ConstantsContext.h | 45 UnaryConstantExpr(unsigned Opcode, Constant *C, Type *Ty) 46 : ConstantExpr(Ty, Opcode, &Op<0>(), 1) { 247 CompareConstantExpr(Type *ty, Instruction::OtherOps opc, 249 : ConstantExpr(ty, opc, &Op<0>(), 2), predicate(pred) { 405 static ConstantClass *create(TypeClass *Ty, const ValType &V) { 406 return new(ConstantTraits<ValType>::uses(V)) ConstantClass(Ty, V); 412 static ConstantClass *create(TypeClass *Ty, ArrayRef<Constant*> V) { 413 return new(V.size()) ConstantClass(Ty, V); 427 static ConstantExpr *create(Type *Ty, const ExprMapKeyType &V, 430 return new UnaryConstantExpr(V.opcode, V.operands[0], Ty); [all...] |
Module.cpp | 98 FunctionType *Ty, 104 Function *New = Function::Create(Ty, GlobalVariable::ExternalLinkage, Name); 113 if (F->getType() != PointerType::getUnqual(Ty)) 114 return ConstantExpr::getBitCast(F, PointerType::getUnqual(Ty)); 121 FunctionType *Ty) { 122 return getOrInsertFunction(Name, Ty, AttributeSet()); 199 Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) { 205 new GlobalVariable(*this, Ty, false, GlobalVariable::ExternalLinkage, 213 PointerType *PTy = PointerType::get(Ty, GVTy->getPointerAddressSpace());
|
/external/llvm/include/llvm/ADT/ |
PointerIntPair.h | 162 typedef PointerIntPair<PointerTy, IntBits, IntType> Ty; 163 static Ty getEmptyKey() { 165 Val <<= PointerLikeTypeTraits<Ty>::NumLowBitsAvailable; 166 return Ty::getFromOpaqueValue(reinterpret_cast<void *>(Val)); 168 static Ty getTombstoneKey() { 171 return Ty::getFromOpaqueValue(reinterpret_cast<void *>(Val)); 173 static unsigned getHashValue(Ty V) { 177 static bool isEqual(const Ty &LHS, const Ty &RHS) { return LHS == RHS; }
|
/external/llvm/include/llvm/CodeGen/ |
MachineFunction.h | 234 template<typename Ty> 235 Ty *getInfo() { 237 // This should be just `new (Allocator.Allocate<Ty>()) Ty(*this)', but 239 Ty *Loc = static_cast<Ty*>(Allocator.Allocate(sizeof(Ty), 240 AlignOf<Ty>::Alignment)); 241 MFInfo = new (Loc) Ty(*this); 243 return static_cast<Ty*>(MFInfo) [all...] |
MachineModuleInfo.h | 202 template<typename Ty> 203 Ty &getObjFileInfo() { 205 ObjFileMMI = new Ty(*this); 206 return *static_cast<Ty*>(ObjFileMMI); 209 template<typename Ty> 210 const Ty &getObjFileInfo() const { 211 return const_cast<MachineModuleInfo*>(this)->getObjFileInfo<Ty>();
|
/external/llvm/lib/Analysis/ |
ScalarEvolutionExpander.cpp | 30 /// ReuseOrCreateCast - Arrange for there to be a cast of V to Ty at IP, 34 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, 52 if (U->getType() == Ty) 62 Ret = CastInst::Create(Op, V, Ty, "", IP); 74 Ret = CastInst::Create(Op, V, Ty, V->getName(), IP); 88 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { 89 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false); 94 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) && 99 if (V->getType() == Ty) 102 if (CI->getOperand(0)->getType() == Ty) [all...] |
/external/clang/lib/CodeGen/ |
CGBuiltin.cpp | 48 llvm::FunctionType *Ty = 51 return GetOrCreateLLVMFunction(Name, Ty, D, /*ForVTable=*/false); 410 Value *Ty = EmitScalarExpr(E->getArg(1)); 411 ConstantInt *CI = dyn_cast<ConstantInt>(Ty); 559 llvm::Type *Ty = ConvertType(E->getArg(5)->getType()); 571 Value *IsZero = Builder.CreateFCmpOEQ(V, Constant::getNullValue(Ty), 762 llvm::IntegerType *Ty 767 return RValue::get(llvm::UndefValue::get(Ty)); 769 return RValue::get(llvm::ConstantInt::get(Ty, Column, true)); [all...] |
TargetInfo.h | 128 llvm::Type *Ty) const { 129 return Ty;
|
ABIInfo.h | 68 /// \arg Ty from the va_list pointed to by \arg VAListAddr. 74 virtual llvm::Value *EmitVAArg(llvm::Value *VAListAddr, QualType Ty,
|
/external/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 153 Type *Ty = Type::getIntNTy(M.getContext(), BitSize); 154 Type *PtrTy = Ty->getPointerTo(); 158 AtomicLoadName, Ty, PtrTy, OrdTy, NULL)); 163 AtomicStoreName, IRB.getVoidTy(), PtrTy, Ty, OrdTy, 188 RMWName, Ty, PtrTy, Ty, OrdTy, NULL)); 194 AtomicCASName, Ty, PtrTy, Ty, Ty, OrdTy, OrdTy, NULL)); 480 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize) [all...] |
/external/llvm/bindings/ocaml/llvm/ |
llvm_ocaml.c | 216 CAMLprim value llvm_classify_type(LLVMTypeRef Ty) { 217 return Val_int(LLVMGetTypeKind(Ty)); 220 CAMLprim value llvm_type_is_sized(LLVMTypeRef Ty) { 221 return Val_bool(LLVMTypeIsSized(Ty)); 225 CAMLprim LLVMContextRef llvm_type_context(LLVMTypeRef Ty) { 226 return LLVMGetTypeContext(Ty); 358 CAMLprim value llvm_struct_set_body(LLVMTypeRef Ty, 361 LLVMStructSetBody(Ty, (LLVMTypeRef *) ElementTypes, 367 CAMLprim value llvm_struct_name(LLVMTypeRef Ty) 370 const char *C = LLVMGetStructName(Ty); [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.h | 84 Constant *getConstantFwdRef(unsigned Idx, Type *Ty); 85 Value *getValueFwdRef(unsigned Idx, Type *Ty); 261 Value *getFnValueByID(unsigned ID, Type *Ty) { 262 if (Ty && Ty->isMetadataTy()) 264 return ValueList.getValueFwdRef(ID, Ty); 297 Type *Ty, Value *&ResVal) { 300 ResVal = getFnValueByID(ValNo, Ty);
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.h | 84 Constant *getConstantFwdRef(unsigned Idx, Type *Ty); 85 Value *getValueFwdRef(unsigned Idx, Type *Ty); 256 Value *getFnValueByID(unsigned ID, Type *Ty) { 257 if (Ty && Ty->isMetadataTy()) 259 return ValueList.getValueFwdRef(ID, Ty); 292 Type *Ty, Value *&ResVal) { 295 ResVal = getFnValueByID(ValNo, Ty);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfUnit.cpp | 456 void DwarfUnit::addSourceLine(DIE &Die, DIType Ty) { 457 assert(Ty.isType()); 459 addSourceLine(Die, Ty.getLineNumber(), Ty.getFilename(), Ty.getDirectory()); 464 void DwarfUnit::addSourceLine(DIE &Die, DIObjCProperty Ty) { 465 assert(Ty.isObjCProperty()); 467 DIFile File = Ty.getFile(); 468 addSourceLine(Die, Ty.getLineNumber(), File.getFilename(), 676 DIType Ty = DV.getType() [all...] |
DwarfUnit.h | 338 void addSourceLine(DIE &Die, DIType Ty); 340 void addSourceLine(DIE &Die, DIObjCProperty Ty); 348 void addConstantValue(DIE &Die, const MachineOperand &MO, DIType Ty); 349 void addConstantValue(DIE &Die, const ConstantInt *CI, DIType Ty); 350 void addConstantValue(DIE &Die, const APInt &Val, DIType Ty); 393 void addType(DIE &Entity, DIType Ty, 411 DIE *createTypeDIE(DICompositeType Ty); 524 void updateAcceleratorTables(DIScope Context, DIType Ty, const DIE &TyDIE); 562 const DIE *Ty; 573 void setType(const DIE *Ty) { this->Ty = Ty; [all...] |
/external/clang/lib/Frontend/ |
InitPreprocessor.cpp | 193 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty, 195 DefineTypeSize(MacroName, TI.getTypeWidth(Ty), TI.getTypeConstantSuffix(Ty), 196 TI.isTypeSigned(Ty), Builder); 199 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, 201 Builder.defineMacro(MacroName, TargetInfo::getTypeName(Ty)); 204 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, 206 Builder.defineMacro(MacroName, Twine(TI.getTypeWidth(Ty))); 215 static void DefineExactWidthIntType(TargetInfo::IntType Ty, 218 int TypeWidth = TI.getTypeWidth(Ty); [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
BoolAssignmentChecker.cpp | 42 static bool isBooleanType(QualType Ty) { 43 if (Ty->isBooleanType()) // C++ or C99 46 if (const TypedefType *TT = Ty->getAs<TypedefType>())
|
/external/llvm/lib/Transforms/IPO/ |
ExtractGV.cpp | 125 Type *Ty = CurI->getType()->getElementType(); 129 if (FunctionType *FTy = dyn_cast<FunctionType>(Ty)) { 135 new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage,
|
/external/llvm/lib/Target/Mips/ |
MipsSEISelLowering.cpp | 243 addMSAIntType(MVT::SimpleValueType Ty, const TargetRegisterClass *RC) { 244 addRegisterClass(Ty, RC); 248 setOperationAction(Opc, Ty, Expand); 250 setOperationAction(ISD::BITCAST, Ty, Legal); 251 setOperationAction(ISD::LOAD, Ty, Legal); 252 setOperationAction(ISD::STORE, Ty, Legal); 253 setOperationAction(ISD::EXTRACT_VECTOR_ELT, Ty, Custom); 254 setOperationAction(ISD::INSERT_VECTOR_ELT, Ty, Legal); 255 setOperationAction(ISD::BUILD_VECTOR, Ty, Custom); 257 setOperationAction(ISD::ADD, Ty, Legal) [all...] |
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 225 Type *Ty = pickType(); 226 return PointerType::get(Ty, 0); 235 Type *Ty; 239 Ty = pickScalarType(); 240 } while (Ty->isX86_MMXTy()); 244 return VectorType::get(Ty, width); 365 Type *Ty = pickType(); 367 if (Ty->isVectorTy()) { 369 case 0: if (Ty->getScalarType()->isIntegerTy()) 370 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); [all...] |