/external/llvm/include/llvm/IR/ |
D | Attributes.h | 30 class AttrBuilder; variable 181 friend class AttrBuilder; 216 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B); 256 const AttrBuilder &Attrs) const; 391 class AttrBuilder { 400 AttrBuilder() 403 explicit AttrBuilder(uint64_t Val) 408 AttrBuilder(const Attribute &A) 413 AttrBuilder(AttributeSet AS, unsigned Idx); 418 AttrBuilder &addAttribute(Attribute::AttrKind Val); [all …]
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 682 const AttrBuilder &B) { in get() 716 for (const AttrBuilder::td_type &TDA : B.td_attrs()) in get() 769 llvm::AttrBuilder B; in addAttribute() 776 llvm::AttrBuilder B; in addAttribute() 794 AttrBuilder B(getSlotAttributes(I), *IdxI); in addAttribute() 841 AttrBuilder B(AS, Index); in addAttributes() 892 AttrBuilder B(AS, Index); in removeAttributes() 910 const AttrBuilder &Attrs) const { in removeAttributes() 933 AttrBuilder B(AS, Index); in removeAttributes() 947 llvm::AttrBuilder B; in addDereferenceableAttr() [all …]
|
D | Core.cpp | 1739 AttrBuilder B(PA); in LLVMAddFunctionAttr() 1752 AttrBuilder B; in LLVMAddTargetDependentFunctionAttr() 1762 AttrBuilder B(PA); in LLVMRemoveFunctionAttr() 1836 AttrBuilder B(PA); in LLVMAddAttribute() 1842 AttrBuilder B(PA); in LLVMRemoveAttribute() 1855 AttrBuilder B; in LLVMSetParamAlignment() 2061 AttrBuilder B(PA); in LLVMAddInstrAttribute() 2071 AttrBuilder B(PA); in LLVMRemoveInstrAttribute() 2081 AttrBuilder B; in LLVMSetInstrParamAlignment()
|
D | Function.cpp | 195 AttrBuilder B(AS, AS.getSlotIndex(0)); in addAttr() 205 AttrBuilder B(AS, AS.getSlotIndex(0)); in removeAttr()
|
D | Verifier.cpp | 1341 Assert(!AttrBuilder(Attrs, Idx) in VerifyParameterAttrs() 2438 static AttrBuilder getParameterABIAttributes(int I, AttributeSet Attrs) { in getParameterABIAttributes() 2442 AttrBuilder Copy; in getParameterABIAttributes() 2482 AttrBuilder CallerABIAttrs = getParameterABIAttributes(I, CallerAttrs); in verifyMustTailCall() 2483 AttrBuilder CalleeABIAttrs = getParameterABIAttributes(I, CalleeAttrs); in verifyMustTailCall()
|
D | Instructions.cpp | 329 AttrBuilder B(attr); in removeAttribute() 662 AttrBuilder B(attr); in removeAttribute()
|
/external/llvm/unittests/ExecutionEngine/Orc/ |
D | IndirectionUtilsTest.cpp | 25 AttrBuilder().addAttribute(Attribute::StructRet))); in TEST() 28 AttrBuilder().addAttribute(Attribute::ByVal))); in TEST() 31 AttrBuilder().addAttribute(Attribute::NoUnwind))); in TEST()
|
/external/llvm/docs/ |
D | HowToUseAttributes.rst | 63 ``AttrBuilder`` 68 ``AttributeSet`` objects. The ``AttrBuilder`` class allows you to add and 72 An ``AttrBuilder`` object is *not* designed to be passed around by value. It 75 Note: It is advised that you do *not* use the ``AttrBuilder::addRawValue()`` 76 method or the ``AttrBuilder(uint64_t Val)`` constructor. These are for
|
/external/llvm/bindings/go/llvm/ |
D | IRBindings.cpp | 27 AttrBuilder B(PA); in LLVMAddFunctionAttr2() 44 AttrBuilder B(PA); in LLVMRemoveFunctionAttr2()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.h | 140 std::map<unsigned, AttrBuilder> NumberedAttrBuilders; 222 bool ParseStringAttribute(AttrBuilder &B); 230 bool ParseOptionalParamAttrs(AttrBuilder &B); 231 bool ParseOptionalReturnAttrs(AttrBuilder &B); 283 bool ParseFnAttributeValuePairs(AttrBuilder &B,
|
D | LLParser.cpp | 90 AttrBuilder B; in ValidateEndOfModule() 98 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule() 118 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule() 129 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule() 919 bool LLParser::ParseFnAttributeValuePairs(AttrBuilder &B, in ParseFnAttributeValuePairs() 1267 bool LLParser::ParseStringAttribute(AttrBuilder &B) { in ParseStringAttribute() 1278 bool LLParser::ParseOptionalParamAttrs(AttrBuilder &B) { in ParseOptionalParamAttrs() 1364 bool LLParser::ParseOptionalReturnAttrs(AttrBuilder &B) { in ParseOptionalReturnAttrs() 1941 AttrBuilder ArgAttrs; in ParseParameterList() 2044 AttrBuilder Attrs; in ParseArgumentList() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 768 AttrBuilder B(PAL, i + 1); in RemoveDeadStuffFromFunction() 857 assert(!AttrBuilder(RAttrs, AttributeSet::ReturnIndex). in RemoveDeadStuffFromFunction() 919 AttrBuilder B(CallPAL, i + 1); in RemoveDeadStuffFromFunction() 936 AttrBuilder B(CallPAL, i + 1); in RemoveDeadStuffFromFunction()
|
D | ArgumentPromotion.cpp | 660 AttrBuilder B(attrs, ArgIndex); in DoPromotion() 780 AttrBuilder B(CallPAL, ArgIndex); in DoPromotion() 844 AttrBuilder B(CallPAL, ArgIndex); in DoPromotion()
|
D | FunctionAttrs.cpp | 256 AttrBuilder B; in addReadAttrs() 533 AttrBuilder B; in addArgumentAttrs() 600 AttrBuilder B; in addArgumentAttrs() 702 AttrBuilder B, R; in addArgumentAttrs()
|
D | Inliner.cpp | 95 AttrBuilder B; in AdjustCallerSSPLevel()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 542 AttrBuilder CallerAttrs(F->getAttributes(), in returnTypeIsEligibleForTailCall() 544 AttrBuilder CalleeAttrs(cast<CallInst>(I)->getAttributes(), in returnTypeIsEligibleForTailCall()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 2098 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall() 2139 if (AttrBuilder(CallerPAL.getParamAttributes(i + 1), i + 1). in transformConstExprCastCall() 2209 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall() 2231 AttrBuilder PAttrs(CallerPAL.getParamAttributes(i + 1), i + 1); in transformConstExprCastCall() 2259 AttrBuilder PAttrs(CallerPAL.getParamAttributes(i + 1), i + 1); in transformConstExprCastCall() 2411 AttrBuilder B(Attr, Idx); in transformCallThroughTrampoline()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1424 llvm::AttrBuilder &FuncAttrs, in AddAttributesFromFunctionProtoType() 1439 llvm::AttrBuilder FuncAttrs; in ConstructAttributeList() 1440 llvm::AttrBuilder RetAttrs; in ConstructAttributeList() 1645 llvm::AttrBuilder SRETAttrs; in ConstructAttributeList() 1655 llvm::AttrBuilder Attrs; in ConstructAttributeList() 1667 llvm::AttrBuilder Attrs; in ConstructAttributeList() 1970 llvm::AttrBuilder Attrs; in EmitFunctionProlog() 2006 llvm::AttrBuilder Attrs; in EmitFunctionProlog()
|
D | CodeGenModule.cpp | 800 llvm::AttrBuilder B; in SetLLVMFunctionAttributesForDefinition() 1822 llvm::AttrBuilder B(ExtraAttrs, llvm::AttributeSet::FunctionIndex); in GetOrCreateLLVMFunction()
|
/external/llvm/lib/Transforms/Scalar/ |
D | PlaceSafepoints.cpp | 862 AttrBuilder AttrsToRemove; in ReplaceWithStatepoint()
|
D | RewriteStatepointsForGC.cpp | 1294 AttributeSet::get(AS.getContext(), Index, AttrBuilder(Attr))); in legalizeCallAttributes() 2495 AttrBuilder R; in RemoveNonValidAttrAtIndex()
|
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 513 AttrBuilder AB; in TEST()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | SafeStack.cpp | 687 AttrBuilder B; in runOnFunction()
|
D | MemorySanitizer.cpp | 2445 AttrBuilder B; in visitCallSite() 3312 AttrBuilder B; in runOnFunction()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1141 static void decodeLLVMAttributesForBitcode(AttrBuilder &B, in decodeLLVMAttributesForBitcode() 1194 AttrBuilder B; in parseAttributeBlock() 1374 AttrBuilder B; in parseAttributeGroupBlock()
|