/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGObjCRuntime.cpp | 43 RL = &CGM.getContext().getASTObjCImplementationLayout(ID); 45 RL = &CGM.getContext().getASTObjCInterfaceLayout(Container); 69 CGM.getContext().getCharWidth(); 76 CGM.getContext().getCharWidth(); 120 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth(); 122 uint64_t BitFieldSize = Ivar->getBitWidthValue(CGF.getContext()); 124 CGF.CGM.getContext().toCharUnitsFromBits( 126 CharUnits Alignment = CGF.CGM.getContext().toCharUnitsFromBits(AlignmentBits); 134 CGBitFieldInfo *Info = new (CGF.CGM.getContext()) CGBitFieldInfo( 136 CGF.CGM.getContext() [all...] |
H A D | CGAtomic.cpp | 57 ASTContext &C = CGF.getContext(); 100 CharUnits size = CGF.getContext().toCharUnitsFromBits(AtomicSizeInBits); 123 CGF.getContext(), lvalue.getTBAAInfo()); 330 unsigned Align = CGF.getContext().getTypeAlignInChars(ValTy).getQuantity(); 336 CGF.getContext().VoidPtrTy); 345 CharUnits sizeChars = getContext().getTypeSizeInChars(AtomicTy); 347 CharUnits alignChars = getContext().getTypeAlignInChars(AtomicTy); 352 getContext().toBits(sizeChars) > MaxInlineWidthInBits); 359 LValue lvalue = LValue::MakeAddr(Ptr, AtomicTy, alignChars, getContext()); 412 getContext() [all...] |
H A D | TargetInfo.cpp | 84 ASTContext &ABIInfo::getContext() const { function in class:ABIInfo 85 return CGT.getContext(); 688 uint64_t Size = getContext().getTypeSize(RetTy); 726 if (X86_32ABIInfo::shouldReturnTypeInRegister(RetTy, getContext(), 728 uint64_t Size = getContext().getTypeSize(RetTy); 735 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) 801 if (Align >= 16 && (isSSEVectorType(getContext(), Ty) || 802 isRecordWithSSEVectorType(getContext(), Ty))) 819 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; 834 const Type *T = isSingleElementStruct(Ty, getContext()); [all...] |
H A D | CGCXXABI.cpp | 26 Diags.Report(CGF.getContext().getFullLoc(CGF.CurCodeDecl->getLocation()), 37 return CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); 101 CGM.getContext().getMemberPointerType(MD->getType(), 125 = ImplicitParamDecl::Create(CGM.getContext(), 0, MD->getLocation(), 126 &CGM.getContext().Idents.get("this"), 127 MD->getThisType(CGM.getContext())); 261 getContext().getASTRecordLayout(Derived).getBaseClassOffset(Base);
|
H A D | CGObjC.cpp | 92 ASTContext &Context = CGM.getContext(); 241 CGF.getContext().hasSameType(ExpT, Method->getResultType()) || 452 CGF.getContext().VoidTy, 517 ASTContext &Context = CGF.getContext(); 533 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType()); 626 = CGM.getContext().getTypeInfoInChars(ivarType); 689 CGM.getContext().getObjCGCAttrKind(ivarType))) { 791 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); 798 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); 801 args.add(RValue::get(AtomicHelperFn), CGF.getContext() [all...] |
H A D | CGClass.cpp | 66 ComputeNonVirtualBaseClassOffset(getContext(), ClassDecl, 72 Types.ConvertType(getContext().getPointerDiffType()); 94 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(Derived); 162 ComputeNonVirtualBaseClassOffset(getContext(), VBase ? VBase : Derived, 169 const ASTRecordLayout &layout = getContext().getASTRecordLayout(Derived); 239 getContext().getCanonicalType(getContext().getTagDeclType(Derived)); 314 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(RD); 405 if (BaseInitializerUsesThis(CGF.getContext(), BaseInit->getInit())) 414 CharUnits Alignment = CGF.getContext() [all...] |
/freebsd-9.3-release/contrib/llvm/lib/IR/ |
H A D | Function.cpp | 149 AttributeSet::get(Parent->getContext(), 159 AttributeSet::get(Parent->getContext(), 167 LLVMContext &Function::getContext() const { function in class:Function 168 return getType()->getContext(); 215 setAttributes(Intrinsic::getAttributes(getContext(), Intrinsic::ID(IID))); 231 getContext().pImpl->IntrinsicIDCache.erase(this); 286 PAL = PAL.addAttribute(getContext(), i, attr); 292 PAL = PAL.addAttributes(getContext(), i, attrs); 298 PAL = PAL.removeAttributes(getContext(), i, attrs); 377 getContext() [all...] |
H A D | ConstantFold.cpp | 59 Type *Ty = IntegerType::get(CV->getContext(), 32); 93 IntegerType *FakeIntPtrTy = Type::getInt64Ty(DstTy->getContext()); 113 Constant::getNullValue(Type::getInt32Ty(DPTy->getContext())); 171 return ConstantFP::get(DestTy->getContext(), 181 return ConstantInt::get(FP->getContext(), 213 return ConstantInt::get(CI->getContext(), V); 264 return Constant::getNullValue(IntegerType::get(CE->getContext(), 286 return Constant::getNullValue(IntegerType::get(CE->getContext(), 302 return Constant::getNullValue(IntegerType::get(CE->getContext(), 322 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(), [all...] |
H A D | Constants.cpp | 116 return ConstantFP::get(Ty->getContext(), 119 return ConstantFP::get(Ty->getContext(), 122 return ConstantFP::get(Ty->getContext(), 125 return ConstantFP::get(Ty->getContext(), 128 return ConstantFP::get(Ty->getContext(), 131 return ConstantFP::get(Ty->getContext(), 150 Constant *C = ConstantInt::get(Ty->getContext(), V); 165 return ConstantInt::get(Ty->getContext(), 171 return ConstantFP::get(Ty->getContext(), FL); 456 return ConstantInt::getTrue(Ty->getContext()); [all...] |
H A D | DebugInfo.cpp | 671 setTypeArray(DIArray(MDNode::get(DbgNode->getContext(), M))); 696 if (!getContext().isSubprogram()) 700 return !DISubprogram(getContext()).describes(CurFn); 738 DIScopeRef DIScope::getContext() const { function in class:DIScope 741 return DIType(DbgNode).getContext(); 744 return DIScopeRef(DISubprogram(DbgNode).getContext()); 747 return DIScopeRef(DILexicalBlock(DbgNode).getContext()); 750 return DIScopeRef(DILexicalBlockFile(DbgNode).getContext()); 753 return DIScopeRef(DINameSpace(DbgNode).getContext()); 891 return getDISubprogram(DILexicalBlockFile(Scope).getContext()); [all...] |
H A D | AutoUpgrade.cpp | 36 if (Arg0Type != VectorType::get(Type::getFloatTy(F->getContext()), 4)) 60 Type::getInt1Ty(F->getContext()) 167 F->setAttributes(Intrinsic::getAttributes(F->getContext(), 182 LLVMContext &C = CI->getContext(); 436 MDNode *ScalarType = MDNode::get(I->getContext(), Elts); 440 Constant::getNullValue(Type::getInt64Ty(I->getContext())), 443 I->setMetadata(LLVMContext::MD_tbaa, MDNode::get(I->getContext(), Elts2)); 447 Constant::getNullValue(Type::getInt64Ty(I->getContext()))}; 448 I->setMetadata(LLVMContext::MD_tbaa, MDNode::get(I->getContext(), Elts)); 461 LLVMContext &Context = V->getContext(); [all...] |
H A D | BasicBlock.cpp | 33 LLVMContext &BasicBlock::getContext() const { function in class:BasicBlock 34 return getType()->getContext(); 71 ConstantInt::get(llvm::Type::getInt32Ty(getContext()), 1); 305 BasicBlock *New = BasicBlock::Create(getContext(), BBName,
|
H A D | Type.cpp | 343 : Type(Result->getContext(), FunctionTyID) { 363 LLVMContextImpl *pImpl = ReturnType->getContext().pImpl; 434 Type **Elts = getContext().pImpl->TypeAllocator.Allocate<Type*>(NumElements); 444 StringMap<StructType *> &SymbolTable = getContext().pImpl->NamedStructTypes; 463 EntryTy *Entry = &getContext().pImpl->NamedStructTypes.GetOrCreateValue(Name); 475 TmpStream << getContext().pImpl->NamedStructTypesUniqueID++; 477 Entry = &getContext().pImpl-> 507 LLVMContext &Ctx = type->getContext(); 537 return create(Elements[0]->getContext(), Elements, Name, isPacked); 543 return create(Elements[0]->getContext(), Element [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Transforms/ObjCARC/ |
H A D | ARCRuntimeEntryPoints.h | 131 LLVMContext &C = TheModule->getContext(); 147 LLVMContext &C = TheModule->getContext(); 165 LLVMContext &C = TheModule->getContext();
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CheckerContext.h | 127 return NB.getContext().blockCount(); 131 return Eng.getContext(); 135 return Eng.getContext().getLangOpts();
|
/freebsd-9.3-release/contrib/llvm/lib/MC/ |
H A D | MCWin64EH.cpp | 55 MCContext &context = streamer.getContext(); 134 MCContext &Context = streamer.getContext(); 146 MCContext &context = streamer.getContext(); 160 MCContext &context = streamer.getContext(); 269 MCContext &context = streamer.getContext(); 278 MCContext &context = streamer.getContext();
|
H A D | MCAsmInfo.cpp | 134 return MCSymbolRefExpr::Create(Sym, Streamer.getContext()); 136 MCContext &Context = Streamer.getContext();
|
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypesGeneric.cpp | 41 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); 96 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); 105 ElemVT = EVT::getIntegerVT(*DAG.getContext(), NewSizeInBits); 106 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); 131 *DAG.getContext(), 152 getTypeForEVT(*DAG.getContext())); 210 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); 217 EVT NVecVT = EVT::getVectorVT(*DAG.getContext(), OldVT, OldElts); 222 EVT::getVectorVT(*DAG.getContext(), 246 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), L [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | Reg2Mem.cpp | 86 new BitCastInst(Constant::getNullValue(Type::getInt32Ty(F.getContext())), 87 Type::getInt32Ty(F.getContext()),
|
/freebsd-9.3-release/contrib/llvm/lib/MC/MCParser/ |
H A D | ELFAsmParser.cpp | 176 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); 201 getStreamer().SwitchSection(getContext().getELFSection( 212 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); 485 getStreamer().SwitchSection(getContext().getELFSection(SectionName, Type, 513 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); 602 MCSymbol *Alias = getContext().GetOrCreateSymbol(AliasName); 603 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); 604 const MCExpr *Value = MCSymbolRefExpr::Create(Sym, getContext()); 621 getContext().getELFSection(".note", ELF::SHT_NOTE, 0, 654 MCSymbol *Alias = getContext() [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 70 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElts); 133 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumDstElt); 146 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElt); 296 C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), TD); 300 C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), TD); 304 C = FoldBitCast(C, Type::getInt16Ty(C->getContext()), TD); 404 MapTy = Type::getInt16PtrTy(C->getContext(), AS); 406 MapTy = Type::getInt32PtrTy(C->getContext(), AS); 408 MapTy = Type::getInt64PtrTy(C->getContext(), AS); 410 MapTy = PointerType::getIntNPtrTy(C->getContext(), [all...] |
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/ |
H A D | ErlangGC.cpp | 57 MCSymbol *Label = MBB.getParent()->getContext().CreateTempSymbol();
|
/freebsd-9.3-release/contrib/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 306 MCSymbolRefExpr::Create(getSymbol(*Mang, GV), getContext()); 323 MCSymbol *PCSym = getContext().CreateTempSymbol(); 325 const MCExpr *PC = MCSymbolRefExpr::Create(PCSym, getContext()); 326 return MCBinaryExpr::CreateSub(Sym, PC, getContext());
|
/freebsd-9.3-release/contrib/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 519 AttributesVec.push_back(AttributeSet::get(F->getContext(), 540 push_back(AttributeSet::get(F->getContext(), Params.size(), B)); 594 AttributesVec.push_back(AttributeSet::get(FTy->getContext(), 612 NF->setAttributes(AttributeSet::get(F->getContext(), AttributesVec)); 641 AttributesVec.push_back(AttributeSet::get(F->getContext(), 656 push_back(AttributeSet::get(F->getContext(), Args.size(), B)); 663 ConstantInt::get(Type::getInt32Ty(F->getContext()), 0), 0 }; 665 Idxs[1] = ConstantInt::get(Type::getInt32Ty(F->getContext()), i); 690 Type::getInt32Ty(F->getContext()) : 691 Type::getInt64Ty(F->getContext())); [all...] |
H A D | DeadArgumentElimination.cpp | 284 AttributesVec.push_back(AttributeSet::get(Fn.getContext(), 286 PAL = AttributeSet::get(Fn.getContext(), AttributesVec); 759 push_back(AttributeSet::get(F->getContext(), Params.size(), B)); 830 NRetTy = StructType::get(STy->getContext(), RetTypes, STy->isPacked()); 837 NRetTy = Type::getVoidTy(F->getContext()); 851 AttributeSet::get(NRetTy->getContext(), AttributeSet::ReturnIndex, 864 AttributesVec.push_back(AttributeSet::get(NRetTy->getContext(), RAttrs)); 867 AttributesVec.push_back(AttributeSet::get(F->getContext(), 871 AttributeSet NewPAL = AttributeSet::get(F->getContext(), AttributesVec); 905 AttributeSet::get(NF->getContext(), AttributeSe [all...] |