/external/llvm/include/llvm/IR/ |
D | Attributes.h | 30 class AttrBuilder; variable 226 friend class AttrBuilder; 261 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B); 425 class AttrBuilder { 433 AttrBuilder() : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0) {} 434 explicit AttrBuilder(uint64_t Val) 438 AttrBuilder(const Attribute &A) 442 AttrBuilder(AttributeSet AS, unsigned Idx); 447 AttrBuilder &addAttribute(Attribute::AttrKind Val); 450 AttrBuilder &addAttribute(Attribute A); [all …]
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 658 const AttrBuilder &B) { in get() 688 for (const AttrBuilder::td_type &TDA : B.td_attrs()) in get() 743 llvm::AttrBuilder B; in addAttribute() 750 llvm::AttrBuilder B; in addAttribute() 785 AttrBuilder B(AS, Index); in addAttributes() 838 AttrBuilder B(AS, Index); in removeAttributes() 857 llvm::AttrBuilder B; in addDereferenceableAttr() 865 llvm::AttrBuilder B; in addDereferenceableOrNullAttr() 1038 AttrBuilder::AttrBuilder(AttributeSet AS, unsigned Index) in AttrBuilder() function in AttrBuilder 1055 void AttrBuilder::clear() { in clear() [all …]
|
D | Core.cpp | 1715 AttrBuilder B(PA); in LLVMAddFunctionAttr() 1728 AttrBuilder B; in LLVMAddTargetDependentFunctionAttr() 1738 AttrBuilder B(PA); in LLVMRemoveFunctionAttr() 1812 AttrBuilder B(PA); in LLVMAddAttribute() 1818 AttrBuilder B(PA); in LLVMRemoveAttribute() 1831 AttrBuilder B; in LLVMSetParamAlignment() 2037 AttrBuilder B(PA); in LLVMAddInstrAttribute() 2047 AttrBuilder B(PA); in LLVMRemoveInstrAttribute() 2057 AttrBuilder B; in LLVMSetInstrParamAlignment()
|
D | Function.cpp | 188 AttrBuilder B(AS, AS.getSlotIndex(0)); in addAttr() 198 AttrBuilder B(AS, AS.getSlotIndex(0)); in removeAttr()
|
D | Verifier.cpp | 1352 Assert(!AttrBuilder(Attrs, Idx) in VerifyParameterAttrs() 2221 static AttrBuilder getParameterABIAttributes(int I, AttributeSet Attrs) { in getParameterABIAttributes() 2225 AttrBuilder Copy; in getParameterABIAttributes() 2269 AttrBuilder CallerABIAttrs = getParameterABIAttributes(I, CallerAttrs); in verifyMustTailCall() 2270 AttrBuilder CalleeABIAttrs = getParameterABIAttributes(I, CalleeAttrs); in verifyMustTailCall()
|
D | Instructions.cpp | 342 AttrBuilder B(attr); in removeAttribute() 614 AttrBuilder B(attr); in removeAttribute()
|
/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 | 135 std::map<unsigned, AttrBuilder> NumberedAttrBuilders; 216 bool ParseOptionalParamAttrs(AttrBuilder &B); 217 bool ParseOptionalReturnAttrs(AttrBuilder &B); 269 bool ParseFnAttributeValuePairs(AttrBuilder &B,
|
D | LLParser.cpp | 62 AttrBuilder B; in ValidateEndOfModule() 70 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule() 90 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule() 101 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule() 861 bool LLParser::ParseFnAttributeValuePairs(AttrBuilder &B, in ParseFnAttributeValuePairs() 1204 bool LLParser::ParseOptionalParamAttrs(AttrBuilder &B) { in ParseOptionalParamAttrs() 1283 bool LLParser::ParseOptionalReturnAttrs(AttrBuilder &B) { in ParseOptionalReturnAttrs() 1817 AttrBuilder ArgAttrs; in ParseParameterList() 1868 AttrBuilder Attrs; in ParseArgumentList() 4043 AttrBuilder RetAttrs; in ParseFunctionHeader() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 767 AttrBuilder B(PAL, i + 1); in RemoveDeadStuffFromFunction() 854 AttrBuilder(RAttrs, AttributeSet::ReturnIndex). in RemoveDeadStuffFromFunction() 859 assert(!AttrBuilder(RAttrs, AttributeSet::ReturnIndex). in RemoveDeadStuffFromFunction() 908 AttrBuilder(RAttrs, AttributeSet::ReturnIndex). in RemoveDeadStuffFromFunction() 927 AttrBuilder B(CallPAL, i + 1); in RemoveDeadStuffFromFunction() 944 AttrBuilder B(CallPAL, i + 1); in RemoveDeadStuffFromFunction()
|
D | PruneEH.cpp | 143 AttrBuilder NewAttributes; in runOnSCC()
|
D | ArgumentPromotion.cpp | 632 AttrBuilder B(attrs, ArgIndex); in DoPromotion() 763 AttrBuilder B(CallPAL, ArgIndex); in DoPromotion() 829 AttrBuilder B(CallPAL, ArgIndex); in DoPromotion()
|
D | FunctionAttrs.cpp | 281 AttrBuilder B; in AddReadAttrs() 538 AttrBuilder B; in AddArgumentAttrs() 608 AttrBuilder B; in AddArgumentAttrs() 706 AttrBuilder B; in AddArgumentAttrs()
|
D | Inliner.cpp | 94 AttrBuilder B; in AdjustCallerSSPLevel()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 1498 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall() 1542 if (AttrBuilder(CallerPAL.getParamAttributes(i + 1), i + 1). in transformConstExprCastCall() 1613 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall() 1638 AttrBuilder PAttrs(CallerPAL.getParamAttributes(i + 1), i + 1); in transformConstExprCastCall() 1666 AttrBuilder PAttrs(CallerPAL.getParamAttributes(i + 1), i + 1); in transformConstExprCastCall() 1815 AttrBuilder B(Attr, Idx); in transformCallThroughTrampoline()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 538 AttrBuilder CallerAttrs(F->getAttributes(), in returnTypeIsEligibleForTailCall() 540 AttrBuilder CalleeAttrs(cast<CallInst>(I)->getAttributes(), in returnTypeIsEligibleForTailCall()
|
D | CodeGenPrepare.cpp | 1511 if (AttrBuilder(CalleeAttrs, AttributeSet::ReturnIndex). in DupRetToEnableTailCallOpts() 1513 AttrBuilder(CalleeAttrs, AttributeSet::ReturnIndex). in DupRetToEnableTailCallOpts()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1388 llvm::AttrBuilder FuncAttrs; in ConstructAttributeList() 1389 llvm::AttrBuilder RetAttrs; in ConstructAttributeList() 1551 llvm::AttrBuilder SRETAttrs; in ConstructAttributeList() 1561 llvm::AttrBuilder Attrs; in ConstructAttributeList() 1573 llvm::AttrBuilder Attrs; in ConstructAttributeList() 1856 llvm::AttrBuilder Attrs; in EmitFunctionProlog() 1892 llvm::AttrBuilder Attrs; in EmitFunctionProlog()
|
D | CodeGenModule.cpp | 709 llvm::AttrBuilder B; in SetLLVMFunctionAttributesForDefinition() 1597 llvm::AttrBuilder B(ExtraAttrs, llvm::AttributeSet::FunctionIndex); in GetOrCreateLLVMFunction()
|
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 513 AttrBuilder AB; in TEST()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 980 static void decodeLLVMAttributesForBitcode(AttrBuilder &B, in decodeLLVMAttributesForBitcode() 1033 AttrBuilder B; in ParseAttributeBlock() 1201 AttrBuilder B; in ParseAttributeGroupBlock()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 2401 AttrBuilder B; in visitCallSite() 2989 AttrBuilder B; in runOnFunction()
|
D | DataFlowSanitizer.cpp | 683 AttrBuilder B; in runOnModule()
|
/external/llvm/lib/Transforms/Scalar/ |
D | RewriteStatepointsForGC.cpp | 1043 AttributeSet::get(AS.getContext(), index, AttrBuilder(attr))); in legalizeCallAttributes()
|