Lines Matching defs:DFSanFunction

419   friend struct DFSanFunction;
581 struct DFSanFunction {
618 DFSanFunction(DataFlowSanitizer &DFS, Function *F, bool IsNativeABI,
787 DFSanFunction &DFSF;
789 DFSanVisitor(DFSanFunction &DFSF) : DFSF(DFSF) {}
976 bool DFSanFunction::shouldInstrumentWithCall() {
981 Value *DFSanFunction::expandFromPrimitiveShadow(Type *T, Value *PrimitiveShadow,
1003 Value *DFSanFunction::collapseAggregateShadow(AggregateType *AT, Value *Shadow,
1019 Value *DFSanFunction::collapseToPrimitiveShadow(Value *Shadow,
1031 Value *DFSanFunction::collapseToPrimitiveShadow(Value *Shadow,
1049 void DFSanFunction::addConditionalCallbacksIfEnabled(Instruction &I,
1067 void DFSanFunction::addReachesFunctionCallbacksIfEnabled(IRBuilder<> &IRB,
1695 DFSanFunction DFSF(*this, F, FnsWithNativeABI.count(F),
1749 for (DFSanFunction::PHIFixupElement &P : DFSF.PHIFixups) {
1789 Value *DFSanFunction::getArgTLS(Type *T, unsigned ArgOffset, IRBuilder<> &IRB) {
1796 Value *DFSanFunction::getRetvalTLS(Type *T, IRBuilder<> &IRB) {
1801 Value *DFSanFunction::getRetvalOriginTLS() { return DFS.RetvalOriginTLS; }
1803 Value *DFSanFunction::getArgOriginTLS(unsigned ArgNo, IRBuilder<> &IRB) {
1808 Value *DFSanFunction::getOrigin(Value *V) {
1833 void DFSanFunction::setOrigin(Instruction *I, Value *Origin) {
1841 Value *DFSanFunction::getShadowForTLSArgument(Argument *A) {
1872 Value *DFSanFunction::getShadow(Value *V) {
1891 void DFSanFunction::setShadow(Instruction *I, Value *Shadow) {
1961 Value *DFSanFunction::combineShadowsThenConvert(Type *T, Value *V1, Value *V2,
1969 Value *DFSanFunction::combineShadows(Value *V1, Value *V2,
2031 Value *DFSanFunction::combineOperandShadows(Instruction *Inst) {
2050 Value *DFSanFunction::combineOrigins(const std::vector<Value *> &Shadows,
2079 Value *DFSanFunction::combineOperandOrigins(Instruction *Inst) {
2097 Align DFSanFunction::getShadowAlign(Align InstAlignment) {
2102 Align DFSanFunction::getOriginAlign(Align InstAlignment) {
2107 bool DFSanFunction::isLookupTableConstant(Value *P) {
2115 bool DFSanFunction::useCallbackLoadLabelAndOrigin(uint64_t Size,
2147 std::pair<Value *, Value *> DFSanFunction::loadShadowFast(
2234 std::pair<Value *, Value *> DFSanFunction::loadShadowOriginSansLoadTracking(
2333 DFSanFunction::loadShadowOrigin(Value *Addr, uint64_t Size, Align InstAlignment,
2454 Value *DFSanFunction::updateOriginIfTainted(Value *Shadow, Value *Origin,
2460 Value *DFSanFunction::updateOrigin(Value *V, IRBuilder<> &IRB) {
2466 Value *DFSanFunction::originToIntptr(IRBuilder<> &IRB, Value *Origin) {
2477 void DFSanFunction::paintOrigin(IRBuilder<> &IRB, Value *Origin,
2512 Value *DFSanFunction::convertToBool(Value *V, IRBuilder<> &IRB,
2522 void DFSanFunction::storeOrigin(BasicBlock::iterator Pos, Value *Addr,
2553 void DFSanFunction::storeZeroPrimitiveShadow(Value *Addr, uint64_t Size,
2566 void DFSanFunction::storePrimitiveShadowOrigin(Value *Addr, uint64_t Size,