| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| Attributes.h | 254 class AttributeSet { 266 explicit AttributeSet(AttributeSetNode *ASN) : SetNode(ASN) {} 269 /// AttributeSet is a trivially copyable value type. 270 AttributeSet() = default; 271 AttributeSet(const AttributeSet &) = default; 272 ~AttributeSet() = default; 274 static AttributeSet get(LLVMContext &C, const AttrBuilder &B); 275 static AttributeSet get(LLVMContext &C, ArrayRef<Attribute> Attrs); 277 bool operator==(const AttributeSet &O) const { return SetNode == O.SetNode; [all...] |
| GlobalVariable.h | 43 AttributeSet Attrs; 223 AttributeSet getAttributes() const { 233 std::pair<unsigned, AttributeSet> AS[1] = {{index, Attrs}}; 238 void setAttributes(AttributeSet A) {
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ |
| ReduceAttributes.cpp | 68 const AttributeSet &AS = GV.getAttributes(); 97 void visitAttributeSet(const AttributeSet &AS, 130 for (const AttributeSet &AS : AL) 134 void visitAttributeSet(const AttributeSet &AS) { 141 AttributeSet 147 return AttributeSet::get(C, B); 152 std::vector<std::pair<unsigned, AttributeSet>> SetVec; 161 sort(SetVec, [](const std::pair<unsigned, AttributeSet> &LHS, 162 const std::pair<unsigned, AttributeSet> &RHS) {
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| Attributes.cpp | 726 // AttributeSet Definition 729 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { 730 return AttributeSet(AttributeSetNode::get(C, B)); 733 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { 734 return AttributeSet(AttributeSetNode::get(C, Attrs)); 737 AttributeSet AttributeSet::addAttribute(LLVMContext &C, 742 return addAttributes(C, AttributeSet::get(C, B)) [all...] |
| AttributeImpl.h | 285 private TrailingObjects<AttributeListImpl, AttributeSet> { 297 size_t numTrailingObjects(OverloadToken<AttributeSet>) { return NumAttrSets; } 300 AttributeListImpl(ArrayRef<AttributeSet> Sets); 306 /// Return true if the AttributeSet or the FunctionIndex has an 318 using iterator = const AttributeSet *; 320 iterator begin() const { return getTrailingObjects<AttributeSet>(); } 324 static void Profile(FoldingSetNodeID &ID, ArrayRef<AttributeSet> Nodes);
|
| AsmWriter.cpp | 753 DenseMap<AttributeSet, unsigned> asMap; 796 int getAttributeGroupSlot(AttributeSet AS); 823 /// AttributeSet map iterators. 824 using as_iterator = DenseMap<AttributeSet, unsigned>::iterator; 849 /// Insert the specified AttributeSet into the slot table. 850 void CreateAttributeSetSlot(AttributeSet AS); 1023 AttributeSet FnAttrs = F.getAttributes().getFnAttributes(); 1061 AttributeSet Attrs = Call->getAttributes().getFnAttributes(); 1179 int SlotTracker::getAttributeGroupSlot(AttributeSet AS) { 1183 // Find the AttributeSet in the module map [all...] |
| Verifier.cpp | 210 void Write(const AttributeSet *AS) { 542 void verifyAttributeTypes(AttributeSet Attrs, bool IsFunction, 544 void verifyParameterAttrs(AttributeSet Attrs, Type *Ty, const Value *V); 1720 void Verifier::verifyAttributeTypes(AttributeSet Attrs, bool IsFunction, 1764 void Verifier::verifyParameterAttrs(AttributeSet Attrs, Type *Ty, 1836 AttributeSet::get(Context, IncompatibleAttrs).getAsString(), 1917 AttributeSet RetAttrs = Attrs.getRetAttributes(); 1946 AttributeSet ArgAttrs = Attrs.getParamAttributes(i); 2262 AttributeSet ArgAttrs = Attrs.getParamAttributes(5 + i); 3238 AttributeSet ArgAttrs = Attrs.getParamAttributes(Idx) [all...] |
| Function.cpp | 156 static Type *getMemoryParamAllocType(AttributeSet ParamAttrs, Type *ArgTy) { 180 AttributeSet ParamAttrs = 188 AttributeSet ParamAttrs =
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| DeadArgumentElimination.cpp | 189 SmallVector<AttributeSet, 8> ArgAttrs; 749 SmallVector<AttributeSet, 8> ArgAttrVec; 852 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); 855 AttributeSet FnAttrs = PAL.getFnAttributes().removeAttribute( 893 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs); 905 AttributeSet Attrs = CallPAL.getParamAttributes(Pi); 912 ArgAttrVec.push_back(AttributeSet::get( 932 AttributeSet FnAttrs = CallPAL.getFnAttributes().removeAttribute [all...] |
| ArgumentPromotion.cpp | 134 SmallVector<AttributeSet, 8> ArgAttrVec; 147 AttributeSet()); 203 ArgAttrVec.push_back(AttributeSet()); 279 ArgAttrVec.push_back(AttributeSet()); 322 ArgAttrVec.push_back(AttributeSet());
|
| Attributor.cpp | 1710 SmallVector<AttributeSet, 16> NewArgumentAttributes; 1720 AttributeSet()); 1782 SmallVector<AttributeSet, 16> NewArgOperandAttributes; 1796 AttributeSet());
|
| WholeProgramDevirt.cpp | 1350 std::vector<AttributeSet> NewArgAttrs; 1351 NewArgAttrs.push_back(AttributeSet::get(
|
| /src/external/apache2/llvm/dist/llvm/tools/bugpoint-passes/ |
| TestPasses.cpp | 146 AttributeSet A = F.getAttributes().getFnAttributes();
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| CallPromotionUtils.cpp | 476 SmallVector<AttributeSet, 4> NewArgAttrs; 499 NewArgAttrs.push_back(AttributeSet::get(Ctx, ArgAttrs)); 518 AttributeSet::get(Ctx, RAttrs),
|
| FunctionComparator.cpp | 114 AttributeSet LAS = L.getAttributes(i); 115 AttributeSet RAS = R.getAttributes(i); 116 AttributeSet::iterator LI = LAS.begin(), LE = LAS.end(); 117 AttributeSet::iterator RI = RAS.begin(), RE = RAS.end();
|
| CloneFunction.cpp | 113 SmallVector<AttributeSet, 4> NewArgAttrs(NewFunc->arg_size());
|
| InlineFunction.cpp | 2098 SmallVector<AttributeSet, 4> VarArgsAttrs; 2131 SmallVector<AttributeSet, 8> ArgAttrs;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/ |
| LLParser.h | 495 AttributeSet Attrs; 496 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) 548 AttributeSet Attrs; 550 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N)
|
| /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/ |
| ValueEnumerator.h | 52 using IndexAndAttrSet = std::pair<unsigned, AttributeSet>;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| TargetLibraryInfo.h | 230 AttributeSet FnAttrs = (*F)->getAttributes().getFnAttributes();
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| WebAssemblyLowerEmscriptenEHSjLj.cpp | 437 SmallVector<AttributeSet, 8> ArgAttributes; 441 ArgAttributes.push_back(AttributeSet()); 461 AttributeList::get(C, AttributeSet::get(C, FnAttrs),
|
| /src/external/apache2/llvm/dist/llvm/lib/AsmParser/ |
| LLParser.cpp | 156 AttributeSet::get(Context, FnAttrs)); 164 AttributeSet::get(Context, FnAttrs)); 172 AttributeSet::get(Context, FnAttrs)); 180 AttributeSet::get(Context, FnAttrs)); 185 GV->setAttributes(AttributeSet::get(Context,Attrs)); 1237 GV->setAttributes(AttributeSet::get(Context, Attrs)); 2703 ArgLoc, V, AttributeSet::get(V->getContext(), ArgAttrs))); 2849 AttributeSet::get(ArgTy->getContext(), Attrs), 2885 AttributeSet::get(ArgTy->getContext(), Attrs), 5872 SmallVector<AttributeSet, 8> Attrs [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| InstCombineCalls.cpp | 2613 SmallVector<AttributeSet, 8> ArgAttrs; 2638 ArgAttrs.push_back(AttributeSet::get(Ctx, AB)); 2647 ArgAttrs.push_back(AttributeSet()); 2672 AttributeSet FnAttrs = CallerPAL.getFnAttributes(); 2680 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); 2767 AttributeSet NestAttr; 2773 AttributeSet AS = NestAttrs.getParamAttributes(NestArgNo); 2784 std::vector<AttributeSet> NewArgAttrs;
|
| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/ |
| DWARFVerifier.cpp | 262 SmallDenseSet<uint16_t> AttributeSet; 264 auto Result = AttributeSet.insert(Attribute.Attr);
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGCall.cpp | 2300 SmallVector<llvm::AttributeSet, 4> ArgAttrs(IRFunctionArgs.totalIRArgs()); 2311 llvm::AttributeSet::get(getLLVMContext(), SRETAttrs); 2319 llvm::AttributeSet::get(getLLVMContext(), Attrs); 2357 ArgAttrs[IRArgs.first] = llvm::AttributeSet::get(getLLVMContext(), Attrs); 2372 llvm::AttributeSet::get( 2518 llvm::AttributeSet::get(getLLVMContext(), Attrs); 2524 getLLVMContext(), llvm::AttributeSet::get(getLLVMContext(), FuncAttrs), 2525 llvm::AttributeSet::get(getLLVMContext(), RetAttrs), ArgAttrs);
|